Rapid AI Experimentation Platform - Cast scripting spells to explore AI concepts, extract proven patterns to production-ready Rust
Rust
1
1,955 commits
updated Dec 14, 2025
Rapid AI Experimentation Platform - Cast scripting spells to explore AI concepts, extract proven patterns to production-ready Rust
π Version 0.14.1 - Web Interface & Mission Control
π Quick Links: π Documentation Hub | π Quick Start | π― What This Is | ποΈ Experiment β Production | π Release Notes | π οΈ Examples | π§ Contributing
π Note: rs-llmspell builds upon concepts from numerous open-source projects and owes special acknowledgment to go-llms, which was instrumental in rapidly prototyping early ideas. This Rust implementation supersedes go-llms, leveraging Rust's native compilation and zero-cost abstractions for experimental velocity with production-ready foundations.
rs-llmspell is an experimental platform for rapid AI concept exploration.
The Experiment-Extract Workflow:
Built with production-quality engineering (architecture, performance, testing, observability) to make the transition from experiment to production as painless as possible. We use Rust not because we're production-ready, but because proven patterns deserve solid foundations for extraction.
Current Status: v0.14.1 complete. "Mission Control" Web Interface (Phase 14) now available with unified single-binary deployment. Includes embedded React frontend, Monaco script editor, real-time console, and visual memory/session exploration. Performance validated with <100ms API latency and <2ms overhead. Project retains v0.13.1's production foundations: 10 storage backends, RLS multi-tenancy, and 21 preset profiles with 5540+ passing tests.
rs-llmspell prioritizes rapid experimentation while building production-ready foundations.
The Philosophy:
Although experimental, rs-llmspell is built with production-grade engineering:
Result: When your experiment succeeds, transitioning to production is engineering work, not research work.
β Experimental AI concept playground β Script-first rapid iteration β Production-quality engineering β Clear extraction path to Rust β Learning platform for AI patterns
β Production-ready out of the box β Enterprise deployment platform β Guaranteed stable APIs (pre-1.0) β Support contracts or SLAs
Latest experimental infrastructure for rapid memory pattern exploration
10 experimental workflows for rapid AI concept exploration (v0.12.0)
template list|info|exec|search|schemaExperiment offline with 100+ models (v0.11.0-v0.11.2)
llmspell model list|pull|info|statusFeature flags for rapid development cycles (v0.10.0)
Vector search and hybrid retrieval for concept validation (v0.8.0)
Browser-based AI workflow development and monitoring
/swagger-ui/llmspell web start β http://localhost:3000Modular tools for rapid prototyping
--features common): Templates (Tera/Handlebars), PDF processing--features full): Excel, CSV, archives, email, databasellmspell tool list|info|invoke|search|testWhen validating at scale or extracting to production (v0.10.0)
Coordinate 2-20+ agents for complex workflows
Experiment safely with isolated tool execution
# Clone repository
git clone https://github.com/lexlapax/rs-llmspell
cd rs-llmspell
# Choose your build:
cargo build --release # Minimal: 19MB (core, fast compile)
cargo build --release --features common # Common: 25MB (+templates, PDF)
cargo build --release --features full # Full: 35MB (all tools)
# Set API key (or use local LLMs)
export OPENAI_API_KEY="sk-..." # Optional for cloud models
# Simple agent interaction
./target/release/llmspell exec '
local agent = Agent.create({model = "openai/gpt-4o-mini"})
print(agent:execute({prompt = "Explain Rust ownership in 2 sentences"}).response)
'
# Or use local LLM (zero cost)
./target/release/llmspell exec '
local agent = Agent.create({model = "local/llama3.1:8b@ollama"})
print(agent:execute({prompt = "What is async Rust?"}).response)
'
# Research workflow with memory
./target/release/llmspell template exec research-assistant \
--param topic="Rust async patterns" \
--param max_sources=10 \
--param memory_enabled=true
# Code generation experiment
./target/release/llmspell template exec code-generator \
--param description="Binary search tree in Rust" \
--param language="rust" \
--param model="ollama/llama3.2:3b"
# Memory exploration
./target/release/llmspell exec examples/script-users/getting-started/05-memory-rag-advanced.lua
Phase 13 Memory System (Experimental Infrastructure):
| Metric | Target | Achieved | Status |
|---|---|---|---|
| Memory add | <10ms | 0.248ms | β 40x faster |
| Context assembly | <100ms | ~8ms | β 12x faster |
| HNSW speedup | >5x | 8.47x | β 70% better |
| Memory overhead | <100ms | <2ms | β 50x faster |
Phase 12 Template System (Experimental Workflows):
| Metric | Target | Achieved | Status |
|---|---|---|---|
| Template list | <10ms | 0.5ms | β 20x faster |
| Execute overhead | <100ms | <2ms | β 50x faster |
| Parameter validation | <5ms | 0.1ms | β 50x faster |
Phase 10-11 Infrastructure (Service & Local LLM):
| Metric | Target | Achieved | Status |
|---|---|---|---|
| Daemon startup | <2s | 1.8s | β 10% faster |
| Tool init | <10ms | 7ms | β 30% faster |
| Vector search @ 100K | <10ms | 8ms | β 20% faster |
| Candle throughput | 30 tok/s | 40 tok/s | β 33% faster |
Completed (14/14 major phases):
Upcoming Experimental Features (Phases 15+):
Note: All phases build experimental infrastructure with production-quality engineering. When concepts are proven, extraction to production is straightforward.
For comprehensive guides, see Documentation Hub
# Quality checks before committing
./scripts/quality/quality-check-minimal.sh # Fast: format, clippy
./scripts/quality/quality-check-fast.sh # 1 min: + unit tests
# Run experimental workflows
./scripts/utilities/llmspell-easy.sh # Interactive launcher
./scripts/testing/test-by-tag.sh memory # Test memory system
See Scripts Overview for all automation tools.
New Contributors: Start with README-DEVEL.md for complete development environment setup.
Building experimental AI components? See Developer Guide for:
Read CONTRIBUTING.md for guidelines and workflow.
Apache License, Version 2.0. See LICENSE-APACHE for details.
v0.14.1 - Web Interface & Mission Control
Unified web interface for AI agent development and monitoring. Single-binary "Mission Control" with embedded React frontend.
Key Achievements:
llmspell web start works out of the box with defaultsSee Release Notes for complete details.
π Full Documentation: See docs/ for comprehensive user guides, technical architecture, and developer resources.
1,953 commits
2 commits
Rust
94.5%
Lua
1.8%
TypeScript
1.2%
Shell
1.1%
Rapid AI Experimentation Platform - Cast scripting spells to explore AI concepts, extract proven patterns to production-ready Rust
Rust
1
1,955 commits
updated Dec 14, 2025
Rapid AI Experimentation Platform - Cast scripting spells to explore AI concepts, extract proven patterns to production-ready Rust
π Version 0.14.1 - Web Interface & Mission Control
π Quick Links: π Documentation Hub | π Quick Start | π― What This Is | ποΈ Experiment β Production | π Release Notes | π οΈ Examples | π§ Contributing
π Note: rs-llmspell builds upon concepts from numerous open-source projects and owes special acknowledgment to go-llms, which was instrumental in rapidly prototyping early ideas. This Rust implementation supersedes go-llms, leveraging Rust's native compilation and zero-cost abstractions for experimental velocity with production-ready foundations.
rs-llmspell is an experimental platform for rapid AI concept exploration.
The Experiment-Extract Workflow:
Built with production-quality engineering (architecture, performance, testing, observability) to make the transition from experiment to production as painless as possible. We use Rust not because we're production-ready, but because proven patterns deserve solid foundations for extraction.
Current Status: v0.14.1 complete. "Mission Control" Web Interface (Phase 14) now available with unified single-binary deployment. Includes embedded React frontend, Monaco script editor, real-time console, and visual memory/session exploration. Performance validated with <100ms API latency and <2ms overhead. Project retains v0.13.1's production foundations: 10 storage backends, RLS multi-tenancy, and 21 preset profiles with 5540+ passing tests.
rs-llmspell prioritizes rapid experimentation while building production-ready foundations.
The Philosophy:
Although experimental, rs-llmspell is built with production-grade engineering:
Result: When your experiment succeeds, transitioning to production is engineering work, not research work.
β Experimental AI concept playground β Script-first rapid iteration β Production-quality engineering β Clear extraction path to Rust β Learning platform for AI patterns
β Production-ready out of the box β Enterprise deployment platform β Guaranteed stable APIs (pre-1.0) β Support contracts or SLAs
Latest experimental infrastructure for rapid memory pattern exploration
10 experimental workflows for rapid AI concept exploration (v0.12.0)
template list|info|exec|search|schemaExperiment offline with 100+ models (v0.11.0-v0.11.2)
llmspell model list|pull|info|statusFeature flags for rapid development cycles (v0.10.0)
Vector search and hybrid retrieval for concept validation (v0.8.0)
Browser-based AI workflow development and monitoring
/swagger-ui/llmspell web start β http://localhost:3000Modular tools for rapid prototyping
--features common): Templates (Tera/Handlebars), PDF processing--features full): Excel, CSV, archives, email, databasellmspell tool list|info|invoke|search|testWhen validating at scale or extracting to production (v0.10.0)
Coordinate 2-20+ agents for complex workflows
Experiment safely with isolated tool execution
# Clone repository
git clone https://github.com/lexlapax/rs-llmspell
cd rs-llmspell
# Choose your build:
cargo build --release # Minimal: 19MB (core, fast compile)
cargo build --release --features common # Common: 25MB (+templates, PDF)
cargo build --release --features full # Full: 35MB (all tools)
# Set API key (or use local LLMs)
export OPENAI_API_KEY="sk-..." # Optional for cloud models
# Simple agent interaction
./target/release/llmspell exec '
local agent = Agent.create({model = "openai/gpt-4o-mini"})
print(agent:execute({prompt = "Explain Rust ownership in 2 sentences"}).response)
'
# Or use local LLM (zero cost)
./target/release/llmspell exec '
local agent = Agent.create({model = "local/llama3.1:8b@ollama"})
print(agent:execute({prompt = "What is async Rust?"}).response)
'
# Research workflow with memory
./target/release/llmspell template exec research-assistant \
--param topic="Rust async patterns" \
--param max_sources=10 \
--param memory_enabled=true
# Code generation experiment
./target/release/llmspell template exec code-generator \
--param description="Binary search tree in Rust" \
--param language="rust" \
--param model="ollama/llama3.2:3b"
# Memory exploration
./target/release/llmspell exec examples/script-users/getting-started/05-memory-rag-advanced.lua
Phase 13 Memory System (Experimental Infrastructure):
| Metric | Target | Achieved | Status |
|---|---|---|---|
| Memory add | <10ms | 0.248ms | β 40x faster |
| Context assembly | <100ms | ~8ms | β 12x faster |
| HNSW speedup | >5x | 8.47x | β 70% better |
| Memory overhead | <100ms | <2ms | β 50x faster |
Phase 12 Template System (Experimental Workflows):
| Metric | Target | Achieved | Status |
|---|---|---|---|
| Template list | <10ms | 0.5ms | β 20x faster |
| Execute overhead | <100ms | <2ms | β 50x faster |
| Parameter validation | <5ms | 0.1ms | β 50x faster |
Phase 10-11 Infrastructure (Service & Local LLM):
| Metric | Target | Achieved | Status |
|---|---|---|---|
| Daemon startup | <2s | 1.8s | β 10% faster |
| Tool init | <10ms | 7ms | β 30% faster |
| Vector search @ 100K | <10ms | 8ms | β 20% faster |
| Candle throughput | 30 tok/s | 40 tok/s | β 33% faster |
Completed (14/14 major phases):
Upcoming Experimental Features (Phases 15+):
Note: All phases build experimental infrastructure with production-quality engineering. When concepts are proven, extraction to production is straightforward.
For comprehensive guides, see Documentation Hub
# Quality checks before committing
./scripts/quality/quality-check-minimal.sh # Fast: format, clippy
./scripts/quality/quality-check-fast.sh # 1 min: + unit tests
# Run experimental workflows
./scripts/utilities/llmspell-easy.sh # Interactive launcher
./scripts/testing/test-by-tag.sh memory # Test memory system
See Scripts Overview for all automation tools.
New Contributors: Start with README-DEVEL.md for complete development environment setup.
Building experimental AI components? See Developer Guide for:
Read CONTRIBUTING.md for guidelines and workflow.
Apache License, Version 2.0. See LICENSE-APACHE for details.
v0.14.1 - Web Interface & Mission Control
Unified web interface for AI agent development and monitoring. Single-binary "Mission Control" with embedded React frontend.
Key Achievements:
llmspell web start works out of the box with defaultsSee Release Notes for complete details.
π Full Documentation: See docs/ for comprehensive user guides, technical architecture, and developer resources.
1,953 commits
2 commits
Rust
94.5%
Lua
1.8%
TypeScript
1.2%
Shell
1.1%