How matank001/clodfarm works
Clodfarm is a multi-account farm for long-running coding agents, with a web UI and CLI for people and agent-to-agent coordination. A typical flow is a person submits work, the farm queues and dispatches it to an agent, and the agent works in a branch before changes are merged. The product also includes usage pacing, sessions and policy controls, model-provider bots, browser access, shared boards, dashboards, and business integrations. The graph follows documented relationships and indexed imports; unsampled internals leave some wiring unspecified.
Main entry points: web.py Farm UI · agents.py Agent runs · supervisor.py Farm supervisor · store.py Task queue and state
Components 23
Agent runtime
- Farm supervisor
clodfarm/supervisor.py - Agent runs
clodfarm/agents.py - Agent guidance
clodfarm/prompts.py - Model bots
clodfarm/bots.py - Provider relay
clodfarm/relay.py - Process control
clodfarm/procs.py - Git worktrees
clodfarm/gitops.py
Farm coordination
- Task queue and state
clodfarm/store.py - State backends
clodfarm/backends.py - Usage governor
clodfarm/governor.py - Task schedules
clodfarm/schedule.py - Session history
clodfarm/sessions.py - Tool policies
clodfarm/policy.py
Farm capabilities
- Shared whiteboards
clodfarm/boards.py - Live dashboards
clodfarm/dashboards.py - Business connectors
clodfarm/connectors.py - AWS app deployment
clodfarm/awsapps.py - Shared browser
clodfarm/browser.py - Work planner
clodfarm/planner.py - Slack integration
clodfarm/slack.py
Other components
- Person
Connections 25
- Person → Farm UI: requests work
- Person → Farm CLI: runs commands
clodfarm/cli.py - Farm UI → Task queue and state: views farm state
clodfarm/web.py - Farm CLI → Task queue and state: manages tasks
clodfarm/cli.py - Farm supervisor → Agent runs: starts runs
clodfarm/supervisor.py - Agent runs → Task queue and state: claims tasks
clodfarm/store.py - Agent runs → Process control: controls processes
clodfarm/agents.py - Agent runs → Agent guidance: loads guidance
clodfarm/agents.py - Agent runs → Model bots: selects bot
clodfarm/agents.py - Agent runs → Provider relay: uses relay
clodfarm/agents.py - Task queue and state → State backends: persists state
clodfarm/store.py - Farm supervisor → Usage governor: paces agents
clodfarm/supervisor.py - Farm supervisor → Task schedules: runs schedules
clodfarm/supervisor.py - Farm supervisor → Git worktrees: manages branches
clodfarm/supervisor.py - Farm supervisor → Live dashboards: refreshes dashboards
clodfarm/supervisor.py - Farm supervisor → Work planner: runs planner
clodfarm/supervisor.py - Task queue and state → Session history: tracks sessions
clodfarm/store.py - Farm CLI → Tool policies: configures controls
clodfarm/cli.py - Farm UI → Shared whiteboards: serves boards
clodfarm/web.py - Farm UI → Business connectors: manages connections
clodfarm/web.py - Farm UI → Shared browser: serves browser UI
clodfarm/web.py - Farm UI → AWS app deployment: manages AWS apps
clodfarm/web.py - Farm UI → Slack integration: integrates Slack
clodfarm/web.py - Agent runs → Git worktrees: works in branches
- Model bots → Provider relay: routes model calls
clodfarm/relay.py