Now Agents are Controllers Makes code tons of fun!
Getting Started
Docs
GitHub
Controllers for AI. Define actions, use callbacks, render views. Rails conventions for LLM interactions.
🔧
AI calls Ruby methods to fetch data and make decisions. Works like RPC for agents.
📊
Extract typed data with JSON schemas. Validated responses for forms and APIs.
🏭
OpenAI, Anthropic, Ollama, OpenRouter. Switch providers with one line of code.
📡
Real-time response streaming with callbacks for dynamic UIs and live updates.
🎯
Generate vectors for semantic search, RAG, and clustering applications.
🧪
Test with fixtures and VCR cassettes. Mock providers for fast tests.
⏳
Process generations async with Active Job. Scale AI operations in the background.
🛡️
Automatic retries with exponential backoff. Graceful degradation for production.