The terminal-native agentic development environment for 10x productivity.
A blackboard for coding agents - One shared board. A fleet of agents. Add tasks, delegate to multiple coding agents running in parallel and let different models collaborate on the same task with automatic session switching and context awareness, e.g. Codex planning, Claude implementing, Grok review.
Quick Start β’ Features β’ Usage β’ Mobile β’ Skills β’ Oneshot β’ MCP Server β’ Plugins β’ Orchestrator β’ Configuration
- Supported Agents:Β
Claude Code
Codex
Grok
Cursor
OpenCode
Antigravity
Gemini CLI
Copilot
pi
- Parallel Multi-agent task lifecycle: Configure different agents per workflow phase β e.g. Grok for research, Claude for implementation, Codex for review β with automatic agent switching and context handover.
- Multi-project Kanban board: Manage agent sessions across all projects via a single TUI without leaving your terminal.
- Vim-native Keybindings: Control the board and agent sessions with your Vim-powered muscle memory.
- Mobile support: Press
Wand scan the QR for an installable web app with the board, task details, diffs and the agent's live terminal β including a keyboard, so you can answer a permission prompt without going back to your desk. Over your wifi, or from anywhere via your tailnet. See Mobile. - Orchestrator agent (experimental): A dedicated agent that autonomously manages your kanban board via MCP β delegates to coding agents, advances phases, checks for merge conflicts.
- Oneshot skill: Give a coding agent session a goal with
/agtx:oneshotand it runs the whole board unattended β plans the work in milestone waves, starts tasks, unblocks the workers, judges Review, and merges each task. See Oneshot Skill. - Brainstorm & Sweep skills: Capture ideas and push them to the board from any coding agent session β
/agtx:brainstormto explore freely,/agtx:sweepto decompose and create tasks with one confirmation step. - Spec-driven plugins: Plug in GSD, Spec-kit, OpenSpec, BMAD, Superpowers and more β fully customizable. Ddefine your own workflow via a single TOML file. See Plugins how to create a plugin.
Note
Just need a plain coding-agent session-manager with full human-in-the-loop control and no spec-driven skill execution and orchestration on advancing tasks?
Choose the void plugin and enjoy agtx as a batteries included multi-agent session-manager.
# Install
curl -fsSL https://raw.githubusercontent.com/fynnfluegge/agtx/main/install.sh | bash# Run in any git repository
cd your-project && agtxNote
Add .agtx/ to your project's .gitignore to avoid committing worktrees and local task data.
# Install from source β `serve` adds the mobile board (`W`), and the
# published binaries are built with it
cargo build --release --features serve
cp target/release/agtx ~/.local/bin/agtx checks GitHub once a day for a newer release and shows β¬ 0.2.8 [u] in the
board header when there is one. Press u for the details and one key to
install it, or from a shell:
agtx update # download, verify and replace this binary in place
agtx update --check # report only; exits 1 when an update is available
agtx --version- tmux β agent sessions run in a dedicated tmux server
- gh (optional) β GitHub CLI for PR operations
Keyboard Shortcuts
| Key | Action |
|---|---|
h/l or β/β |
Move between columns |
j/k or β/β |
Move between tasks |
o |
Create new task |
R |
Enter research mode |
β© |
Open task (view agent session) |
Ctrl+f |
Open the task popup fullscreen; press again to return to windowed mode |
m |
Move task forward in workflow |
r |
Resume task (Review β Running) / Move back (Running β Planning) |
p |
Next phase (Review β Planning, cyclic plugins only) |
d |
Show git diff |
x |
Delete task |
/ |
Search tasks |
P |
Select spec-driven workflow plugin |
, |
Open the config editor |
? |
Show every keyboard shortcut |
u |
Update agtx (only shown when a new release is available) |
W |
Serve the board to a phone (QR pairing, device list) |
O |
Toggle orchestrator agent (--experimental) |
e |
Toggle project sidebar |
q |
Quit |
Task Creation Wizard
Press o to create a new task. The wizard guides you through:
- Title β enter a short task name
- Plugin β select a workflow plugin (auto-skipped if only one option)
- Prompt β write a detailed task description with inline references
The agent is configured at the project level via config.toml (not per-task).
Task Description Editor
When writing a task description, you can reference files, skills, and other tasks inline:
| Key | Action |
|---|---|
# or @ |
Fuzzy search and insert a file path |
/ |
Fuzzy search and insert an agent skill/command (at line start or after space) |
! |
Fuzzy search and insert a task reference (at line start or after space) |
Agent Sessions
Each task runs in its own tmux window with a dedicated coding agent. The session persists across the entire task lifecycle β you can open the task popup at any time to see live agent output, or press Ctrl+f to open it fullscreen inside agtx.
- Persistent context: The agent's full conversation history is preserved across Planning β Running β Review
- Resume from Review: Moving a task back to Running simply reconnects to the existing session β no re-initialization needed
- Inline view: Press
β©on any active task to open a scrollable tmux view inside the TUI - Fullscreen: Press
Ctrl+fto expand the task popup inside agtx. PressCtrl+fagain for windowed mode orCtrl+qto return to the board. - Auto merge-conflict resolution: When a Review task becomes idle, agtx checks for merge conflicts with the default branch using a non-destructive virtual merge (
git merge-tree). If conflicts are detected, the agent is automatically sent the/agtx:merge-conflictsskill to resolve them and re-commit
Most AI coding tools give you one agent, one task, one terminal. agtx is built on a different and much older idea: the blackboard system.
A blackboard system is an approach where a common knowledge base β the blackboard β is iteratively updated by a diverse group of specialist knowledge sources, starting from a problem specification and ending with a solution. Each specialist writes a partial solution to the blackboard when the state on the board matches what it can contribute.
β after Blackboard system, Wikipedia (CC BY-SA)
That architecture was designed for problems that are too ill-defined for a single solver and too interdependent to split cleanly up front. Shipping software with coding agents is exactly that problem, so agtx implements the model directly:
The dependency graph gives the blackboard its structure. Tasks references they build on, forming a graph of partial solutions - agtx holds downstream tasks until their dependencies reach Review or Done, then carries the relevant diffs and artifacts into the dependent task's context.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β CONTROL orchestrator agent Β· phase gates Β· dep graph β
βββββββββββββββββββββββββββββββ¬ββββββββββββββββββββββββββββββ
β
βββββββββββββββββββββββββββββββΌββββββββββββββββββββββββββββββ
β THE BLACKBOARD β
β backlog β planning β running β review β done β
β dependency graph Β· specs Β· plans Β· diffs Β· reviews β
ββββββ²ββββββββββ²ββββββββββ²ββββββββββ²ββββββββββ²ββββββββββ²βββββ
β β β β β β
ββββββ΄ββββ βββββ΄ββββ βββββ΄ββββ βββββ΄ββββ βββββ΄ββββ βββββ΄ββββ
β Claude β β Codex β βGemini β βCursor β β Grok β β ... β
ββββββββββ βββββββββ βββββββββ βββββββββ βββββββββ βββββββββ
KNOWLEDGE SOURCES β one git worktree + tmux window each
| Blackboard model | In agtx |
|---|---|
| The blackboard β a shared repository of the problem, partial solutions and contributed information | The kanban board, its dependency graph, and everything the phases leave behind: specs, plans, diffs, reviews, and phase artifacts. Every agent reads from and writes to the same board |
| Knowledge sources β independent specialists that never talk to each other, only to the board | Eight coding agent CLIs, each running in its own git worktree and tmux window. No agent can see another's context β they exchange only what lands on the board |
| Control shell β decides opportunistically which specialist runs next | Plugin phase gates determine when a task can advance; the dependency graph determines which tasks are ready to start; and the orchestrator agent coordinates the board over MCP |
Press W on the board to serve it to your phone. agtx prints a QR code; scanning
it pairs the device and opens an installable web app with the board, task
details, git diffs, and the agent's live terminal β including a keyboard, so you
can answer a permission prompt from wherever you are.
# Or start it yourself, without the TUI
agtx serve # this machine only
agtx serve --tunnel # your tailnet β anywhere, your devices only
agtx serve --devices # list paired devices
agtx serve --revoke <id> # revoke one; --revoke-all for the lotTwo keys in the overlay, each a whole action: s serves to the local network,
t serves via your tailnet.
Important
agtx never opens a port on its own. Serving lasts for as long as that agtx
runs: quit it and the server stops, so the next time you want the board on
your phone you press W then s/t again. Pairing does not change this β it
is a credential, not a trigger, and a paired phone whose Mac is not serving
just times out.
Note
This needs a binary built with --features serve. The released ones are; a
local cargo build --release without it reports "this build has no web
server" under both options.
Setup β on your wifi
Works in about thirty seconds, and needs nothing installed.
- Run
agtxin a project and pressW - Press
s - Point your phone's camera at the QR code β the phone must be on the same wifi
- In Safari or Chrome: Share β Add to Home Screen
That last step is what turns it into an app: its own icon, no address bar, and
the pairing remembered so you never scan again β but you still press W then
s to start serving each time you run agtx.
The URL here is a private address like 192.168.1.20, which exists only on your
network. It will not work on mobile data β if you leave the house, the app
will sit there timing out. That is what the tailnet option below is for.
Setup β from anywhere, via Tailscale
A few minutes once, then it is the same two taps forever. Your board becomes reachable from your phone on any network, while staying invisible to everyone else.
One-time, on your Mac and your phone:
- Install Tailscale on both
- Sign both into the same account β they need to be on one tailnet
- Enable Serve for your tailnet. It is off by default and is a separate switch
from installing Tailscale β the step most people miss. The simplest way is to
just press
tin agtx once: Tailscale refuses with a one-time link that enables it for this machine, and agtx prints that link rather than swallowing it. Follow it, then presstagain.
Once more, to install the app:
- Run
agtx, pressW, presst - Scan the QR, and Share β Add to Home Screen
Then, every time you want the board on your phone: run agtx, press W,
press t. That is all β the pairing is remembered, so there is no QR to scan;
what you are starting is the server.
Now the icon on your home screen works on 5G, on hotel wifi, anywhere β the address is an HTTPS name on your tailnet, and only devices signed into it can resolve or reach it.
When it does not work
| What you see | What it means |
|---|---|
Unavailable: install Tailscale and sign this machine in |
t needs Tailscale on this machine. Install it, or use s for wifi. |
Unavailable: Tailscale is installed but not signed in |
Run tailscale up. |
could not start the tunnel: β¦ Serve is not enabled on your tailnet |
The one-time switch above. agtx relays Tailscale's own message, which carries the URL that enables it. |
| Scanned fine, then the app times out | You pressed s (wifi) and the phone is on mobile data. Press s again to stop, then t. |
| The tailnet URL loads on the Mac but not the phone | The phone is not on the tailnet. Open the Tailscale app there and connect. |
This device is not authorised |
The pairing code expired β it lasts two minutes and is single-use. Press s or t again for a fresh QR. |
| The app worked yesterday, today it just times out | Nothing is serving. agtx does not start the server on its own β run it, press W, then s/t. The pairing is still good; the port is not open. |
No agtx running on the board |
Expected with no TUI open. Reading works; actions queue until one is. |
Important
Anything that can reach this server can read every task, every diff and every
agent's screen, and can type into a running agent β which is arbitrary code
execution on your machine. So: loopback needs no credential because reaching it
already means being on the machine, and everything wider requires a paired
device. Tokens are per-device and stored hashed, so a lost phone is revoked
without disturbing the rest. --tunnel public publishes to the open internet
and is deliberately not offered behind a keypress.
Actions queue; they do not execute on their own. Moving a task writes a
request that only a running agtx picks up, so with no TUI open your taps are
accepted and then wait β the board says so rather than pretending. Creating,
editing and deleting Backlog tasks take effect immediately, since they need no
agent. Starting the server with W keeps the two together by construction.
Companion skills for any coding agent session: capture ideas, turn them into tasks on the agtx board, or hand a session the whole board.
| Skill | Command | When to use |
|---|---|---|
| Brainstorm | /agtx:brainstorm |
Explore a feature idea β discussion only, no planning or implementation |
| Sweep | /agtx:sweep |
Push conversation outcomes to the agtx board as tasks |
| Oneshot | /agtx:oneshot |
Give a goal and let the session run the whole board unattended β see Oneshot Skill |
Typical flow:
/agtx:brainstorm β explore the idea freely
β
/agtx:sweep β extract tasks, confirm, push to board
β
agtx board β tasks appear in Backlog, ready to advance
The brainstorm skill keeps the agent in discussion mode β asking questions, surfacing trade-offs, no code or plans. When the conversation feels complete, run /agtx:sweep to decompose outcomes into feature-level tasks and push them to the board with a single confirmation step.
The Claude Code plugin brings all three skills. Oneshot runs from Claude Code; the steps for the other agents install sweep.
Claude Code
claude plugin marketplace add fynnfluegge/agtx
claude plugin install agtx@agtx-marketplace
claude mcp add --scope user agtx -- agtx mcp-serveCodex
codex mcp add agtx -- agtx mcp-serveAdd to your project's .agents/plugins/marketplace.json:
{
"name": "local-repo",
"plugins": [
{
"name": "agtx",
"source": {
"source": "local",
"path": "./plugins/agtx"
},
"policy": {
"installation": "AVAILABLE",
"authentication": "ON_INSTALL"
},
"category": "Productivity"
}
]
}Then in any Codex session: @agtx:sweep / @agtx:brainstorm
Gemini CLI
gemini mcp add agtx -- agtx mcp-serve
echo "@skills/sweep/SKILL.md" >> ~/GEMINI.mdCursor
cursor mcp add agtx -- agtx mcp-serve
cp skills/sweep/SKILL.md ~/.cursor/rules/agtx-sweep.mdGrok Build
grok mcp add agtx -- agtx mcp-serve
mkdir -p ~/.grok/skills/agtx-sweep && cp skills/sweep/SKILL.md ~/.grok/skills/agtx-sweep/SKILL.mdAntigravity
agy mcp add agtx agtx mcp-serve
mkdir -p ~/.gemini/antigravity-cli/skills/agtx-sweep
cp skills/sweep/SKILL.md ~/.gemini/antigravity-cli/skills/agtx-sweep/SKILL.mdpi
pi has no MCP client of its own β the pi-mcp-adapter package provides one and
reads servers in the standard mcpServers shape:
mkdir -p ~/.pi/skills/agtx-sweep && cp skills/sweep/SKILL.md ~/.pi/skills/agtx-sweep/SKILL.mdRegister agtx mcp-serve with the adapter, then in any pi session:
/skill:agtx-sweep / /skill:agtx-brainstorm
Other
Register agtx mcp-serve as an MCP server, then copy skills/sweep/SKILL.md into your agent's context.
Note
The project must have been opened in agtx at least once to appear in list_projects. Run agtx in your project directory first.
Give it a goal, not a task list. It runs the board until the goal is built and merged.
/agtx:oneshot turns a Claude Code session into the person sitting at the board. It breaks
the goal into milestones, turns the current milestone into tasks, starts them, watches the
workers, answers their questions, judges each Review, and merges the finished work into your
base branch β then plans the next wave from what was actually built. The workers write the
code; the oneshot session only writes tasks and its own state file.
- Install the plugin and MCP server for Claude Code β see Install.
- Let agtx answer trust prompts. Nobody is at the board to answer an agent's trust or
bypass-permissions dialog, so without this every task parks as blocked:
# ~/.config/agtx/config.toml auto_trust = true
- Open your coding agent once in the project root and accept its trust prompt. Task worktrees live inside the project, so they inherit that decision.
- Start from a clean base branch. An empty repository works too β
git init -b mainis enough, and agtx makes the first commit.
# Terminal 1 β the board. Nothing moves without it.
cd your-project && agtx
# Terminal 2 β the session that runs the board
cd your-project && claude
> /agtx:oneshot Build a CLI todo app in Rust with SQLite storage and testsThen leave it. Follow along on the board, or on your phone with W.
- Plans in waves. A spine of 4β8 milestones first, then tasks for the current milestone only, with dependencies wired so a task waits for the ones it builds on. The next wave is planned from what the workers built.
- Runs 3β6 tasks at once, starting the next as its dependencies reach Review or Done.
- Waits instead of polling.
wait_for_board_changeblocks until a task needs attention and returns only what changed, so the session spends turns only when something happened. - Unblocks the workers. It answers a tool's yes/no prompt, or a question its milestone
plan already settles. Anything that would change the product goes to you under Open
questions in
oneshot-state.md, while the rest of the board keeps moving. - Judges Review. A small fix goes to the reviewer in place with
send_to_task; real rework sends the task back to Running. - Merges each task with
move_to_done_and_merge. On a conflict the task stays in Review and its own agent resolves it with/agtx:merge-conflicts. - Keeps a durable record in
oneshot-state.mdβ milestones, board, decisions and open questions β so a fresh session can pick up the run.
Important
Oneshot merges into your local base branch, in your own checkout. Leave that checkout on the base branch with no uncommitted changes to tracked files while it runs. Otherwise the merge is refused and nothing is touched β agtx never switches your branch or stashes your work. Nothing is pushed.
Note
A full run takes hours and many turns of the session running the board. Start with a small goal to see how it works on your project.
Config file location: ~/.config/agtx/config.toml
default_agent = "claude"
fullscreen_on_enter = false # When true, Enter opens the tmux pane fullscreen inside agtx
agent_hooks = true # Let agents report their own phase status via lifecycle hooks
auto_trust = false # Answer agents' trust prompts on your behalf
update_check = true # Check GitHub daily for a new release (see Updating)agtx creates a new git worktree for each task. By default it auto-detects the base branch in this
order: main, then master, then the current branch. You can override this to force a specific
base branch (for example dev or develop).
Global worktree defaults can be set here:
# ~/.config/agtx/config.toml
[worktree]
base_branch = "dev"
worktree_dir = ".worktrees" # default: ".agtx/worktrees"worktree_dir is the directory (relative to project root) where task worktrees are created. Defaults
to .agtx/worktrees if not set.
Per-project settings can be placed in .agtx/config.toml at the project root:
# Base branch used when creating new task worktrees (optional)
base_branch = "dev"
# Directory where worktrees are created (optional, default: ".agtx/worktrees")
worktree_dir = ".worktrees"
# Files to copy from project root into each new worktree (comma-separated)
# Paths are relative and preserve directory structure
copy_files = ".env, .env.local, web/.env.local"
# Shell command to run inside the worktree after creation and file copying
init_script = "scripts/init_worktree.sh"
# Shell command to run inside the worktree before removal
cleanup_script = "scripts/cleanup_worktree.sh"base_branch controls which branch new task worktrees are created from. If omitted or empty, agtx
auto-detects main, master, or falls back to the current branch.
By default, all phases use default_agent. You can override the agent for specific phases globally or per project:
# ~/.config/agtx/config.toml
default_agent = "claude"
[agents]
research = "gemini"
planning = "claude"
running = "claude"
review = "codex"# .agtx/config.toml (project override β takes precedence over global)
[agents]
running = "codex"Plug any spec-driven framework into the task lifecycle. Define commands, prompts, and artifacts β agtx handles phase gating, artifact polling, worktree sync, agent switching, and autonomous execution.
Press P to switch plugins. Ships with 10 built-in:
| Plugin | Description |
|---|---|
| void | Plain agent session - no prompting or skills, task description prefilled in input |
| agtx (default) | Built-in workflow with skills and prompts for each phase |
| agtx-terse | Token-efficient workflow - same workflow with compressed output and minimal tokens |
| gsd | Get Shit Done - structured spec-driven development with interactive planning |
| spec-kit | Spec-Driven Development by GitHub - specifications become executable artifacts |
| openspec | OpenSpec - lightweight AI-guided specification framework |
| bmad | BMAD Method - AI-driven agile development with structured phases |
| superpowers | Superpowers - brainstorming, plans, TDD, subagent-driven development |
| oh-my-claudecode | oh-my-claudecode - multi-agent orchestration with 37 skills and 22 specialized agents |
| agent-skills | Agent Skills - production-grade engineering skills covering the full spec-to-ship lifecycle |
Commands are written once in canonical format and automatically translated per agent:
| Canonical (plugin.toml) | Claude / Gemini | Codex | OpenCode | Cursor | Grok | Antigravity | pi |
|---|---|---|---|---|---|---|---|
/agtx:plan |
/agtx:plan |
$agtx-plan |
/agtx-plan |
/agtx-plan |
/agtx-plan |
/agtx-plan |
/skill:agtx-plan |
| Claude | Codex | Gemini | OpenCode | Cursor | Copilot | Grok | Antigravity | pi | |
|---|---|---|---|---|---|---|---|---|---|
| agtx | β | β | β | β | β | π‘ | β | β | β |
| gsd | β | β | β | β | β | β | β | β | β |
| spec-kit | β | β | β | β | β | π‘ | β | β | π‘ |
| openspec | β | β | β | β | β | π‘ | β | β | π‘ |
| bmad | β | β | β | β | β | π‘ | β | β | π‘ |
| superpowers | β | β | β | β | β | β | β | β | β |
| oh-my-claudecode | β | β | β | β | β | β | β | β | β |
| agent-skills | β | π‘ | π‘ | π‘ | π‘ | π‘ | π‘ | π‘ | π‘ |
| void | β | β | β | β | β | β | β | β | β |
β Skills, commands, and prompts fully supported Β· π‘ Prompt only, no interactive skill support Β· β Not supported
Creating a Plugin
Place your plugin at .agtx/plugins/<name>/plugin.toml in your project root (or ~/.config/agtx/plugins/<name>/plugin.toml for global use). It will appear in the plugin selector automatically.
Minimal example β a plugin that uses custom slash commands:
name = "my-plugin"
description = "My custom workflow"
[commands]
research = "/my-plugin:research {task}"
planning = "/my-plugin:plan"
running = "/my-plugin:execute"
review = "/my-plugin:review"
[prompts]
planning = "Task: {task}"Full reference with all available fields:
name = "my-plugin"
description = "My custom workflow"
# Shell command to run in the worktree after creation, before the agent starts.
# {agent} is replaced with the agent name (claude, codex, gemini, etc.)
init_script = "npm install --prefix .my-plugin --{agent}"
# Restrict to specific agents (empty or omitted = all agents supported)
supported_agents = ["claude", "codex", "gemini", "opencode"]
# Extra directories to copy from project root into each worktree.
# Agent config dirs (.claude, .gemini, .codex, .github/agents, .config/opencode)
# are always copied automatically.
copy_dirs = [".my-plugin"]
# Individual files to copy from project root into each worktree.
# Merged with project-level copy_files from .agtx/config.toml.
copy_files = ["PROJECT.md", "REQUIREMENTS.md"]
# When true, enables Review β Planning transition via the `p` key.
# Each cycle increments the phase counter ({phase} placeholder).
# Use this for multi-milestone workflows (e.g. plan β execute β review β next milestone).
cyclic = false
# Artifact files that signal phase completion.
# When detected, the task shows a checkmark instead of the spinner.
# Supports * wildcard for one directory level (e.g. "specs/*/plan.md").
# Use {phase} for cycle-aware paths (replaced with the current cycle number).
# Omitted phases show no completion indicator.
[artifacts]
research = ".my-plugin/research.md"
planning = ".my-plugin/{phase}/plan.md"
running = ".my-plugin/{phase}/summary.md"
review = ".my-plugin/{phase}/review.md"
# Slash commands sent to the agent via tmux for each phase.
# Written in canonical format (Claude/Gemini style): /namespace:command
# Automatically transformed per agent:
# Claude/Gemini: /my-plugin:plan (unchanged)
# OpenCode: /my-plugin-plan (colon -> hyphen)
# Codex: $my-plugin-plan (slash -> dollar, colon -> hyphen)
# Cursor/Grok/Antigravity: /my-plugin-plan (colon -> hyphen)
# Omitted phases fall back to agent-native agtx skill invocation
# (e.g. /agtx:plan for Claude, $agtx-plan for Codex).
# Set to "" to skip sending a command for that phase.
# Use {phase} for cycle-aware commands (replaced with the current cycle number).
# Use {task} to inline the task description.
[commands]
preresearch = "/my-plugin:research {task}" # Used only when no research artifacts exist yet
research = "/my-plugin:discuss {phase}"
planning = "/my-plugin:plan {phase}"
running = "/my-plugin:execute {phase}"
review = "/my-plugin:review {phase}"
# Prompt templates sent as task content after the command.
# {task} = task title + description, {task_id} = unique task ID, {phase} = cycle number.
# Omitted phases send no prompt (the skill/command handles instructions).
[prompts]
research = "Task: {task}"
# Text patterns to wait for in the tmux pane before sending the prompt.
# Useful when a command triggers an interactive prompt that must appear first.
# Polls every 500ms, times out after 5 minutes.
[prompt_triggers]
research = "What do you want to build?"
# Files/dirs to copy from worktree back to project root after a phase completes.
# Triggered automatically when the phase artifact is detected (spinner β checkmark).
# Useful for sharing research artifacts (specs, plans) across worktrees.
[copy_back]
research = ["PROJECT.md", "REQUIREMENTS.md", ".my-plugin"]
# Auto-dismiss interactive prompts that appear before the prompt trigger.
# Each rule fires when ALL detect patterns are present and the pane is stable.
# Response is newline-separated keystrokes (e.g. "2\nEnter" sends "2" then Enter).
[[auto_dismiss]]
detect = ["Map codebase", "Skip mapping", "Enter to select"]
response = "2\nEnter"What happens at each phase transition:
- The command is sent to the agent via tmux (e.g.,
/my-plugin:plan) - If a prompt_trigger is set, agtx waits for that prompt trigger to appear in the tmux pane
- The prompt is sent with
{task},{task_id}, and{phase}replaced - agtx polls for the artifact file β when found, the spinner becomes a checkmark
- If copy_back is configured, artifacts are copied from worktree to project root on completion
- If the agent appears idle (no output for 15s), the spinner becomes a pause icon
Phase gating: Whether a phase can be entered directly from Backlog is derived from the plugin config. If a phase's command or prompt contains {task}, it can receive task context and is accessible from Backlog. If neither has {task}, the phase depends on a prior phase and is blocked until that artifact exists. For example, OpenSpec's /opsx:propose {task} allows direct Backlog β Planning, but /opsx:apply (no {task}) blocks Backlog β Running until proposal artifacts exist.
Preresearch fallback: When pressing R on a task, if preresearch is configured and no research artifacts from copy_back exist in the project root yet, the preresearch command is used instead of research. This lets plugins run a one-time project setup (e.g. /gsd:new-project) before switching to the regular research command for subsequent tasks. If the plugin has no research command at all (e.g. OpenSpec), pressing R shows a warning.
Cyclic workflows: When cyclic = true, pressing p in Review moves the task back to Planning with an incremented phase counter. This enables multi-milestone workflows where each cycle (plan β execute β review) produces artifacts in a separate {phase} directory.
Custom skills: If your plugin provides its own skill files, place them in the plugin directory:
.agtx/plugins/my-plugin/
βββ plugin.toml
βββ skills/
βββ agtx-plan/SKILL.md
βββ agtx-execute/SKILL.md
βββ agtx-review/SKILL.md
These override the built-in agtx skills and are automatically deployed to each agent's native discovery path (.claude/commands/, .codex/skills/, .gemini/commands/, etc.) in every worktree.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β agtx TUI β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Backlog β Planning β Running β Review β Done β
β βββββββ β βββββββ β βββββββ β βββββββ β β
β βTask1β β βTask2β β βTask3β β βTask4β β β
β βββββββ β βββββββ β βββββββ β βββββββ β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
βΌ βΌ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β tmux server "agtx" β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Session: "my-project" β β
β β ββββββββββ ββββββββββ ββββββββββ β β
β β βWindow: β βWindow: β βWindow: β β β
β β βtask2 β βtask3 β βtask4 β β β
β β β(Claude)β β(Claude)β β(Claude)β β β
β β ββββββββββ ββββββββββ ββββββββββ β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Session: "other-project" β β
β β βββββββββββββββββββββ β β
β β β Window: β β β
β β β some_other_task β β β
β β βββββββββββββββββββββ β β
β ββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β
βΌ βΌ
βββββββββββββββββββββββββββββ
β Git Worktrees β
β .agtx/worktrees/task2/ β
β .agtx/worktrees/task3/ β
β .agtx/worktrees/task4/ β
βββββββββββββββββββββββββββββ
- Server: All sessions run on a dedicated tmux server named
agtx - Sessions: Each project gets its own tmux session (named after the project)
- Windows: Each task gets its own window within the project's session
# List all sessions
tmux -L agtx list-sessions
# List all windows across sessions
tmux -L agtx list-windows -a
# Attach to the agtx server
tmux -L agtx attach- Database:
~/Library/Application Support/agtx/(macOS) or~/.config/agtx/(Linux) - Config:
~/.config/agtx/config.toml - Worktrees:
.agtx/worktrees/in each project - Tmux: Dedicated server
agtxwith per-project sessions
Run agtx in an isolated Docker container so agents can only touch the project you pass in β no access to the rest of your home directory, credentials are read-only, and any files the agent creates in the project are owned by your host user.
# Run agtx on a project
./docker/sandbox.sh path/to/your-project
# Or from inside the project directory
./docker/sandbox.shThe sandbox:
- Mounts only the target project as writable; everything else on the host is inaccessible
- Copies
~/.claudecredentials read-only at startup so they are never written back to the host - Runs as a non-root user whose UID/GID matches your host user (files created inside the container appear correctly owned on the host)
- Stores agtx state in named Docker volumes (persists across runs, isolated from your host's agtx data)
- Pre-accepts the bypass permissions prompt, which is appropriate in an isolated container
Note
Requires Docker Engine (Linux) or Docker Desktop (macOS/Windows). The image is built automatically on first run and cached for subsequent runs.
The agtx MCP server (agtx mcp-serve) exposes the board to any coding agent session via the Model Context Protocol. Used by the orchestrator agent, the oneshot skill, and the brainstorm & sweep skills.
| Mode | Command | Used by |
|---|---|---|
| Global | agtx mcp-serve |
Brainstorm, sweep and oneshot skills β works across all projects |
| Project-scoped | agtx mcp-serve <path> |
Orchestrator β bound to one project at startup |
In global mode all tools require a project_id parameter. Call list_projects first to resolve it.
| Tool | Description |
|---|---|
list_projects |
List all projects indexed in agtx |
get_config |
The project's effective config, global and project merged β e.g. whether auto_trust is on |
list_tasks |
List tasks with their phase status, optionally filtered by status (descriptions on request) |
get_task |
Get task details + allowed_actions for valid transitions |
wait_for_board_change |
Block until a task needs attention, then return only what changed and the outcome of queued transitions |
create_task |
Create a single backlog task |
create_tasks_batch |
Batch-create tasks with index-based dependencies |
update_task |
Modify a backlog task (title, description, deps) |
delete_task |
Delete a backlog task |
move_task |
Queue a phase transition, including move_to_done_and_merge |
get_transition_status |
Check if a queued transition completed or errored |
check_conflicts |
Non-destructive merge conflict check against default branch |
get_notifications |
Fetch pending orchestrator notifications |
read_pane_content |
Read the last N lines of a task's tmux pane |
send_to_task |
Send a message to a task's agent (Planning, Running or Review) |
Press
Oand walk away. Come back to changes ready to merge.
The orchestrator is an AI agent that drives other AI agents to completion. You triage tasks into Planning or Running β the orchestrator takes over from there, advancing each task through its phases until it lands in Review, ready for you to merge.
agtx --experimental # then press OWhat it does:
- Monitors tasks in Planning and Running
- Advances tasks automatically as phases complete (Planning β Running β Review)
- Respects plugin phase rules β checks
allowed_actionsbefore each transition - Detects stuck tasks (idle for 1+ minute without a phase artifact) and reads the agent pane to diagnose the cause
- Nudges stuck agents, answers CLI prompts automatically, or escalates to you with a reason when human input is needed
You triage. It executes. Move tasks from Backlog into Planning or Running β the orchestrator handles the rest. Merging is your call. For a session that owns the whole board, from planning the work to merging it, see the Oneshot Skill.
The orchestrator communicates with agtx through the Model Context Protocol (MCP). agtx ships with a built-in MCP server (agtx serve) that exposes the kanban board as a set of tools over JSON-RPC via stdio.
ββββββββββββββ-β MCP (stdio) ββββββββββββββββ SQLite βββββββ
β Orchestrator β βββββββββββββββββββ β MCP Server β ββββββββββββββ β DB β
β (Claude Code)β β (agtx serve) β ββββ¬βββ
ββββββββ¬ββββββββ ββββββββββββββββ β
β push-when-idle notifications β
ββββββββ΄ββββββββ β
β TUI (agtx) β ββββββββββββββββββββββββββββββββββββββββββββββββββββ--ββ
ββββββββββββββββ
How it works:
- When you press
O, the TUI registers the MCP server with the orchestrator agent viaclaude mcp add-json --scope local - The orchestrator receives phase completion notifications pushed to its tmux pane when idle
- It reacts by calling
get_taskto checkallowed_actions, thenmove_taskto advance the task - The TUI processes the transition request, executes all side effects (agent switching, skill deployment, prompt sending), and updates the database
- If a task has been idle for 1+ minute without a phase artifact, the orchestrator is notified β it reads the pane with
read_pane_content, then either nudges the agent withsend_to_taskor callsmove_taskwithescalate_to_userto flag it for your attention - Escalated tasks show a
βbadge on the kanban board; opening the task popup shows the reason and dismisses the flag - MCP registration is cleaned up when the orchestrator is stopped
agtx includes a SWE-bench Lite benchmark runner that uses agtx itself as the agent orchestration layer β driving coding agent workflows against 300 real GitHub bug-fix tasks via the MCP server.
See benchmark/README.md for setup, usage, bundled configs, and evaluation instructions.
Contributions are welcome! Whether it's a bug fix, new plugin, agent integration, or documentation improvement.
See CONTRIBUTING.md for the full guide. Here's the short version:
# Fork & clone
git clone https://github.com/<you>/agtx && cd agtx
# Build & test
cargo build && cargo test --features test-mocksNot sure where to start? Here are some ideas:
- Write a plugin β A single
plugin.tomlis all you need. See Creating a Plugin for the full reference - Add a new agent β Integrate your favorite AI coding CLI. See the architecture docs for how agents are structured
- Improve documentation β Found something unclear? Help others by improving it
- Report bugs β Open an issue. Reproduction steps are always appreciated
- Browse open issues β Check the
good first issuelabel for beginner-friendly tasks
See CLAUDE.md for full architecture docs and development patterns.
# Build
cargo build
# Run tests (includes mock-based tests)
cargo test --features test-mocks
# Build release
cargo build --release