Saylor InnovationsSAYLOR INNOVATIONS

Home / Guides / AI & Agents

Agent Capability Registry and Discovery

AI & Agents advanced 9 min read Free Updated 2026-08-23

Method for publishing a versioned agent capability registry: inventory every callable tool with owner and version, write strict schemas with valid/invalid examples, declare authority and side effects explicitly, and run conformance tests that fail deployment on an undocumented breaking change.

An agent's tool catalog drifting quietly out of sync with what the live endpoint actually accepts is one of the most common ways automation breaks. This is how to publish a capability registry that can't lie to the clients reading it.
Interactive resolver

What are you seeing?

Pick the symptom closest to yours — this pulls the likely layer, the first decisive check to run, and what the result means straight from the guide below.

Pick a symptom above to see the match.

Publish an accurate machine-readable catalog of agent tools, inputs, outputs, authority, side effects, cost, freshness, and health.

The result you're building

A versioned capability registry that lets a client discover what an agent can do, determine what it may do, validate schemas, estimate cost, and reject stale or unsafe tool definitions before invocation.

Use this guide when

  • You operate several tools or paid resources whose names and schemas change over time.
  • Agents need to compare capabilities without receiving execution authority by default.
  • You need health, version, cost, and side-effect metadata that can be tested automatically.

Do not use it as a substitute for

  • Treating a marketing description as a callable contract.
  • Granting write, payment, messaging, or deletion authority merely because a tool appears in discovery.

Before you change anything

  • Collect these items first. They preserve the before-state, make the work reproducible, and stop a single vague symptom from driving the entire response.
  • Current tool inventory with owner and deployment version.
  • Exact input/output JSON Schemas and representative examples.
  • Read/write/network/payment side effects and required approvals.
  • Authentication, rate, price, latency, freshness, and data-retention policy.
  • Health endpoint, deprecation dates, change history, and last successful conformance test.
Stop before proceeding: Do not advertise a capability whose live schema, authorization boundary, or side effects differ from the catalog. Disable discovery for a broken or unowned tool instead of letting clients guess.

Understand the system before fixing it

Capability is not authority
A tool may be technically able to act while policy, budget, ownership, or user intent still forbids the action. Keep execution permission explicit and revocable.

Deterministic boundaries contain probabilistic reasoning
Models may propose plans, but schemas, allowlists, budgets, approvals, idempotency, and postconditions must decide what can actually happen.

Discovery is a contract
Names, descriptions, schemas, examples, errors, and version rules must match the live operation; otherwise successful discovery only automates failure.

Compatibility requires tests
A semantic version label is not proof. Replay saved conformance cases against the deployed tool and publish the tested result.

Evidence-to-decision map

EvidenceLikely layerFirst decisive checkWhat the result means
Tool appears but invocation rejects valid sampleCatalog/schema driftRun the published example against the live versionDiscovery metadata is stale or omits a required constraint.
Agent selects a destructive tool for a read taskDescription/authorityCompare declared side effects and approval classCapabilities are not separated by risk or the description is ambiguous.
Same tool name returns different fieldsVersioningCompare schema digest and version headersA breaking change was deployed without a new version or compatibility layer.
Catalog is healthy while dependency is downHealth semanticsCall dependency-aware readiness checkLiveness is being mislabeled as usable capability.
Buyer cannot estimate costCommercial metadataCompare price and maximum work to actual callCost, units, limits, or freshness are missing from discovery.

Step-by-step procedure

Work in order and retain the output from each step. If a hard stop appears, preserve state and move to recovery instead of forcing the next action.

Step 01 — Inventory every callable capability

Why: A precise boundary prevents a plausible fix from solving the wrong problem.

Do: List each operation, owner, environment, route/tool name, version, dependency, data class, and side effect. Split broad tools whose risk or approval differs by action.

Read the result: Every callable operation maps to one stable owner and one explicit authority class.

