API Reference
Complete API documentation for Radium. This reference covers all public APIs for extending and integrating with Radium.
Rust API Documentation
The primary Radium API is written in Rust. Full Rust API documentation is available:
- Rust API Docs - Complete Rust API documentation (generated from code)
Core APIs
Context Cache API
- Context Cache API - Context caching and retrieval API
- Cache management
- Context retrieval
- Cache invalidation
Extension System API
The extension system provides APIs for creating, managing, and integrating extensions.
- Extension API Reference - Complete extension system API
- Extension manifest
- Extension manager
- Discovery API
- Marketplace API
- Signing API
Extension Types
- ExtensionManifest: Manifest parsing and validation
- ExtensionManager: Installation and management
- ExtensionDiscovery: Discovery and search
- ExtensionMarketplace: Marketplace integration
Hooks API
Native and WASM hooks for customizing agent behavior.
- Hooks API Reference - Complete hooks API
- Hook lifecycle
- Hook types
- Hook development
MCP Integration API
Model Context Protocol integration for external tools and services.
- MCP Architecture - MCP system architecture
- MCP Tools - Available MCP tools
- MCP Configuration - Configuration API
Agent System API
Agent Configuration
- Agent Configuration - Agent configuration format
- Agent System Architecture - System architecture
Agent Execution
- Agent execution API (via CLI/TUI)
- Agent orchestration API
- Agent memory API
Orchestration API
Intelligent task routing and agent coordination.
- Orchestration Guide - User guide
- Orchestration Configuration - Configuration
Planning API
Autonomous planning and workflow generation.
- Autonomous Planning - Planning system
- Plan Execution - Execution API
Policy Engine API
Fine-grained tool execution control.
- Policy Engine - Policy system
- Policy Configuration - Configuration API
Memory & Context API
Plan-scoped memory and context management.
- Memory & Context - Memory system
- Context Sources - Context source API
Self-Hosted Models API
Integration with self-hosted AI models.
- Self-Hosted API Reference - Self-hosted models API
- Ollama Integration - Ollama setup
- vLLM Integration - vLLM setup
- LocalAI Integration - LocalAI setup
Monitoring API
Agent monitoring and analytics.
- Monitoring Architecture - Monitoring system
- Monitoring Usage Guide - Usage guide
- Monitoring API Reference - API reference
Session Analytics API
Track costs, performance, and optimize agent sessions.
- Session Analytics - Analytics system
CLI API
Command-line interface for all operations.
- CLI Documentation - CLI overview
- CLI Commands - All commands
- CLI Architecture - CLI architecture
gRPC API
Radium uses gRPC for internal communication between components.
Core Services
- AgentService: Agent execution and management
- OrchestrationService: Task routing and coordination
- PlanningService: Plan generation and execution
- MemoryService: Memory storage and retrieval
- ContextService: Context gathering and management
Protocol Buffers
Protocol buffer definitions are in crates/radium-core/proto/.
TypeScript/JavaScript API
TypeScript packages for web and desktop applications.
packages/api-client: TypeScript API clientpackages/shared-types: Shared TypeScript typespackages/state: State managementpackages/ui: UI components
Future APIs
Component Foundry API
APIs for the Component Foundry Pattern (planned).
- Component creation
- Component validation
- Component composition
- Component versioning
Status: 📋 Planned Learn more: Roadmap: Component Foundry
Global Component Graph API
APIs for component discovery and composition (planned).
- Component search
- Component discovery
- Composition engine
- Relationship tracking
Status: 📋 Planned Learn more: Roadmap: Global Component Graph
KOR Protocol API
KOR protocol APIs for component exchange (planned).
- Component publishing
- Component retrieval
- Marketplace integration
- Economic models
Status: 📋 Planned Learn more: Roadmap: Protocol Specifications
API Versioning
Radium APIs follow semantic versioning:
- Major versions: Breaking changes
- Minor versions: New features, backward compatible
- Patch versions: Bug fixes, backward compatible
API Stability
Stable APIs
- Agent configuration format
- Extension manifest format
- CLI command interface
- gRPC service definitions
Experimental APIs
- Component Foundry APIs
- Global Component Graph APIs
- KOR Protocol APIs
Getting Help
- Developer Guide - Development documentation
- Architecture Overview - System architecture
- Examples - Code examples
- GitHub Issues - Report issues
Next Steps
- Rust API Docs - Complete Rust API documentation
- Extension API - Extension system API
- Hooks API - Hooks API
Need help? Check the Developer Guide or open an issue.