systemprompt-api 0.21.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
//! Reverse proxy from the API gateway to local MCP and agent backends.
//!
//! [`ProxyEngine`] is the entry point; the `auth` submodule is the single
//! authorization boundary for proxied `/api/v1/mcp/*` and `/api/v1/agents/*`
//! traffic, emitting RFC 9728 OAuth challenges on unauthenticated requests.

mod audit;
pub mod auth;
mod backend;
mod client;
mod engine;
mod errors;
mod resolver;

pub use engine::{ProxyEngine, ProxyKind, ProxyTarget};

#[cfg(feature = "test-api")]
pub use audit::test_api;
#[cfg(feature = "test-api")]
pub use auth::test_api as auth_test_api;
#[cfg(feature = "test-api")]
pub use engine::test_api as engine_test_api;
#[cfg(feature = "test-api")]
pub use errors::ProxyError;
#[cfg(feature = "test-api")]
pub use resolver::test_api as resolver_test_api;