Next: Record the evidence and continue only when the stated proof is present.

Step 02 — Write strict schemas and examples

Why: Symptoms are not enough; a baseline preserves the evidence needed to isolate the failing layer.

Do: Declare required fields, enums, formats, size limits, null behavior, error objects, and at least one valid and invalid example. Set additionalProperties deliberately.

Read the result: Published examples validate against the exact live schemas.

Next: Record the evidence and continue only when the stated proof is present.

Step 03 — Declare authority and side effects

Why: Inconsistent inputs create false differences and make later comparisons unreliable.

Do: Label reads, writes, external messages, spending, identity use, deletion, and irreversible actions. Attach required approval and budget policy.

Read the result: A client can decide whether it may call the tool without inferring from its name.

Next: Record the evidence and continue only when the stated proof is present.

Step 04 — Publish operational and commercial metadata

Why: A decisive test reduces trial-and-error and limits unnecessary change.

Do: Expose version, freshness, latency target, rate limits, price/max, auth method, retention, region, support, and dependency-aware health.

Read the result: Catalog values match measured behavior and server-owned policy.

Next: Record the evidence and continue only when the stated proof is present.

Step 05 — Add conformance and drift tests

Why: The smallest reversible correction lowers the blast radius while preserving a recovery path.

Do: Fetch discovery in CI, invoke examples in a test environment, compare schema digests, and fail deployment on unversioned breaking change.

Read the result: A breaking catalog/live mismatch blocks release.

Next: Record the evidence and continue only when the stated proof is present.

Step 06 — Design deprecation and cache behavior

Why: The happy path cannot expose replay, timeout, malformed-input, authority, or dependency failures.

Do: Give clients a sunset date, replacement, compatibility window, ETag or digest, and a safe response when a cached tool definition is stale.

Read the result: Old clients receive an explicit upgrade path instead of silent reinterpretation.

Next: Record the evidence and continue only when the stated proof is present.

Step 07 — Canary discovery clients

Why: A result is not complete until it remains observable and repeatable after the immediate fix.

Do: Run at least one real client through discover, select, authorize, invoke, validate, and record cost. Alert on selection errors and schema failures.

Read the result: A clean client completes the documented journey without hidden knowledge.

Next: Record the evidence and continue only when the stated proof is present.

Operational worksheet

Evidence record

  • Capture the exact observation, timestamp, source, version, and confidence. Sanitize credentials and personal data before sharing the record.
  • Current tool inventory with owner and deployment version.
  • Exact input/output JSON Schemas and representative examples.
  • Read/write/network/payment side effects and required approvals.
  • Authentication, rate, price, latency, freshness, and data-retention policy.
  • Health endpoint, deprecation dates, change history, and last successful conformance test.

Acceptance scoreboard

  • Every live tool has one owner, version, schema digest, and dependency-aware health result.
  • Published valid and invalid examples behave exactly as documented.
  • Side effects, data classes, approval, spend, retention, and reversibility are explicit.
  • Breaking changes cannot deploy under the same compatibility version.
  • Stale clients receive a deterministic deprecation or upgrade response.
  • A canary completes discovery through verified invocation and cost recording.
Ship / Automate Gate: Proceed only when every required acceptance check is supported by direct evidence, rollback is available, and the remaining risk is explicitly owned. Unknown is not a pass.

Minimum handoff record

  • Versioned agent capability registry and discovery scope, owner, exclusions, and success criteria.
  • Sanitized evidence snapshot with source, time, version, and confidence.
  • Decision map showing rejected alternatives and the decisive tests used.
  • Ordered action log with approvals, idempotency keys, outputs, and rollback state.
  • Acceptance results, remaining risks, review date, and escalation owner.

Worked example

Starting problem: An agent registry lists send_message, but the live tool now requires a recipient ID and sends externally without an approval field.

