Dicklesworthstone/claude_code_agent_farm
Python and tmux orchestration for parallel Claude Code repairs and maintenance
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
A Python 3.13+ controller, claude_code_agent_farm.py, loads a JSON configuration, can turn project checks into a problem list, and starts interactive cc sessions in tmux panes. The controller window hosts the dashboard, with monitor state written to JSON. The optional view_agents.sh is a tmux viewer rather than a second controller and can run independently.
The principal extension points are the configured command arrays, prompt files and the cc launcher alias, not an MCP server or a provider SDK. Keep the two locking mechanisms distinct: the orchestrator uses file locking for concurrent access, while the cooperative workflow delegates task ownership to agents via prompt-directed claims and coordination/active_work_registry.json. Those claims coordinate work; they are not a filesystem sandbox.
Key Capabilities & Differentiators
The bug-fixing workflow turns configured type-check and lint results into chunks of repair work. The best-practices workflow pairs a stack-specific guide with @_BEST_PRACTICES_IMPLEMENTATION_PROGRESS.md so work can continue across sessions. A separate cooperative workflow uses scoped file and feature claims, a completed-work log and stale-lock handling to reduce duplicate or overlapping work. Presets span 34 stacks, including Next.js, Python, Go and Rust.
The example configuration requests 20 agents and sets max_agents to 50; these are configuration values, not validated performance figures. Runtime controls include launch staggering, heartbeat and context monitoring, adaptive idle handling and automatic restarts. Git commit summaries and HTML reports help operators review the run. OpenCode and Codex CLI can be launched via cc, but readiness detection, context resets and usage-limit signals are tuned to Claude Code.
Trade-offs & Limitations
Compared with manually running a few Claude Code sessions in separate Git worktrees, the farm adds check-driven worklists, centralized monitoring, restarts and run reports. It is most useful when there is a large backlog of separable fixes. For tightly coupled changes, prompt-followed locks do not enforce write isolation or prevent semantic conflicts; changes in different files can still break a shared contract. Review diffs and run integrated tests before merging.
The launcher alias is easy to swap, but the richer automation depends on recognizing Claude Code's terminal output and commands. A CLI update can therefore impair monitoring without preventing startup. The standard launcher is also configured to bypass interactive permission checks, so operator visibility is not a substitute for isolation. The manifest declares MIT while repository license metadata is unspecified; verify the LICENSE file before redistribution and assess model service terms separately.
Hardware & Deployment Guide
Run it on a POSIX host with Python 3.13+, uv, tmux, Git, authenticated Claude Code and the target project's toolchain. setup.sh provides interactive setup, including shell alias configuration; optional direnv handles environment activation. Verify the environment with claude-code-agent-farm doctor --path /path/to/project, then select the matching JSON configuration with --config.
Review the setup script and launcher before use, especially its documented permission-bypass mode. Pilot on a disposable checkout in an isolated, least-privilege environment with narrowly scoped credentials. The controller is self-hosted, but Claude Code remains a separate service dependency; a local install is not an offline inference deployment. No GPU is required by the orchestrator itself. Filesystem, CPU and memory demand depend on concurrent agents and project checks, and model-provider quotas can bind first. The package manifest lists version 1.0.0 and Beta status; no GitHub release milestone is listed.
claude_code_agent_farm.py drives tmux panes; view_agents.sh provides independent grid, focus and split views.coordination/active_work_registry.json, file claims and a two-hour stale-lock threshold.agents: 20 and max_agents: 50, with staggered launches; these are settings, not measured throughput.monitor-only presents the dashboard without launching agents.Teams with a large, divisible backlog of lint, type and maintenance fixes that can run parallel agents in an isolated checkout and review the resulting changes.
You need enforced per-agent isolation, provider-neutral monitoring, offline inference or a small cross-cutting refactor better handled by one session.
Quick Start & Installation
alias cc="ENABLE_BACKGROUND_TASKS=1 claude --dangerously-skip-permissions"Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| claude_code_agent_farm ★ | 924 | — | Shell | — | Python and tmux orchestration for parallel Claude Code repairs and maintenance |
| Codewhale | 41.2k | +38 | Rust | MIT | Rust coding agent with swappable models, sandboxed execution, and turn receipts |
| gemini-cli | 109.6k | +376 | TypeScript | Apache-2.0 | A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools |
| oh-my-pi | 40.5k | +483 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Dicklesworthstone/claude_code_agent_farm.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about claude_code_agent_farm
How does the farm integrate with Claude Code, and can I swap in another agent CLI?
cc in each tmux pane and monitors terminal output. OpenCode and Codex CLI can be launched through the same alias, but Claude-specific readiness checks, context resets and health detection should not be assumed to work with them. The integration is at the terminal level, not an MCP server interface.Does the farm need a GPU, and how should I size the host?
Can we self-host it for commercial use?
pyproject.toml declares MIT, but the repository's top-level license metadata is unspecified. A LICENSE file is present; verify its text and scope before redistribution. Self-hosting covers the orchestrator, not the model backend: assess Claude Code service terms, authentication and code-data handling separately.When is this better than running Claude Code in separate Git worktrees?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy