Move beyond simple Crews and Agents. Use orra to build production-ready multi-agent applications that handle complex real-world interactions.
orra coordinates tasks across your existing stack, agents and any tools run as services using intelligent reasoning — across any language, agent framework or deployment platform.
- 🧠 Smart pre-evaluated execution plans
- 🎯 Domain grounded
- 🗿 Durable execution
- 🚀 Go fast with tools as services
- ↩️ Revert state to handle failures
- ⛑️ Automatic service health monitoring
- 🔮 Real-time status tracking
- 🪝 Webhook result delivery
- Agent replay and multi-LLM consensus planning
- Continuous adjustment of Agent workflows during runtime
- Additional language SDKs - Ruby, DotNet and Go very soon!
- MCP integration
- Installation
- How The Plan Engine Works
- Guides
- Explore Examples
- Docs
- Self Hosting & On-premises Deployment
- Support
- License
- Docker and Docker Compose - For running the Plan Engine
- Set up Reasoning and Embedding Models to power task planning and execution plan caching/validation
Select from a variety of supported models:
Reasoning Models:
- OpenAI's
o1-mini
oro3-mini
on cloud deepseek-r1
orqwq-32b
on cloud or self-hosted (on-premises or locally)
Embedding Models:
- OpenAI's
text-embedding-3-small
on cloud jina-embeddings-v2-small-en
on cloud or self-hosted (on-premises or locally)
Note: The Plan Engine requires all model endpoints to be OpenAI API-compatible. Most model serving solutions (like vLLM, LMStudio, Ollama, etc.) can be configured to expose this compatible API format.
Quick Cloud Setup Example:
Update the .env based on the _env file with one of these:
# OpenAI Reasoning
LLM_MODEL=o1-mini
LLM_API_KEY=your_api_key
LLM_API_BASE_URL=https://api.openai.com/v1
# OpenAI Embeddings
EMBEDDINGS_MODEL=text-embedding-3-small
EMBEDDINGS_API_KEY=your_api_key
EMBEDDINGS_API_BASE_URL=https://api.openai.com/v1
Self-hosted/On-premises Example:
Update the .env based on the _env file with one of these:
# Self-hosted QwQ model
LLM_MODEL=qwq-32b-q8
LLM_API_KEY=your_internal_key # Optional depending on your setup
LLM_API_BASE_URL=http://your-internal-server:8000/v1
# Self-hosted Jina embeddings
EMBEDDINGS_MODEL=jina-embeddings-v2-small-en
EMBEDDINGS_API_KEY=your_internal_key # Optional depending on your setup
EMBEDDINGS_API_BASE_URL=http://your-internal-server:8001/v1
→ Complete Model Configuration Documentation
Download the latest CLI binary for your platform from our releases page:
# macOS
curl -L https://github.com/orra-dev/orra/releases/download/v0.2.4/orra-darwin-arm64 -o /usr/local/bin/orra
chmod +x /usr/local/bin/orra
# Linux
curl -L https://github.com/ezodude/orra/releases/download/v0.2.4/orra-linux-amd64 -o /usr/local/bin/orra
chmod +x /usr/local/bin/orra
# Verify installation
orra version
Clone the repository and start the Plan Engine:
git clone https://github.com/ezodude/orra.git
cd orra/planengine
# Start the Plan Engine
docker compose up --build
The Plan Engine powers your multi-agent applications through intelligent planning and reliable execution:
Your agents stay clean and simple (wrapped in the orra SDK):
Python
from orra import OrraAgent, Task
from pydantic import BaseModel
class ResearchInput(BaseModel):
topic: str
depth: str
class ResearchOutput(BaseModel):
summary: str
agent = OrraAgent(
name="research-agent",
description="Researches topics using web search and knowledge base",
url="https://api.orra.dev",
api_key="sk-orra-..."
)
@agent.handler()
async def research(task: Task[ResearchInput]) -> ResearchOutput:
results = await run_research(task.input.topic, task.input.depth)
return ResearchOutput(summary=results.summary)
JavaScript
import { initAgent } from '@orra.dev/sdk';
const agent = initAgent({
name: 'research-agent',
orraUrl: process.env.ORRA_URL,
orraKey: process.env.ORRA_API_KEY
});
await agent.register({
description: 'Researches topics using web search and knowledge base',
schema: {
input: {
type: 'object',
properties: {
topic: { type: 'string' },
depth: { type: 'string' }
}
},
output: {
type: 'object',
properties: {
summary: { type: 'string' }
}
}
}
});
agent.start(async (task) => {
const results = await runResearch(task.input.topic, task.input.depth);
return { summary: results.summary };
});
Features:
- AI analyzes intent and creates execution plans that target your components
- Automatic service discovery and coordination
- Parallel execution where possible
# Define domain constraints
name: research-workflow
domain: content-generation
use-cases:
- action: "Research topic {topic}"
capabilities:
- "Web search access"
- "Knowledge synthesis"
constraints:
- "Verify sources before synthesis"
- "Maximum research time: 10 minutes"
Features:
- Full semantic validation of execution plans
- Capability matching and verification
- Safety constraints enforcement
- State transition validation
# Execute an action with the Plan Engine
orra verify run "Research and summarize AI trends" \
--data topic:"AI in 2024" \
--data depth:"comprehensive"
The Plan Engine ensures:
- Automatic service health monitoring
- Stateful execution tracking
- Built-in retries and recovery
- Real-time status updates
- Webhook result delivery
- From Fragile to Production-Ready Multi-Agent App
- From Fragile to Production-Ready Multi-Agent App (with Cloudflare Agents)
- 🛒 E-commerce AI Assistant (JavaScript) - E-commerce customer service with a delivery specialized agent
- 👻 Ghostwriters (Python) - Content generation example showcasing how to use orra with CrewAI
- 📣 Echo Tools as Service (JavaScript) - Simple example showing core concepts using JS
- 📣 Echo Tools as Service (Python) - Simple example showing core concepts using Python
- Rapid Multi-Agent App Development with orra
- What is an Agent in orra?
- Orchestrating Actions with orra
- Domain Grounding Execution
- Execution Plan Caching
- Core Topics & Internals
- Model Configuration for the orra Plan Engine
The orra Plan Engine is packaged with a Dockerfile for easy deployment:
- Local Development: Run it as a single instance using Docker or Docker Compose
- On-premises Deployment: Deploy in your own infrastructure with your preferred orchestration system
- Cloud Service: Run on managed container services like Digital Ocean's App Platform or any Kubernetes environment
The Plan Engine fully supports self-hosted open-source models:
- Reasoning: Deploy
deepseek-r1
orqwq-32b
using your preferred model serving solution including on-premises - Embeddings: Self-host
jina-embeddings-v2-small-en
for complete control
Important: Your model serving solution must expose an OpenAI-compatible API. Solutions like vLLM, LMStudio, Ollama with OpenAI compatibility mode, or Replicate all work great.
→ Complete Model Configuration Guide
The Plan Engine uses BadgerDB embedded database to persist all state - operational information is queryable using the orra CLI.
Book an office hours slot to get help hosting or running orra's Plan Engine for production.
Need help? We're here to support you:
- Report a bug or request a feature by creating an issue
- Start a discussion about your ideas or questions
Orra is MPL-2.0 licensed.