Skip to main content

Crate proserpina_agent

Crate proserpina_agent 

Source
Expand description

Provider-agnostic LLM agent abstraction.

This crate is the reusable core of the Proserpina critique pipeline: the Agent trait, Persona, Message types, a deterministic EchoAgent test oracle, and (behind backend-http) an OpenAI-compatible [HttpAgent]. Behind credentials, the pure credential-resolution core for daemon consumers.

Extracted from proserpina v0.3.0 so daemon consumers (e.g. Ijima’s mining tier) can depend on the agent layer without the critique pipeline, CLI, or auth subsystem.

Re-exports§

pub use agent::Agent;
pub use agent::AgentId;
pub use echo::EchoAgent;
pub use error::ProserpinaError;
pub use message::Message;
pub use message::MessageKind;
pub use persona::Persona;

Modules§

agent
The provider boundary: the Agent trait and AgentId.
echo
The deterministic echo backend.
error
Error types for Proserpina.
message
Messages: the edges of the interaction graph.
persona
Critic personas — the lens an agent applies when critiquing.