systemprompt 0.13.0

Self-hosted AI governance infrastructure. The Rust library behind systemprompt.io: MCP-native tool-call governance, 6-tier RBAC, secret detection, full audit trails, SIEM-ready events. Provider-agnostic across Anthropic, OpenAI, Gemini, and local models. PostgreSQL, air-gap capable, BSL-1.1.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Boots the standard `systemprompt` CLI through the facade.
//!
//! Run with: `cargo run -p systemprompt --example cli --features cli -- --help`

use systemprompt::cli::run;

#[tokio::main(flavor = "multi_thread")]
async fn main() {
    tracing_subscriber::fmt::init();

    // `run()` parses argv and builds its own config; this mirrors the template's
    // `main.rs`. `CliConfig`/`OutputFormat`/`VerbosityLevel`/`ColorMode` are
    // exposed for embedders that construct settings out-of-band.
    if let Err(err) = Box::pin(run()).await {
        tracing::error!(error = %err, "cli exited with error");
        std::process::exit(1);
    }
}