systemprompt-extension
Extension framework for systemprompt.io - register custom modules, providers, and APIs.
Overview
Part of the Shared layer in the systemprompt.io architecture. Integrations · Extensible Architecture
Provides the infrastructure for building and loading systemprompt.io extensions. Extensions can add new routes, services, and capabilities to the platform.
Installation
Add to your Cargo.toml:
[]
= "0.0.1"
Quick Example
use *;
;
register_extension!;
Feature Flags
| Feature | Default | Description |
|---|---|---|
web |
Yes | HTTP API routes via Axum |
plugin-discovery |
No | Dynamic plugin loading |
Key Types
ExtensionContext- Runtime context for extensionsExtensionError- Error types for extension operationsExtensionLoader- Registration and loading system
Dependencies
async-trait- Async trait supportaxum- Router types (optional, withwebfeature)inventory- Compile-time extension registrationreqwest- HTTP client (optional, withwebfeature)
Usage
use ;
;
License
Business Source License 1.1 - See LICENSE for details.