npx claudepluginhub tobias-walle/agencyMarketplace for the Agency CLI - an AI agent orchestrator
Agency is an AI agent orchestrator running purely in the command line.
npm install -g agency-clibrew install tobias-walle/tap/agencycargo install --git https://github.com/tobias-walle/agencyagency setupagency initagencyThe easiest option is to use the TUI; run agency tui or just agency.

Everything available in the TUI is also available via the CLI:
agency --help - See all available commandsagency new my-task - Create a new task with slug my-task, start a session for it, and attach immediately (no editor by default).agency new --draft my-task - Create a new task as a draft (doesn't start or attach; in interactive TTY mode without a description, this opens your editor to write the initial instructions).agency edit my-task - Edit a draft task.agency start my-task - Start a task that is a draft or stopped.agency attach my-task or agency attach 1 - Open the agent TUI by slug or ID.agency attach --follow - Attach to the focused task in a running Agency TUI.agency stop my-task - Stop a running task (keep its worktree and branch).agency merge my-task - Merge the task back into the base branch.agency path my-task - Get the worktree path for a task.agency shell my-task - Open a shell in the task's worktree.agency tasks - List all tasks and their status.agency config - Open the global Agency config in your editor.agency daemon start|stop|restart - Manage the background daemon that tracks sessions and notifies clients.agency --help).Teach your AI coding agent how to use Agency by installing the Agency skill. Once installed, your agent will know how to parallelize tasks using Agency when you ask it to.
/plugin marketplace add tobias-walle/agency
/plugin install agency@agency
# Alternative: install via Agency CLI
agency skill install
# When prompted, select: "Claude (~/.claude/skills)"
agency skill install
# When prompted, select: "Codex (~/.codex/skills)" or a custom path
Configuration is layered in three tiers:
agency defaults)~/.config/agency/agency.toml (created by agency setup)./.agency/agency.tomlAgency uses Tmux to manage the background agents.
If you attach to an agent you are basically opening Tmux.
Config precedence when starting sessions:
~/.tmux.conf, then ~/.config/tmux/tmux.conf~/.config/agency/tmux.conf./.agency/tmux.confYou can define custom agents using any CLI command.
[agents.my-agent]
cmd = ["my-agent", "-p", "$AGENCY_TASK"]
The following environment variables are injected into the command:
$AGENCY_TASK - The full prompt for the current task.$AGENCY_ROOT - The path to the folder of the main repo (not the worktree).$AGENCY_TASK_ID - The numeric ID of the task.You can also use the <root> placeholder for relative paths (works in any config in which you define a path).
[agents.my-local-agent]
cmd = ["<root>./my-local-agent", "-p", "$AGENCY_TASK"]
Check out the default config for a few examples.
Control which editor Agency uses when opening files (e.g. task descriptions, worktrees, and config):
# Preferred editor argv. If unset, Agency falls back to $EDITOR, then to `vi`.
editor = ["nvim"]
# Examples:
# editor = ["code", "-w"]
# editor = ["zed", "--wait"]
You can also run agency config to open (and create if missing) the global config file directly in your editor.