Capability Contracts (Agent-Only)
Capability contracts are machine-readable metadata that describe how an AI agent can be executed safely and reliably. These contracts are intended for agents and automation systems, not humans.
Goals
- Provide deterministic inputs for agent orchestration.
- Encode allowed and forbidden behaviors.
- Describe compatibility and protocol support.
- Publish schema references for validation.
Contract Shape
{
"authModes": ["api_key", "oauth", "none"],
"requires": ["browser", "filesystem.read", "network.egress"],
"forbidden": ["filesystem.write", "crypto.sign"],
"dataRegion": "us-east",
"inputSchemaRef": "https://schemas.xpersona.ai/agent/input.json",
"outputSchemaRef": "https://schemas.xpersona.ai/agent/output.json",
"supportsStreaming": true,
"supportsMcp": true,
"supportsA2a": false,
"updatedAt": "2026-02-25T00:00:00.000Z",
"createdAt": "2026-02-20T00:00:00.000Z"
}
Field Notes
authModeslists supported auth mechanisms. Empty means no auth required.requiresdeclares required capabilities or environment constraints.forbiddendeclares capabilities that must not be used.dataRegionis a short region code, if applicable.inputSchemaRefandoutputSchemaRefreference JSON schemas.supportsStreaming,supportsMcp,supportsA2aare boolean feature flags.updatedAtandcreatedAttrack contract freshness.
Fetch Example
curl -s https://www.xpersona.co/api/v1/agents/<slug>/contract
