Skip to content

About

Harness Configurator: Switch agent setups for Claude Code and Codex CLIs without reinstalling everything. Agent agnostic skill composition, made easy. Install Agent Farm, your Agent's Package Manager (APM) now.

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Repository files navigation

Agent Farm — a pixel-art robot tending skill crops beside native terminal huts

Agent Farm

Load the right skills for each job. Keep your native terminal.

Agent Farm is a harness configurator. A harness is the full working setup around an AI model — instructions, tools, permissions, and checks. Agent Farm lets you save different setups and switch between them without reinstalling everything for every conversation.

Pick a setup, point it at a repo, and Agent Farm opens your native Claude Code or Codex terminal with that configuration loaded.

Think of each setup as a desk prepared for a job. For SEO, you might lay out site references, search tools, and a skill that walks through researching and improving a page. For presentations, you bring brand guidelines, slide tools, and a workflow for turning an outline into a story. Each setup keeps the relevant material close to the work.

Install

Requires Node 22.15+ on macOS, Linux, or Windows, and the Claude Code and/or Codex CLI installed and authenticated. On Windows, turn on Developer Mode (Settings > System > For developers) before launching Codex profiles or running agent-farm set global, because those link individual files.

npm install --global @greenfieldco/agent-farm
agent-farm init
agent-farm plugin install orchestra    # optional: the overseer profile below
agent-farm plugin install machine-security  # optional: audit and harden this Mac or PC

agent-farm init checks your prerequisites, installs the default greenfield plugin (its profiles and skills), explains how everything fits together, and offers to launch your first session. The orchestra and machine-security plugins ship in the same package but are installed only when you ask for them. After upgrading Agent Farm, rerun agent-farm plugin install and agent-farm plugin install NAME for each other bundled plugin you use (orchestra, machine-security), to pick up new profiles. A plugin that is no longer in the package stays installed as it is until you run agent-farm plugin uninstall NAME.

Launched agents run without permission prompts (Claude --dangerously-skip-permissions, Codex --yolo). Read docs/operations.md before pointing one at a repository you care about.

To work on Agent Farm itself, see docs/development.md.

Profiles

Agent Farm ships with profiles ready to use. A profile is what you start a Session with; every other role is an agent that a profile links to and starts for you. With greenfield and orchestra installed, agent-farm shows a menu like this (abridged):

◆  What would you like to do? Tab: show all descriptions
│  ● greenfield/orchestrator (2) (Coordinate planners, implementers and reviewers as fresh agents in one workspace per feature, …)
│  ○ greenfield/business (2)
│  ○ greenfield/seo
│  ○ orchestra/overseer (2)
│  ─────────────────────
│  + Create new profile

Highlight a profile to see what it's for, or press Tab to show every profile's description at once.

Orchestrator — greenfield/orchestrator runs software work: it plans with you, then starts a planner, an implementer and a reviewer for each feature, one workspace per feature, and keeps a status page that says what is next. orchestra/overseer builds, tests, and reviews a task into a pull request with little hand-holding.

Business — greenfield/business writes proposals, plans and memos, from research and discussion to a reviewed final draft.

SEO — greenfield/seo runs the whole SEO loop on a product (measure what shipped, investigate drops, rank quick wins, write pages as draft PRs) through five SEO roles.

Agents (all in greenfield) — the orchestrator's team also runs on its own: planner helps you understand a problem, decide what to do, and write the plan; implementer is the AI model on its own plus a few good habits, building a plan or a clear task into a pull request and watching it until checks are green; reviewer reviews a pull request from many angles at once; qa-and-fix tests a finished pull request and fixes small safe problems; simplify-and-refactor asks whether an open pull request could be simpler. There are also bug-reporter, product-researcher, audits, code-smell-fixes, codebase-audit, ui-polish, ui-motion, customer-insights-loop and planning-and-prioritization. Run any of them with agent-farm run greenfield/<agent>; the greenfield guide lists them all.

machine-security — machine-security/audit scans the Mac or Windows PC you're working on (updates, disk encryption, antivirus and firewall, sharing and remote access, startup persistence, secrets on disk, SSH keys, package-manager and agent settings, MCP servers), reports what to fix first, and applies only the fixes you approve, one command at a time. The scans are read-only, never use sudo or elevation, and never print a secret value. See plugins/machine-security/README.md.

Guides — The workflow plugins each have a one-page visual guide to their profiles and how work is routed: greenfield and orchestra. They're also on Grain: greenfield and orchestra.

Variants — Some profiles and agents come in a Claude and a Codex version, the only two variant names. They're one profile (or agent) with variants, and the menu shows how many: greenfield/orchestrator (2), and asks which one you want. agent-farm run never asks: without a variant name it launches the profile's default and prints the commands for the others. Add the variant name to run another, as in greenfield/planner:codex. If a variant fails to start, the error names the other variants to try. agent-farm profiles list shows every variant with its model. Resuming with --resume ID reopens the variant that started the session, and a host that runs Agent Farm in its own terminals can use it to restore them (details).

