systemprompt-extension

Crates.iosystemprompt-extension
lib.rssystemprompt-extension
version0.0.11
created_at2026-01-21 17:12:56.094295+00
updated_at2026-01-25 21:41:33.143814+00
descriptionExtension framework for systemprompt.io - register custom modules, providers, and APIs
homepagehttps://systemprompt.io
repositoryhttps://github.com/systempromptio/systemprompt-core
max_upload_size
id2059717
size105,659
Edward Burton (Ejb503)

documentation

README

systemprompt.io

Production infrastructure for AI agents

systemprompt.ioGitHubDocumentation


systemprompt-extension

Extension framework for systemprompt.io - register custom modules, providers, and APIs.

Crates.io Documentation License: FSL-1.1-ALv2

Overview

Part of the Shared layer in the systemprompt.io 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:

[dependencies]
systemprompt-extension = "0.0.1"

Quick Example

use systemprompt_extension::prelude::*;

struct MyExtension;

impl Extension for MyExtension {
    fn id(&self) -> &str { "my-extension" }
    fn name(&self) -> &str { "My Extension" }
    fn version(&self) -> &str { "1.0.0" }
}

register_extension!(MyExtension);

Feature Flags

Feature Default Description
web Yes HTTP API routes via Axum
plugin-discovery No Dynamic plugin loading

Key Types

  • ExtensionContext - Runtime context for extensions
  • ExtensionError - Error types for extension operations
  • ExtensionLoader - Registration and loading system

Dependencies

  • async-trait - Async trait support
  • axum - Router types (optional, with web feature)
  • inventory - Compile-time extension registration
  • reqwest - HTTP client (optional, with web feature)

License

FSL-1.1-ALv2 - See LICENSE for details.

Commit count: 370

cargo fmt