Expand description
Structs§
- Agent
Info - Agent metadata returned by
GET /agents. - Agent
Server - Self-hosted HTTP server that mounts one or more
Agents on an axum router. - Agent
Server Builder - Builder for
AgentServer. - Async
Accepted - HTTP 202 response body for an accepted asynchronous run.
- Auth
Rejection - Rejection emitted by the authentication layer.
- Default
Context Provider - A zero-configuration
ContextProviderfor contexts that implementDefault. - InMemory
Session Provider - A bounded, FIFO in-memory
SessionProviderbacked byMemorySession. - RunRequest
- HTTP request body for a synchronous or async agent run.
- RunResponse
- HTTP response body for a completed (non-streaming) agent run.
Enums§
- RunStatus
- Terminal outcome of an agent run.
- Server
Error - Top-level error type returned by all axum handlers in this crate.
Traits§
- Auth
Layer - Middleware hook called by the server on every inbound request before routing.
- Context
Provider - Builds the per-request
RunContextfrom parsed request metadata. - Session
Provider - Maps an optional session identifier to a
Sessionobject.