Documentation

Run it, or embed it

Everything you need for the all-in-one stack or the kernel. For design rationale and acceptance criteria, see the portable-agent-core spec and the grounded-findings spec in the repository.

Pages

Governance & run modes

Every tool carries a risk tag (single source of truth) and a provenance string. A pure function decides each call inside the loop — the red line cannot be overridden by policy.

Run moderead-risk toolswrite-risk tools
read-only (default)executealways blocked — no policy exception
adviseexecuteblocked; the agent is told to suggest instead
approve-writeexecuteneeds a matching Approval for the call id (L4 direction, host UI not shipped)

MCP tools without an explicit risk mapping are treated as write-risk — fail-closed. Map trusted tools via riskFor to make them available in read-only runs.

Audit trail

Every run ends in exactly one persisted terminal outcome — answered, step_budget_exhausted, or llm_error — each carrying full usage (tokens, turns, tool calls, cost). Conclusions arrive via the enforced submit_findings tool: root causes must cite verbatim evidence from real tool calls, differential diagnoses (ruledOut) are mandatory, and inconclusive is a legal answer. Trajectories are stored as structured, block-paired turns and replay in the exact shape the model saw.

Security notes

Read-only by design: host commands pass a whitelist and a dangerous-character gate; the agent never mutates state and only suggests changes. Before exposing the platform to the public internet, read the auth-tunnel spec — token auth is mandatory, unauthenticated endpoints return 404.