Skip to content

Start Here

Agent-facing docs are generated projections. Source facts live in docs/agent/*.source.json, docs/surface.json, package manifests, and exported TSDoc annotation tags.

SurfaceGenerated File
Recipesdocs/agent/recipes.json
Primitivesdocs/agent/primitives.md
Decision Graphdocs/agent/decision-graph.md
Errorsdocs/agent/errors.md
Invariant Matrixdocs/agent/invariant-matrix.md
RecipeTutorialPrimary Primitives
recipe.hello-ledger-eventAppend and read a ledger eventprimitive.kernel.LedgerEvent, primitive.kernel.ScopeRef, primitive.kernel.AuthorityRef, primitive.runtime.Ledger
recipe.projection-readerBuild a materialized projection readerprimitive.runtime.MaterializedProjectionDefinition, primitive.runtime.defineProjection, primitive.runtime.ProjectionReduceResult
recipe.streaming-chatbotStream an agent runprimitive.runtime.SubmitSpec, primitive.runtime.SubmitResult, primitive.ag-ui.projectLedgerEventToAgUiEnvelope
recipe.tool-schema-authorityAdd a tool with schema, admission, and execution domainprimitive.kernel.AgentSchema, primitive.kernel.Tool, primitive.kernel.ExecutionDomain, primitive.kernel.BoundaryContract