systemprompt 0.1.21

systemprompt.io - Extensible AI agent orchestration framework
Documentation

Control how your organization uses AI

Crates.io Docs.rs License: FSL-1.1-ALv2 Rust Discord

Website · Discord · Installation · Skills · Config · Services · Extensions

Platform Support: Working and tested on Unix (macOS and Linux). Windows support coming later.


30 people. 30 different AI setups. No visibility. No standards. No enforcement.

systemprompt.io is the governance layer that fixes this. Define how AI behaves across your organization — skills, permissions, and rules enforced consistently for every team member, every session, every time. Purpose-built in Rust for reliable orchestration, deep observability, and deterministic execution.

Table of Contents

Governance. Observability. Deployment.

One policy. Every session.

Define AI behavior once and enforce it everywhere. No more inconsistent setups across teams, no more untracked usage, no more ungoverned AI sprawl. systemprompt.io gives you policy-as-code enforcement with cryptographic traceability — built to survive an audit.

  • Governance: Skills, permissions, and behavioral rules enforced consistently across your entire organization
  • Observability: Know what AI you have deployed, how it is being used, and where — usage analytics, audit trails, and session monitoring from a single dashboard
  • Deployment: Self-host or deploy under your own brand — white-label AI governance for SaaS companies that need to offer it to customers

Compatible with SOC 2, ISO 27001, HIPAA, and FedRAMP (on-prem). Full data-plane control.

Core capabilities

  • Complete Runtime: Web API + agent processes + MCP servers with shared auth and database
  • Open Standards: MCP, A2A, OAuth2, WebAuthn — no vendor lock-in
  • Agent-Executable CLI: Your AI manages infrastructure directly via the same CLI you use
  • Native Rust: Async-first on Tokio, zero-cost abstractions
  • Self-Hosted or Cloud: Docker locally, or deploy to isolated VM with managed database
  • 100% Extensible: Build proprietary Rust extensions on the open core

What You Get

A complete platform with built-in:

  • Auth and Permissions: OAuth2/OIDC, WebAuthn, sessions, roles, per-user and per-agent scopes
  • File Storage: Upload, serve, and manage files with metadata
  • Content Management: Markdown ingestion, search, and publishing
  • AI Integration: Multi-provider LLM support with request logging
  • Analytics: Session tracking, usage reporting, and audit trails
  • Agent Orchestration: A2A protocol for multi-agent coordination
  • MCP Servers: Tool and resource providers for any MCP-compatible AI client

Quick Start

# 1. Create from template
gh repo create my-project --template systempromptio/systemprompt-template --clone
cd my-project

# 2. Build
just build

# 3. Login
just login

# 4. Create tenant
just tenant

# 5. Start
just start

See the systemprompt-template for full installation instructions and configuration options.

Native MCP Client Support

Works out of the box with any MCP-compatible client — Claude Code, Claude Desktop, ChatGPT, Cursor, and more. All transports are HTTP-native, supported by modern MCP clients.

{
  "mcpServers": {
    "my-server": {
      "url": "https://my-tenant.systemprompt.io/api/v1/mcp/my-server/mcp",
      "transport": "streamable-http"
    }
  }
}

One platform. Every team. Your AI tools connect to governed infrastructure with enforced permissions, audit trails, and consistent behavior — regardless of which AI provider your teams use.

Discovery API

Get agent and MCP connection details from the API at any time:

Endpoint Description
/.well-known/agent-card.json Default agent card
/.well-known/agent-cards List all available agents
/.well-known/agent-cards/{name} Specific agent card
/api/v1/agents/registry Full agent registry with status
/api/v1/mcp/registry All MCP servers with endpoints

Config as Code

Define your entire AI governance infrastructure in the services/ directory — granular permissions for agents, MCP tools, and users backed by production-grade OAuth2 and WebAuthn:

services/
├── agents/           # Agent definitions with OAuth scopes
│   └── blog.yaml     # security: [oauth2: ["admin"]]
├── mcp/              # MCP servers with per-tool permissions
│   └── content.yaml  # oauth: { required: true, scopes: ["admin"] }
├── skills/           # Anthropic marketplace skills and plugins
├── ai/               # Provider configs (Anthropic, OpenAI, Gemini)
├── content/          # Markdown content sources
├── scheduler/        # Cron jobs and background tasks
└── web/              # Theme, branding, navigation

Granular Security:

  • Agents: OAuth2 scopes define who can interact with each agent
  • MCP Tools: Per-tool OAuth requirements and audience restrictions
  • Users: WebAuthn passwordless auth with role-based permissions
  • All config changes deploy instantly - no code changes required

CLI - Universal Agent Interface

The CLI executes any task, sends messages to agents, and invokes MCP tools in any environment. Enable local-to-remote and remote-to-remote agentic flows:

# Send a message to an agent
systemprompt admin agents message blog "Write a post about MCP security"

# List available MCP tools
systemprompt admin agents tools content-manager

# Execute from local to remote, or remote to remote
systemprompt cloud deploy --profile production

The same CLI runs locally during development and in production on your cloud instance - your AI can manage infrastructure from anywhere.

Scheduling - Deterministic Tasks

Run scheduled jobs when you need predictable, time-based execution:

# services/scheduler/daily-analytics.yaml
jobs:
  daily_report:
    cron: "0 9 * * *"
    task: "analytics:generate_daily_report"
    enabled: true
# List scheduled jobs
systemprompt infra jobs list

# Run a job manually
systemprompt infra jobs run daily_report

# View execution history
systemprompt infra jobs history

Scheduling complements agentic flows - use agents for dynamic reasoning and schedulers for deterministic tasks.

Building Your Own Project

Use the systemprompt-template to create a new project with the recommended structure for agents, MCP servers, and content. The template includes installation instructions, example configurations, and a working development environment.

Using as a Library

Crates.io Docs.rs

Build your own extensions by adding the facade to your Cargo.toml:

[dependencies]
systemprompt = { version = "0.0.1", features = ["full"] }

Architecture

systemprompt.io uses a layered crate architecture:

┌─────────────────────────────────────────────────────────┐
│  ENTRY: api, cli                                        │
├─────────────────────────────────────────────────────────┤
│  APP: runtime, scheduler, generator, sync               │
├─────────────────────────────────────────────────────────┤
│  DOMAIN: users, oauth, ai, agent, mcp, files, content   │
├─────────────────────────────────────────────────────────┤
│  INFRA: database, events, security, config, logging     │
├─────────────────────────────────────────────────────────┤
│  SHARED: models, traits, identifiers, extension         │
└─────────────────────────────────────────────────────────┘

Dependencies flow downward only. Domain crates communicate via traits and events, not direct dependencies.

See full architecture documentation for details on all 25+ crates.

Extension Framework

Extensions enable downstream projects to extend core functionality without modifying it.

use systemprompt_extension::*;

struct MyExtension;
impl Extension for MyExtension { ... }
impl ApiExtension for MyExtension { ... }

register_extension!(MyExtension);
register_api_extension!(MyExtension);

Available extension traits:

Trait Purpose
Extension Base trait - ID, name, version, dependencies
SchemaExtension Database table definitions
ApiExtension HTTP route handlers
ConfigExtensionTyped Config validation at startup
JobExtension Background job definitions
ProviderExtension Custom LLM/tool provider implementations

Extensions are discovered at runtime via the inventory crate.

License

FSL-1.1-ALv2 (Functional Source License) - see LICENSE for details.

Links

  • Website: Learn more about AI governance at enterprise scale
  • Documentation: Full guides and API reference
  • GitHub: Source code and issues
  • Discord: Get help and connect with the community