Expand description
§systemprompt-agent
Agent-to-Agent (A2A) protocol implementation for systemprompt.io.
This crate hosts the domain logic for hosting governed AI agents:
- JSON-RPC protocol models in
models::a2a - Persistence in
repository(tasks, contexts, artifacts, execution steps) - Runtime services in
services(HTTP server, orchestration, MCP bridging, skills ingestion, streaming, registry) - A typed error hierarchy rooted at
AgentError
§Feature flags
This crate currently has no Cargo features beyond defaults. Functionality
is unconditional and the crate compiles a single configuration. The facade
crate systemprompt gates inclusion via the agent/full features.
§Layer
Domain layer. Depends only on shared/* and infra/* crates plus a small
number of sibling domain crates (declared in Cargo.toml).
Re-exports§
pub use models::a2a::A2aJsonRpcRequest;pub use models::a2a::A2aRequestParams;pub use models::a2a::A2aResponse;pub use models::a2a::MessageSendParams;pub use models::a2a::TaskIdParams;pub use models::a2a::TaskQueryParams;pub use services::AgentEvent;pub use services::AgentEventBus;pub use services::AgentHandlerState;pub use services::AgentOrchestrator;pub use services::AgentServer;pub use services::AgentStatus;pub use services::ContextService;pub use services::SkillService;pub use repository::content::ArtifactRepository;
Modules§
- models
- Domain models for the agent crate.
- repository
- Repository layer for the agent crate.
- services
- Service layer for the agent crate.
Structs§
- Agent
Capabilities - Agent
Card - Agent
Extension - Agent
Interface - Agent
Provider - Agent
Skill - Agent
State - Artifact
- Data
Part - Message
- Task
- Task
Status - Text
Part