systemprompt-api 0.9.0

Axum-based HTTP server and API gateway for systemprompt.io AI governance infrastructure. Exposes governed agents, MCP, A2A, and admin endpoints with rate limiting and RBAC.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod canonical;
pub mod canonical_response;
pub mod inbound;
pub mod outbound;

pub use canonical::{
    CanonicalContent, CanonicalMessage, CanonicalRequest, CanonicalTool, CanonicalToolChoice,
    ImageSource, Role, ThinkingConfig,
};
pub use canonical_response::{
    CanonicalEvent, CanonicalResponse, CanonicalStopReason, CanonicalUsage, ContentBlockKind,
};
pub use inbound::{InboundAdapter, InboundParseError, anthropic_messages, openai_responses};
pub use outbound::{
    OutboundAdapter, OutboundAdapterRegistration, OutboundCtx, OutboundOutcome,
    anthropic as outbound_anthropic, openai_chat, openai_responses as outbound_openai_responses,
};