AI

systemprompt - A governed gateway for model clients

aiself-hostedapi

Teams that let assistants touch real tools need a record of who allowed each call. systemprompt sits between supported clients, upstream model providers, and MCP tools, checking identity and policy before work runs. It keeps audit records in PostgreSQL and gives operators control over model routing, credentials, and which tools a user may reach. The runtime is a Rust binary with compiled extensions, so domain rules can live alongside the gateway rather than in a separate service. It makes most sense where an organisation wants one enforcement point and evidence it can query, not just a proxy that forwards prompts.

Links

Alternatives

  • LiteLLM: A lightweight proxy for model routing and spend tracking with a broad provider list.
  • One API: A self-hosted API aggregation and distribution system with quota controls.
  • Portkey: A hosted gateway with observability and governance features and paid plans.
  • Kong Gateway: A general API gateway that can sit in front of model endpoints with custom policies.