# Repository Briefing: Dicklesworthstone/claude_code_agent_farm
> Source: https://repoforai.com/repo/Dicklesworthstone/claude_code_agent_farm (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Dicklesworthstone/claude_code_agent_farm
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Shell
- **License**: See repository
- **Engineering Health**: C (48/100 · Maintenance 20/35 · Adoption 16/25 · Releases 6/20 · License 6/20)
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, Self-Hosted
- **Momentum**: 924 ★ total (+0 24h / +0 7d) · 107 forks
- **Topics**: `ai-agents`, `automation`, `developer-tools`, `python`, `tmux`
- **When to Use**: Best for: 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. Skip if: You need enforced per-agent isolation, provider-neutral monitoring, offline inference or a small cross-cutting refactor better handled by one session.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Execution: `claude_code_agent_farm.py` drives tmux panes; `view_agents.sh` provides independent grid, focus and split views.
- Work planning: JSON configs select project commands, prompt files and chunk sizes; lint and type-check output can feed a shared problem list.
- Coordination: The cooperative prompt uses `coordination/active_work_registry.json`, file claims and a two-hour stale-lock threshold.
- Concurrency: The example config sets `agents: 20` and `max_agents: 50`, with staggered launches; these are settings, not measured throughput.
- Operations: The controller emits JSON monitor state, while `monitor-only` presents the dashboard without launching agents.
- Audit trail: Git commit summaries and HTML run reports provide review artifacts; settings backup and restoration address a separate class of operational failures.
```

## Quick Start / Clone
```bash
alias cc="ENABLE_BACKGROUND_TASKS=1 claude --dangerously-skip-permissions"
```
