Expand description
Provider-neutral agent loops over kcode-intelligence-router.
Structs§
- Agent
Runtime - Cloneable provider-neutral subagent runtime.
- Context
Budget - Read-only capacity view supplied while a host evaluates a tool.
- Prepared
Round - Exact provider input prepared by the application for one primary round.
- Round
Completion - Provider completion summarized for the application-owned session policy.
- RunRequest
- Inputs for one complete subagent run.
- RunResult
- Completed subagent output.
- Session
Round Limit Error - Error returned when a restored primary turn exhausts its cumulative round budget.
- Session
RunRequest - Inputs shared by every provider call in one primary session run.
- Session
Tool Outcome - Complete application handling of one primary-session tool call.
- State
Update - One replaceable state section rendered into every later context slice.
- Tool
Call - One application tool call requested by a subagent.
- Tool
Outcome - Result returned by the application after one tool or capture operation.
Enums§
- Audit
Event - One complete, typed audit fact selected by the subagent runtime.
- Round
Preparation - Result of preparing the next primary round.
- Session
Control - Application decision after completing a semantic primary-session transition.
- Session
Event - One durable provider-protocol fact emitted by the primary runtime.
Traits§
- Host
- Application-owned behavior invoked by the generic subagent loop.
- Session
Host - Application-owned semantics invoked by the primary agent runtime.
Functions§
- is_
session_ round_ limit - Returns whether an error is the primary runtime’s round-limit signal.
Type Aliases§
- Host
Future - A boxed asynchronous host operation.