If you use Claude Code heavily, you eventually hit the same wall:
- some tasks are cheap enough for local models
- some tasks want a stronger coding agent
- some tasks are better sent to an API model
But many MCP servers still force one provider and one execution style.
So I evolved helix-agent into helix-agents.
It now lets Claude Code delegate work across:
ollamacodexopenai-compatible
from one MCP server.
What changed
The original project was focused on one thing: sending routine work to local Ollama models with automatic routing.
The new version keeps that path, but adds:
- multi-provider switching
- Codex-backed code delegation
- OpenAI-compatible chat API support
- Claude Code-style background agents
Under the hood, the runtime now supports two different delegation styles:
- a built-in ReAct loop for
ollamaandopenai-compatible - an autonomous Codex-backed path for repo-heavy work
That means the workflow is no longer:
Claude Code -> one tool call -> one reply
It can now be:
Claude Code
-> spawn a worker
-> send follow-up instructions
-> wait for completion
-> inspect and close
Why this matters
Different providers are good at different things.
-
ollama: local reasoning, low-cost drafts, vision -
codex: code-heavy implementation and repo work -
openai-compatible: hosted chat models behind standard APIs
Instead of wiring three separate MCP servers with different interaction models, I wanted one consistent runtime.
New tools
Core tools:
thinkagent_taskseeprovidersmodelsconfig
Background agent tools:
spawn_agentsend_agent_inputwait_agentlist_agentsclose_agent
Example flows
1. Code review via Codex
think(
task="Review this diff for regressions",
provider="codex",
cwd="/repo"
)
2. Local summarization via Ollama
think(
task="Summarize this build log",
provider="ollama"
)
3. Persistent investigation worker
spawn_agent(
description="Investigate flaky tests",
provider="codex",
agent_type="explorer"
)
Then:
send_agent_input(...)
wait_agent(...)
close_agent(...)
Setup
git clone https://github.com/tsunamayo7/helix-agent.git
cd helix-agent
uv sync
uv run python server.py
Add to Claude Code:
{
"mcpServers": {
"helix-agents": {
"command": "uv",
"args": ["run", "--directory", "/path/to/helix-agent", "python", "server.py"]
}
}
}
Notes
- Codex requires
codexonPATH - OpenAI-compatible mode requires an API key
- The generic OpenAI-compatible path is currently text-first
- Vision is currently centered on the Ollama path
GitHub: helix-agent
Top comments (0)