Expand description
Transport-independent contracts for session and isolated agent execution. Implementations own provider routing and resource cleanup; hosts own scheduling.
Structs§
- OneShot
Error - Typed failure returned by
OneShotClientsubmissions. - OneShot
Request - Input payload for one isolated prompt that prefers structured protocol output.
- OneShot
Submission - Parsed result returned by one isolated prompt execution.
- Personality
Prompt - Personality prompt state prepared for one provider turn.
- Provider
Call Budget - A shared limit on underlying provider turns across cloned requests.
- Session
Ref - Opaque reference to an active agent session.
- Session
Stats - Token and diff usage statistics associated with one agent session or isolated prompt.
- Start
Session Request - Input payload for initiating a new agent session.
- Turn
Continuation - Continuation state for one provider-agnostic agent turn.
- Turn
Continuation Parts - Owned continuation inputs consumed by a runtime adapter.
- Turn
Request - Input payload for one provider-agnostic agent turn.
- Turn
Result - Normalized result returned when one agent turn completes successfully.
Enums§
- Agent
Error - Typed error returned by
AgentChanneloperations. - Agent
Request Kind - Turn initiation mode for
TurnRequest. - Permission
Mode - Supported permission mode values for agent execution workflows.
- Personality
Prompt Update - Delta-mode personality change for a provider-managed conversation.
- Reasoning
Level - Supported reasoning-effort levels for task execution.
- Response
Style - Preferred amount of detail in user-facing session responses.
- Session
Diff State - Known availability of a session worktree diff.
- Speed
Mode - Response-speed preference applied to one agent session.
- Turn
Event - Incremental event emitted during one agent turn.
Traits§
- Agent
Channel - Provider-agnostic session channel for executing agent turns.
- Live
Transcript - Live transcript projection used when a provider runtime needs replay text.
- OneShot
Client - Provider-neutral boundary for isolated structured agent prompts.
Functions§
- normalize_
instruction_ conversation_ id - Normalizes one provider-native conversation id for persisted bootstrap reuse tracking.
Type Aliases§
- Agent
Future - Boxed async result used by
AgentChanneltrait methods.