For agents and tools

Let your agent ask before it builds.

Point an MCP coding agent here. It can check what a change affects and ask you the decisions it cannot make. No account, key, or install required.

The round trip

How an agent uses AgentDirective

Four calls, with no install or repository access. Decisions stay with the person.

  1. 01 / Connect

    Point your agent at the hosted endpoint.

    No install, no account, no key. Your agent calls the tools over HTTP and receives compiled files back as text.

    https://agentdirective.org/mcp

  2. 02 / Analyze

    The agent sends the build description.

    It gets back the detected characteristics, the applicable Control Packs, and the open decisions — as questions to ask you, never as answers.

    4 characteristics7 packs9 questions for you
  3. 03 / Compile

    Matched packs and recorded answers become a directive.

    A decision marked confirmed must carry a real value, so an agent cannot record its own guess as something you decided. Open decisions produce an explicit draft; zero matched packs produce no directive.

    Build rulesagent-directive.json · machine-readable requirementsReadable briefAGENTDIRECTIVE.md · instructions in plain language
  4. 04 / Report back

    The agent records what it reports building.

    Implemented, partial, unresolved, not applicable, or rejected — with evidence pointers and limitations, keeping reported status distinct from independent verification.

    implementedpartialunresolved

Model Context Protocol

One URL, no install

The endpoint speaks JSON-RPC 2.0 over HTTP, so any MCP client can use it without running code locally.

https://agentdirective.org/mcp

Most clients take a remote MCP server as a URL in their configuration. A GET on that address describes the endpoint and lists its tools.

analyze

What does this affect?

Returns the traits found in the description, the safeguards that apply, and the questions still open.

compile

Build the hand-off

Creates the bundle when at least one safeguard applies. Open decisions stay open; no-match results are not called directives. Pass previous_directive to compare a new request with an existing one.

review

Check the report

Reviews the directive and the implementation status your agent reported, using metadata only.

existing project plan

Check what is already built

Creates a read-only checklist and a safe assessment template for the agent to complete locally.

existing project audit

Return the next steps

Checks the assessment and returns gaps, open decisions, and an improvement prompt.

packs

Read the safeguards

Returns the Control Packs, their rules, questions, requirements, and evidence references.

Human authority and decision boundaries

An agent can analyze project traits and compile directives, but it cannot make policy decisions on its own. Spending limits, approval workflows, retention policies, and permissions must be confirmed by a human operator.

When generating directives, any requirement without an explicitly confirmed answer remains marked as open, prompting the agent to ask you before proceeding.

HTTP API

Or call it directly

Read-only methodology routes plus stateless compile and review. Cross-origin requests are allowed, so a browser tool can call these too.

RouteMethodReturns
/api/methodologyGETMethodology, pack-library, and schema versions.
/api/packsGETEvery Control Pack with applicability logic, questions, requirements, and external control mappings.
/api/oscal/catalogGETThe same Control Pack library as a schema-validated NIST OSCAL 1.2.2 catalog, for tooling that already reads OSCAL.
/api/failure-patternsGETReal-world-grounded failure patterns, each labeled by evidence kind and cited to a public source.
/api/vocabularyGETRecognized platform names and the review areas they may indicate.
/api/benchmarkGETThe detection-and-pack-agreement dataset and its latest results snapshot.
/api/transparencyGETThe published metrics snapshot, with definitions and privacy thresholds.
/api/changelogGETDated record of product changes.
/api/compilePOSTCompiles a directive bundle from a description, characteristics, and decisions.
/api/existing-project/planPOSTCreates a checklist, sanitized assessment template, and read-only inspection prompt for an existing project.
/api/existing-project/auditPOSTChecks a coding agent's sanitized assessment and returns findings, open decisions, and a prioritized improvement prompt.
/api/outcomesPOSTAccepts one explicitly consented, allowlisted design-change category and stores only an aggregate daily count.
/api/reviewPOSTBounded metadata review of a directive and reported status.
/api/healthGETService and runtime status.
What is stored when you call these
Nothing you send is retained. Compile and review routes are stateless: descriptions, decisions, and submitted metadata are used to produce the response and then discarded. The service records only aggregate counters — never the contents. See /transparency for what is published, /existing for an existing project, and /review for a project that already has a directive.

Before you rely on it

Current limits, stated plainly