Skip to main content

Crate paigasus_helikon_runtime_axum

Crate paigasus_helikon_runtime_axum 

Source
Expand description

Self-hosted HTTP server runtime for Paigasus Helikon agents.

Mounts one or more Agents on an axum router and serves them over REST (one-shot), Server-Sent Events, and WebSocket, with replayable runs.

See the crate README.md for a runnable example.

Structs§

AgentInfo
Agent metadata returned by GET /agents.
AgentServer
Self-hosted HTTP server that mounts one or more Agents on an axum router.
AgentServerBuilder
Builder for AgentServer.
AsyncAccepted
HTTP 202 response body for an accepted asynchronous run.
AuthRejection
Rejection emitted by the authentication layer.
DefaultContextProvider
A zero-configuration ContextProvider for contexts that implement Default.
InMemorySessionProvider
A bounded, FIFO in-memory SessionProvider backed by MemorySession.
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.
ServerError
Top-level error type returned by all axum handlers in this crate.

Traits§

AuthLayer
Middleware hook called by the server on every inbound request before routing.
ContextProvider
Builds the per-request RunContext from parsed request metadata.
SessionProvider
Maps an optional session identifier to a Session object.