The Trust Stack
The reference implementation of the Open Agent Trust Stack — layered controls from tool verification to policy gates and isolated execution. Guarantees depend on the selected backend and covered execution route; full containment across every entry point is not yet established.
Open Agent Trust Stack
Symbiont is the reference implementation of the Open Agent Trust Stack (OATS) — an open specification (CC BY 4.0) for securing AI agent execution through structural enforcement rather than post-hoc interception. The principle: define what is permitted and make everything else structurally inexpressible. The layers below aren't ad hoc — each maps directly to an OATS layer, grounded in Symbiont's production operational experience.
| OATS Layer | Symbiont implementation |
|---|---|
| Layer 1 ORGA Loop |
Typestate-enforced Observe-Reason-Gate-Act phases — the policy gate is unskippable at compile time. |
| Layer 2 Tool Contracts |
ToolClad .clad.toml manifests plus the agent_summary typestate fence. |
| Layer 3 Identity |
SchemaPin for MCP tools plus AgentPin ES256 domain-anchored agent identity. |
| Layer 4 Policy Engine |
Cedar policy gate plus the CommunicationPolicyGate for inter-agent calls — both fail-closed by default. |
| Layer 5 Audit Journal |
Required protected, hash-chained, Ed25519-signed journals on ordinary and managed CLI, HTTP, scheduled ORGA, and default DSL reasoning routes; other paths are still being migrated. |
The empirical work behind the spec — peer-published and citable:
SchemaPin
MCP tool verification anchored to DNS. Servers publish cryptographic hashes of their tool schemas at a well-known endpoint. Verified MCP routes compare accepted tool definitions with those pins before use, reducing exposure to tool poisoning, schema injection, and silent parameter mutation.
# Discovery: GET https://api.example.com/.well-known/schemapin.json
{
"schema_version": "0.2.0",
"tool_pins": {
"get_weather": {
"hash": "sha256:a1b2c3d4e5f6...89ab",
"description_hash": "sha256:f6e5d4c3b2a1...0987"
}
},
"signing_keys": [{
"kid": "key-2025-03",
"kty": "EC",
"crv": "P-256",
"x": "f83OJ3D2xF1Bg8vub9tLe1gHMzV76e8Tus9uPHvRVEU",
"y": "x_FEzRu9m36HLN_tue659LNpXW6pCyStikYjKIWI5a0"
}]
}
AgentPin
AgentPin provides ES256 credentials for participating agents, anchored to an operator domain. Supported routes can verify the presented identity and provenance rather than relying on a shared display name or secret.
# Issue an agent identity credential $ agentpin issue --kid planner-01 \ --issuer agents.example.com --agent-id planner-01 \ --capabilities "plan,delegate,read:tools" # Output: ES256 JWT credential { "alg": "ES256", "kid": "agents.example.com#planner-01" } { "iss": "agents.example.com", "sub": "planner-01", "iat": 1711036800, "capabilities": ["plan", "delegate", "read:tools"], "sandbox_tier": 2 }
VectorPin
VectorPin can bind selected embedding records to their source content and producing model with signed attestations. A verifier can detect changes to the protected record instead of treating the vector store as an opaque source of truth.
# Pin an embedding at ingestion $ vectorpin sign --key-id prod-2026-05 --model text-embedding-3-large \ --source doc.txt --vector embedding.npy # Output: signed VectorPin attestation { "v": 1, "key_id": "prod-2026-05", "model": "text-embedding-3-large", "source_hash": "sha256:7c4a8d09ca3762af...", "vector_hash": "sha256:e3b0c44298fc1c14...", "alg": "ES256", "sig": "MEUCIQD...=" }
ToolClad
Declarative tool interface contracts that replace wrapper scripts and ad-hoc command construction. Each .clad.toml manifest defines typed parameters, command construction, output parsing, and policy metadata. The LLM supplies parameters; the executor validates them and constructs the command outside the model.
Since v2.0, manifests are strict: unknown or unsupported controls fail the configured tool set. The executor builds canonical argv arrays, enforces network-egress policy, requires exact-call approval for high and critical risk, and validates output schemas fail-closed. Run symbi tools validate when migrating from 1.x.
# tools/nmap_scan.clad.toml [tool] name = "nmap_scan" risk_tier = "low" timeout_seconds = 300 [tool.cedar] resource = "PenTest::ScanTarget" action = "execute_tool" [args.target] type = "scope_target" # validated IP/CIDR/hostname required = true [args.scan_type] type = "enum" allowed = ["ping", "service", "syn"]
Cedar Policy Engine
Formal authorization with Cedar — the same policy language used by AWS Verified Permissions. Covered governed routes evaluate tool calls and other protected effects against a policy set before execution. Policies are version-controlled and auditable; deployments should verify that the entry points they enable are among the covered routes.
// Deny a privileged tool while allowing a safe one
forbid(
principal,
action == Symbi::Action::"tool_call::list_agents",
resource
);
permit(
principal,
action == Symbi::Action::"tool_call::system_health",
resource
);
CommunicationPolicyGate
When configured, the CommunicationPolicyGate evaluates the DSL inter-agent builtins ask, delegate, send_to, parallel, and race before message delivery. Standalone paths without the gate do not inherit that enforcement.
// Example: a worker may not delegate to another agent
forbid(
principal == Agent::"worker",
action == Action::"delegate",
resource
);
Sandboxing and Native Isolation
A named Landlock backend (since v1.21) covers daemon-free, one-shot commands and native Linux development workspaces. The numbered backends remain Tier 1 Docker, Tier 2 gVisor, and Tier 3 Firecracker. Supervised Firecracker guests cover commands, verified MCP sessions, governed terminal sessions, and managed CLI children; each backend has documented prerequisites and route-specific guarantees.
# Create and verify a native Linux project $ symbi init --sandbox landlock --profile assistant --dir my-agent $ cd my-agent $ symbi doctor # Numbered backends: T1 Docker · T2 gVisor · T3 Firecracker
Bounded Files and Recovery
One-shot tools, MCP workers, and terminal sessions receive per-operation file grants: declared input snapshots and a bounded ceiling for new outputs. Durable invocation identities survive retries and interruption across CLI, HTTP, scheduling, and coordinator routes. Operators can inspect recorded outcomes and reconcile interrupted work without automatically replaying an uncertain effect.
# Inspect an interrupted invocation without replay $ symbi invocation inspect --project /srv/project \ --scope cli:orga --id INVOCATION_UUID # Verify the protected journal for a run $ symbi audit inspect JOURNAL --run-id RUN_UUID --public-key HEX
Audit Trail
Covered governed runs use protected, hash-chained journals with signed finalization. The journal records policy and dispatch outcomes so operators can determine what the runtime knows after interruption. Audit coverage is explicit and route-specific; enabling an uncovered custom path does not inherit these guarantees automatically.
# The CLI prints the run ID, journal path, and public key. $ symbi audit inspect /path/to/run.jsonl \ --run-id RUN_UUID --public-key HEX # Verification checks the signed payloads and hash chain.