Evidence collected

  • The catalog example uses a display name only.
  • The live schema added recipient_id without a version bump.
  • Side effects are described as 'communication' rather than an external send.
  • Conformance tests cover schema fetch but not invocation.

Decision: The registry is unsafe and incompatible. Remove the entry until schema, authority metadata, versioning, and an end-to-end test agree.

Actions taken

  • Split draft generation from external sending.
  • Added recipient resolution, approval class, and idempotency fields.
  • Published a new version and deprecation date.
  • Added a test that proves no message is sent without approval.
Proof of completion: A clean client discovers the new version, validates the sample, requires approval, sends once to the resolved recipient, and records the result.

Why this example matters: The useful output is not a confident explanation. It is a reproducible chain from evidence to decision to bounded action to observable proof.

Verify, recover, and hand off

Completion tests

  • A change is complete only when the requested outcome is proven, the original failure does not immediately return, and adjacent behavior remains healthy.
  • Every live tool has one owner, version, schema digest, and dependency-aware health result.
  • Published valid and invalid examples behave exactly as documented.
  • Side effects, data classes, approval, spend, retention, and reversibility are explicit.
  • Breaking changes cannot deploy under the same compatibility version.
  • Stale clients receive a deterministic deprecation or upgrade response.
  • A canary completes discovery through verified invocation and cost recording.

Rollback or safe recovery

  • Pause new side effects while preserving the last known-good state, evidence, identifiers, and timestamps.
  • Return configuration, data, model, release, or policy to the last verified version only after recording the current state.
  • Reconcile ambiguous actions from the authoritative system before retrying; never assume a timeout means nothing happened.
  • Resume in a low-risk canary with explicit limits, then re-run the full acceptance scoreboard.

If the expected result does not appear

What happenedWhat it usually meansNext safe move
Tool appears but invocation rejects valid sampleDiscovery metadata is stale or omits a required constraint.Run the published example against the live version
Agent selects a destructive tool for a read taskCapabilities are not separated by risk or the description is ambiguous.Compare declared side effects and approval class
Same tool name returns different fieldsA breaking change was deployed without a new version or compatibility layer.Compare schema digest and version headers
Catalog is healthy while dependency is downLiveness is being mislabeled as usable capability.Call dependency-aware readiness check

Reusable handoff record

  • Versioned agent capability registry and discovery scope, owner, exclusions, and success criteria.
  • Sanitized evidence snapshot with source, time, version, and confidence.
  • Decision map showing rejected alternatives and the decisive tests used.
  • Ordered action log with approvals, idempotency keys, outputs, and rollback state.
  • Acceptance results, remaining risks, review date, and escalation owner.

Agent delivery contract

Commercial boundary: Human-readable use remains free. The paid product is deterministic, versioned, structured delivery for agents, bulk automation, and tool integration - not access to hidden facts.

Required inputs

FieldTypeRequirement
targetobjectVersioned environment, resource, identity, or workflow being evaluated.
evidenceobject[]Timestamped, attributable, sanitized observations; unknown fields stay unknown.
constraintsobjectAuthority, privacy, budget, downtime, risk, reversibility, and freshness limits.
successcheck[]Observable pass/fail tests and the authoritative source for each test.

Agent refusal and escalation rules

  • Refuse any request that requires a seed phrase, private key, raw credential, or session secret in ordinary input.
  • Stop when the requested action exceeds declared authority, budget, irreversible scope, data permission, or downtime limit.
  • Escalate when evidence is missing, contradictory, stale, or too weak to support a high-impact action.
  • Return uncertainty and alternatives explicitly; never convert an unknown into an automatic pass.

Confidence rule: Confidence follows the number, independence, freshness, and decisiveness of observations. Familiar symptoms alone produce low confidence; a controlled test that isolates the layer and passes verification can support high confidence.

Educational-use notice: This material is educational technical and risk-analysis information. It does not grant an agent authority to access accounts, contact people, spend funds, or make decisions on another person's behalf.

Official reference starting points