Production infrastructure for AI agents
Website · Documentation · Guides · Core · Template · Discord
systemprompt-extension
Compile-time extension framework for systemprompt.io AI governance infrastructure. Built on the inventory crate — registers schemas, API routes, jobs, and providers in the MCP governance pipeline. Extensions can add new routes, services, and capabilities to the platform.
Layer: Shared — foundational types/traits with no dependencies on other layers. Part of the systemprompt-core workspace.
Overview
Provides the infrastructure for building and loading systemprompt.io extensions. Extensions can add new routes, services, and capabilities to the platform.
Architecture
ExtensionContext— Runtime context for extensionsExtensionError— Error types for extension operationsExtensionLoader— Registration and loading system
Usage
[]
= "0.2.1"
use *;
;
register_extension!;
use ;
;
Feature Flags
| Feature | Default | Description |
|---|---|---|
web |
Yes | HTTP API routes via Axum |
plugin-discovery |
No | Dynamic plugin loading |
Dependencies
async-trait— Async trait supportaxum— Router types (optional, withwebfeature)inventory— Compile-time extension registrationreqwest— HTTP client (optional, withwebfeature)
License
BSL-1.1 (Business Source License). Source-available for evaluation, testing, and non-production use. Production use requires a commercial license. Each version converts to Apache 2.0 four years after publication. See LICENSE.
systemprompt.io · Documentation · Guides · Live Demo · Template · crates.io · docs.rs · Discord
Shared layer · Own how your organization uses AI.