Skip to main content

Documentation

Guides and reference documentation

Configuration

Security Configuration

JWT token settings including issuer, expiration times, and audience configuration.

Runtime Configuration

Environment type, logging levels, output format, and interactive mode settings.

Rate Limits

API request throttling with per-endpoint limits and user tier multipliers.

Paths Configuration

Directory paths for system files, services, binaries, and optional storage.

Server Configuration

HTTP server settings including host, port, API URLs, CORS, and HTTPS.

Cloud Credentials

Cloud API authentication credentials, token management, and login workflow.

Profiles

Environment configurations for systemprompt.io. Each profile contains all settings needed to run in a specific environment.

Database

Configure PostgreSQL database connection for systemprompt.io. One connection string is all you need.

Deployment

Deploy AI agents to systemprompt.io Cloud with a single command. CI/CD integration, zero-downtime deployments, and rollback strategies.

Custom Domains

Configure custom domains for systemprompt.io Cloud with automatic TLS certificates via Let's Encrypt.

Configuration & Credentials

How credentials management works in .systemprompt/ - sessions, tenants, profiles, secrets, and cloud deployment.

Code Sync

Synchronize configuration between local development and systemprompt.io Cloud. Push, pull, and resolve conflicts.

Sessions

CLI authentication state and profile switching. Sessions track which profile is active and authenticate your requests.

Docker Configuration

Docker serves two purposes in systemprompt.io: running PostgreSQL locally and deploying your application to production.

Tenants

Isolated environments for systemprompt.io. Local tenants run on your machine, cloud tenants run on managed infrastructure.

Secrets & Credentials

Manage API keys, credentials, and sensitive configuration for local development and cloud deployments.

Services

Database Service

Database access patterns in Rust code - connecting to PostgreSQL, using repositories, and accessing the pool in different contexts

Users

Per-user isolation from day one. User scopes enforced automatically across all operations.

Services

Configure and manage the runtime components that power your systemprompt.io instance - agents, skills, MCP servers, content, AI, scheduled jobs, and web interface.

Skills Service

Skills define reusable agent capabilities in systemprompt.io. They replace the former playbooks system with structured YAML definitions.

Skills Service

Define reusable agent capabilities through skills. Skills provide tagged, discoverable actions that multiple agents can share.

Content Service

Manage blog posts, documentation, and legal pages with markdown authoring, YAML frontmatter, automatic indexing, and built-in SEO. The content service ingests files, stores them in PostgreSQL, and generates sitemaps, RSS feeds, and llms.txt.

Agent Services

Configure and orchestrate AI agents with A2A protocol support, skills-based capabilities, multi-agent workflows, and OAuth security. Agents are the AI workers that perform tasks in systemprompt.io.

Config Service

The config service aggregates all service configurations into a unified hub, managing includes, global settings, and startup validation.

Analytics Service

Automatic tracking of AI costs, usage metrics, session engagement, content performance, and audit trails. Every request logged with full observability.

Authentication

OAuth2/OIDC authorization, WebAuthn passwordless login, magic link authentication, JWT token lifecycle, and session management built into every layer of systemprompt.io.

Web Service

Reference for the web service that renders pages, manages templates, serves assets, and controls the entire presentation layer of a systemprompt.io application.

AI Services

Configure and manage AI providers in systemprompt.io. Supports Anthropic, OpenAI, and Google Gemini with streaming, web search grounding, image generation, smart routing, and MCP tool integration.

Scheduled Jobs

Run background jobs on cron schedules for content publishing, analytics aggregation, session cleanup, database maintenance, and custom automation tasks.

MCP Service -- Host and Manage MCP Servers

Host production MCP servers with OAuth authentication, tool discovery, capability negotiation, and streamable HTTP transport. Integrate with Claude Desktop, Claude Code, and any MCP-compatible client.

Workflows

Define once, execute anywhere. Skills and multi-agent orchestration provide YAML-based automation that both humans and AI agents can run through CLI, MCP, or scheduled jobs.

Files Service

Three-layer file storage with local and S3 backends, permission-scoped access, upload handling, and CDN-ready serving for AI workloads.

Extensions

MCP Tool Structure

Detailed reference for organizing tools with modular directory patterns, handler signatures, and schema definitions.

MCP Server AI Integration

Complete guide to integrating AI services (Gemini, Anthropic, OpenAI) into MCP servers with search grounding and artifact persistence.

MCP Response Patterns

Best practices for returning tool results with both human-readable and structured content.

MCP Skill Integration

Loading and using skills in MCP servers for AI-powered tool implementations.

MCP Resources

Implementing MCP resources and templates for exposing data and UI artifacts to clients.

API Extension

Add HTTP routes and API endpoints to your extension.

Extension Discovery

How the runtime discovers and validates extensions at startup.

Job Extension

Add background jobs and scheduled tasks to your extension.

Extension Builder

Type-safe extension registration with compile-time dependency checking.

Error Handling

Error types for extension loading, configuration, and runtime.

Template Data Extender

Make final modifications to template data after all providers and renderers have run.

Schema Extension

Add database schemas and migrations to your extension.

Frontmatter Processor

Parse custom frontmatter fields during content ingestion.

Asset Declaration

Declare CSS, JavaScript, fonts, and images for your extension.

RSS & Sitemap Providers

Generate RSS feeds and sitemap entries for your content.

Provider Extension

Add LLM and tool providers to your extension.

Config Extension

Add configuration namespaces and validation to your extension.

Content Data Provider

Enrich content items with computed fields, related content, and database lookups.

Extension Dependencies

Declare and manage dependencies between extensions.

Extension Registration

How extensions register with the runtime using the inventory crate and register_extension! macro.

Extension Trait Reference

Complete reference for the Extension trait with all 30+ methods for database, API, jobs, providers, and web rendering.

Page Prerenderer

Generate static HTML pages at build time for list pages, index pages, and configured content.

Extension Initialization

How extensions integrate with AppContext during runtime startup.

Typed Extensions

Compile-time type-safe extension traits for schema, API, job, provider, and config extensions.

Page Data Providers

Create PageDataProvider implementations to provide ALL template variables for your pages.

Component Renderers

Create ComponentRenderer implementations to generate HTML fragments for your templates.

Extensions and Scoped Permissions

How systemprompt.io extensions work across four domains, and how permission scoping enforces per-agent, per-tool authorization through OAuth2, roles, and access control rules.

Library Extensions

Build library extensions that compile into the main binary: API routes, database schemas, background jobs, and providers.

Web Extensions

Build web extensions for page data, static generation, templates, and asset management.

MCP Extensions

Build standalone MCP server extensions that expose tools for AI agents via the Model Context Protocol.

CLI Extensions

Build standalone CLI extensions for custom commands, external integrations, and utility tools that agents can execute via subprocess.