Expand description
The transport-free single-conversation cookie agent runtime.
Modules§
- actor
- Long-lived per-session mailbox actors.
- delegation_
events - Durable delegation state projected from parent-session events.
- events
- Buffered/durable session event logs and ephemeral tool-output hubs.
- grant_
journal - Durable exact tree-grant invalidations committed before mutations execute.
- permissions
- Permission evaluation over immutable prepared-operation manifests.
- session
- Session directories, projections, and rebuildable metadata caches.
Structs§
- Agent
Message Handle - The
send_messageresult contract: success means the message is durably accepted (ProducerMessageAcceptedpersisted in the recipient’s event log), not that the recipient has consumed it. - Agent
Message Invocation - Immutable arguments for one
send_messagetool invocation. The sender triple is engine-derived tool context, never model arguments. - Approval
Respond Failure - Atomic, secret-safe rejection details produced by the serialized approval transaction.
- Artifact
Read Page - Delegate
Await - A delegate wait that cancels its child if its consumer abandons the wait.
- Delegate
Handle - Stable child identity returned to the delegate tool provider.
- Delegate
Invocation - Immutable arguments for one delegate-tool invocation.
- Engine
- Cloneable in-process engine handle. It contains no transport concerns and is safe for tool providers to call while their parent call is executing.
- Engine
Options - McpRegistry
- McpServer
Status - Persisted
Tool Result - Plugin
Registry - Plugin
Status - Prepared
Serialization Key - Prepared
Tool - Progress
Sink - Prompt
Section - One labeled system-prompt section contributed by a tool provider.
- Published
Runtime - Exact executable and wire state published as one atomic value.
- Session
Tool Context - Skill
Invocation - Stdin
Write - Tool
Call - Tool
Completion - Completion supplies output once, or explicitly finalizes already accepted deltas.
- Tool
Execution Context - Tool
Preparation Context - Tool
Progress - Tool
Spec - Tool
Stdin - Turn
Agent Context - Immutable harness context captured for one tool preparation/execution batch.
Enums§
- Agent
Recipient State - Recipient state observed at send time. Delivery mode is never coerced: the requested mode stays effective in every state (safe-boundary admission covers running recipients, claim-at-start covers queued ones, and the post-send producer reconcile wakes idle or finished ones).
- Attachment
Gate - Engine
Error - Engine
Event - Engine
History View - Selects the history projection returned by
Engine::get_history. - McpServer
State - Plugin
State - Subagent
Scope - Stable
send_message:<code>error strings carried byEngineError::Messaging. The tool layer surfaces them verbatim so sending models can react predictably (retry, back off, or give up). The addressable set a reference resolves against.send_messagereaches every peer in the tree; the subagent-result/cancel/resume tools only reach the caller’s own direct children, matching their ownership checks. - Tool
Concurrency - Declares whether calls to a tool may overlap with sibling calls from one model turn.
- Tool
Error - Tool
Result Truncation Policy
Constants§
- MESSAGE_
DISABLED - Stable
send_message:<code>error codes carried byEngineError::Messaging. The tool layer surfaces these strings verbatim so sending models can react predictably (retry, give up, or report). - MESSAGE_
ENGINE_ SHUTDOWN - MESSAGE_
INBOX_ FULL - MESSAGE_
INFLIGHT_ FULL - MESSAGE_
INVALID_ ARGUMENTS - MESSAGE_
INVALID_ BODY - MESSAGE_
MAX_ HOPS_ EXCEEDED - MESSAGE_
NOT_ TREE_ PEER - MESSAGE_
SELF_ SEND - MESSAGE_
UNKNOWN_ SESSION