- AURA — the AI agent server running in orchestration mode (
mezmo/aura:latest) - Math MCP — an MCP server providing arithmetic, statistics, and trigonometry tools
- LibreChat — a ChatGPT-style web UI connected to AURA
- Phoenix — an LLM trace viewer for inspecting every tool call, prompt, and token
How Orchestration Mode Works
In orchestration mode AURA routes each request through a coordinator that decides how to respond:- Direct answer — simple, single-step requests are answered immediately
- Worker dispatch — complex or multi-step problems are decomposed into a plan and delegated to specialized workers, each with access to a filtered subset of tools
- Clarification — vague requests prompt the coordinator to ask for more detail
Setup
1. Add your API key
.env and paste your OpenAI (or Anthropic) API key.
2. Start everything
--build flag is required on first run to build the math MCP image.
3. Open the UIs
LibreChat first-time setup: Create your user account on the signup page. The agent model is pre-configured as “AURA”.
Try It Out
Once everything is up, try these prompts in LibreChat: Direct answer (no workers dispatched):What is 2 + 2?Multi-step orchestration (coordinator dispatches arithmetic worker):
Calculate (3 + 7) × 2, then subtract 5 from the result.Mixed domain (coordinator dispatches arithmetic + statistics workers):
Multiply each of [1, 2, 3, 4] by 3, then find the mean of the results.Clarification trigger:
Compute the thing.Watch Phoenix at http://localhost:6006 to see the full trace of coordinator planning and worker execution.
Customize
Editconfig.toml and restart AURA:
Switch LLM provider
Uncomment the Anthropic block inconfig.toml and set ANTHROPIC_API_KEY in .env.
Adjust routing behavior
Add or modify workers
Each[orchestration.worker.<name>] section defines a worker. The mcp_filter list controls which tools from the math MCP server that worker can use.
Architecture
- LibreChat sends chat requests to AURA’s OpenAI-compatible
/v1/chat/completionsendpoint - AURA runs a coordinator LLM that routes requests, dispatches workers, and streams responses
- Math MCP exposes arithmetic, statistics, and trigonometry tools via the MCP protocol
- Phoenix receives OpenTelemetry traces so you can inspect every coordinator and worker step
Troubleshooting
math-mcp build fails
The Dockerfile clones EthanHenrickson/math-mcp from GitHub. Ensure you have internet access during docker compose up --build.
LibreChat shows “no models available”
AURA may still be starting (it waits for math-mcp to be healthy first). Check docker compose logs aura --tail 5 and refresh.
Reset everything