Four entry points

A pixel-art farm crossroads with signs for init, interactive, help, and doctor

agent-farm init         # First-time setup — the starting point
agent-farm              # Interactive — pick a profile, create one, launch
agent-farm help         # Reference — every command, for humans and agents
agent-farm doctor       # Diagnostic — check prerequisites, config, profiles, MCP sign-ins

agent-farm init is where you start, and agent-farm runs it for you on first launch. After that, agent-farm is your everyday launcher. agent-farm help is the single discovery point for all commands. agent-farm doctor tells you what's working and what's not.

For power users

agent-farm run greenfield/orchestrator
agent-farm run greenfield/orchestrator:codex
agent-farm run greenfield/planner
agent-farm run greenfield/implementer --directory ~/repos/my-project --message "Fix the failing tests"
agent-farm run greenfield/implementer:codex
agent-farm run greenfield/reviewer:codex --message "Review PR #42"

Several plugins can be installed together. Use plugin/profile when plugins publish the same name: if another installed plugin also has an implementer, agent-farm run implementer stops and asks you to qualify it. Setting "default_plugin": "greenfield" in settings.json makes bare names prefer that plugin.

--arg values are declared by each agent; agent-farm inspect PROFILE lists them. Run agent-farm help run for all flags.

Dashboard

agent-farm ui opens a local browser dashboard with Sessions and Profiles. Sessions shows each run's user turns, sub-agents, timeline, token usage, and reported cost. Profiles lets you create and edit local presets and duplicate read-only plugin profiles. It opens a browser, not an agent session.

How it works

Pixel-art workflow: choose a profile, assemble a launch bundle with shared skills, child agents, and optional workspace connections, write it to the repository, and open the native terminal

Choose a profile to select an agent's harness, model, and instructions. Agent Farm combines that definition with shared skills, child agent definitions, and optional workspace MCP connections into a launch bundle in .agent-farm/generated/ under the launch directory, then opens Claude Code or Codex to work there. It first saves a snapshot of the installed plugins in .agent-farm/snapshots/, which the agents it starts and its resumes reuse, so a plugin update doesn't change a running team (Session snapshots). Add .agent-farm/generated/ and .agent-farm/snapshots/ to your repository's .gitignore.

Your own MCP servers stay out by default. A launch loads only the profile's and workspace's connections, so the MCP servers and connectors you set up in Claude or Codex yourself (Gmail, Attio, Notion and so on) are missing, and the agent reports them as not connected. Add --inherit-mcp to load them too:

agent-farm run greenfield/orchestrator --inherit-mcp

To make that the default, set { "mcp": "inherit" } in your host settings.json. Read Your own MCP servers first: inherited project servers start without Claude's approval prompt.

  • Profile — a saved setup. "When I say planner, I mean: use this agent, optionally with these model fields and launch arguments." Like choosing which worker to send.
  • Agent — the worker definition. Which AI brain, what it knows, what instructions it follows, who it can delegate to.
  • Skill — a playbook. Step-by-step instructions for a kind of task: how to create a ticket, review code, or investigate a bug.
  • Workspace — the toolbox for a project. Which external tools (Linear, Sentry, databases) an agent can reach when working on that project.

Configuration

A pixel-art farm shed organizing profiles, agents, skills, and workspaces into four labeled compartments

Personal configuration lives in ~/.config/agent-farm/; every command accepts --config-root DIR to use another directory. Project connections and instructions live in a tracked .agent-farm/workspace.yaml at the repository root, which you approve once with agent-farm workspace trust. Keep secrets out of these files: connections name environment variables instead of holding values.

agent-farm plugin install                 # bundled greenfield
agent-farm plugin install orchestra
agent-farm plugin install machine-security
agent-farm plugin install /path/to/plugin
agent-farm plugin list
agent-farm profiles list
agent-farm workspace trust                # approve this repository's workspace file
agent-farm run greenfield/implementer --explain   # show the resolved launch without starting it

Sessions record local OpenTelemetry data under ~/.local/state/agent-farm/telemetry/; nothing is sent anywhere. Conversation text is recorded only if you set telemetry.capture_content: true. To route third-party models through a gateway such as OpenRouter, use agent-farm provider set (details).

The configuration reference covers profiles, agents, skills, plugins, workspaces and trust, launch arguments, telemetry, and providers.

Documentation

The bundled plugins are not all edited here. plugins/orchestra/ is generated from upstream by a script, so hand edits to it are overwritten. plugins/greenfield/ and plugins/machine-security/ are written here. See RUNBOOK.md.

About

Harness Configurator: Switch agent setups for Claude Code and Codex CLIs without reinstalling everything. Agent agnostic skill composition, made easy. Install Agent Farm, your Agent's Package Manager (APM) now.

Topics

Resources

Stars

9 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages