Expand description
Agent backend transports and provider-neutral contracts.
This crate owns the agent execution boundary used by Agentty: provider
model metadata, turn prompt payloads, CLI/app-server transports, and
channel contracts. It intentionally avoids depending on the agentty
application crate so provider-specific dependencies compile in a leaf
workspace member.
Re-exports§
pub use model::agent::AgentCliInfo;pub use model::agent::AgentCliVersion;pub use model::agent::AgentKind;pub use model::agent::AgentModel;pub use model::agent::AgentSelection;pub use model::agent::AgentSelectionMetadata;pub use model::agent::ReasoningLevel;pub use model::agent::parse_persisted_session_agent_model;pub use model::permission::PermissionMode;pub use model::session::SessionStats;
Modules§
- agent
- Agent backend wiring split into provider-specific submodules.
- app_
server - Shared app-server module router.
- app_
server_ router - Provider router for app-server backed session execution.
- app_
server_ transport - Shared stdio JSON-RPC transport utilities for app-server protocols.
- channel
- Provider-agnostic agent channel module.
- model
- Agent-domain models shared by provider transports and Agentty.
Structs§
- Turn
Prompt - Structured prompt payload for one agent turn.
- Turn
Prompt Attachment - One local image attachment referenced from a prompt placeholder.
Enums§
- Turn
Prompt Content Part - Ordered content piece produced when serializing one turn prompt.
- Turn
Prompt Text Source - Source classification for one turn prompt text payload.