Parallel AI task pods via Git worktrees.
5
stars
58
commits
Python
primary language
Sep 9, 2026
updated
taskpods is a lightweight CLI that lets you spin up disposable AI pods inside your Git repo.
Each pod is an isolated Git worktree/branch — perfect for running AI coding agents in parallel without polluting main.
When done, you can merge, PR, or nuke the pod entirely.
Works with any agent or editor: Claude Code, Codex CLI, Gemini CLI, opencode, aider, Cursor, VS Code, Zed, Vim, and anything else on your PATH.
taskpods start <name> → creates .taskpods/<name> and pods/<name> from main.taskpods start <name> --agent claude -p "fix the typos" → runs any coding agent inside the new pod.git status, so you can run many pods at once.taskpods done <name> → commit, push, open a PR (via [gh CLI]), then remove the worktree.taskpods abort <name> → deletes an unpushed pod safely.taskpods list → see all active pods and paths.taskpods prune → removes pods already merged upstream.git worktree.pip install taskpods
From GitHub (latest dev):
pip install git+https://github.com/yanairon/taskpods.git
Manual:
curl -O https://raw.githubusercontent.com/yanairon/taskpods/main/taskpods.py
chmod +x taskpods.py
sudo mv taskpods.py /usr/local/bin/taskpods
Requirements:
origintaskpods start fix-typos
Everything after --agent runs as-is inside the pod's worktree, so any agent CLI works:
# Claude Code (headless)
taskpods start fix-typos --agent claude -p "fix the typos" --permission-mode acceptEdits
# Codex CLI (non-interactive)
taskpods start fix-typos --agent codex exec --sandbox workspace-write "fix the typos"
# Gemini CLI (headless)
taskpods start fix-typos --agent gemini -p "fix the typos"
# opencode
taskpods start fix-typos --agent opencode run "fix the typos"
# aider
taskpods start fix-typos --agent aider --message "fix the typos"
The agent runs in the foreground with your terminal attached, exactly as if you had cd'd into the pod yourself. Interactive agents work too (--agent claude). When --agent is used, no editor is opened unless you also pass --editor.
Flags after --agent belong to the agent; put taskpods' own flags (--base, --editor) before it.
Set a default agent and plain taskpods start <name> launches it every time:
export TASKPODS_AGENT="claude -p"
When the agent exits, the pod stays put. Review the diff, then finish:
git -C .taskpods/fix-typos diff main
taskpods done fix-typos -m "Fix docs typos" --remove
taskpods done fix-typos -m "Fix docs typos" --remove
taskpods abort fix-typos
taskpods list
taskpods prune
Some agent CLIs grew their own worktree support — Claude Code has -w/--worktree, and tools like vibe-kanban or claude-squad wrap agents in TUIs and session daemons. taskpods stays the small unix-y lane:
git worktree. Nothing runs in the background.start → agent runs → done commits, pushes and opens the PR → prune cleans up.export TASKPODS_EDITOR="vim"
export TASKPODS_EDITOR="code"
export TASKPODS_EDITOR="cursor"
export TASKPODS_AGENT="claude -p"
~/.taskpodsrc:{
"editor": "vim",
"default_base": "main",
"agent": "claude -p"
}
taskpods start my-feature --editor vim --base develop --agent claude -p "..."
Supported editors: Cursor, VS Code, Zed, Sublime, Atom, Vim/Neovim, Emacs, or any in your PATH.
If taskpods saves you time, please consider supporting:
Your support helps keep the project maintained and evolving for the community!
MIT – see LICENSE.
Git worktrees let you check out multiple branches in separate dirs without cloning. They’re fast, disk-light, and easy to clean up.
taskpods wraps the common git worktree operations with sensible defaults and quality-of-life features like agent launching, PR creation and safe aborts.
git clone https://github.com/yanairon/taskpods.git
cd taskpods
pip install -e ".[dev]"
pre-commit install
Run tests:
make test
make test-cov
make check
Tools used: Black, Flake8, MyPy, Pre-commit.
Contributions, bug reports, and feature requests are welcome!
Open an issue or submit a PR.
45 commits
13 commits
Python
97.9%
Makefile
2.1%
Parallel AI task pods via Git worktrees.
5
stars
58
commits
Python
primary language
Sep 9, 2026
updated
taskpods is a lightweight CLI that lets you spin up disposable AI pods inside your Git repo.
Each pod is an isolated Git worktree/branch — perfect for running AI coding agents in parallel without polluting main.
When done, you can merge, PR, or nuke the pod entirely.
Works with any agent or editor: Claude Code, Codex CLI, Gemini CLI, opencode, aider, Cursor, VS Code, Zed, Vim, and anything else on your PATH.
taskpods start <name> → creates .taskpods/<name> and pods/<name> from main.taskpods start <name> --agent claude -p "fix the typos" → runs any coding agent inside the new pod.git status, so you can run many pods at once.taskpods done <name> → commit, push, open a PR (via [gh CLI]), then remove the worktree.taskpods abort <name> → deletes an unpushed pod safely.taskpods list → see all active pods and paths.taskpods prune → removes pods already merged upstream.git worktree.pip install taskpods
From GitHub (latest dev):
pip install git+https://github.com/yanairon/taskpods.git
Manual:
curl -O https://raw.githubusercontent.com/yanairon/taskpods/main/taskpods.py
chmod +x taskpods.py
sudo mv taskpods.py /usr/local/bin/taskpods
Requirements:
origintaskpods start fix-typos
Everything after --agent runs as-is inside the pod's worktree, so any agent CLI works:
# Claude Code (headless)
taskpods start fix-typos --agent claude -p "fix the typos" --permission-mode acceptEdits
# Codex CLI (non-interactive)
taskpods start fix-typos --agent codex exec --sandbox workspace-write "fix the typos"
# Gemini CLI (headless)
taskpods start fix-typos --agent gemini -p "fix the typos"
# opencode
taskpods start fix-typos --agent opencode run "fix the typos"
# aider
taskpods start fix-typos --agent aider --message "fix the typos"
The agent runs in the foreground with your terminal attached, exactly as if you had cd'd into the pod yourself. Interactive agents work too (--agent claude). When --agent is used, no editor is opened unless you also pass --editor.
Flags after --agent belong to the agent; put taskpods' own flags (--base, --editor) before it.
Set a default agent and plain taskpods start <name> launches it every time:
export TASKPODS_AGENT="claude -p"
When the agent exits, the pod stays put. Review the diff, then finish:
git -C .taskpods/fix-typos diff main
taskpods done fix-typos -m "Fix docs typos" --remove
taskpods done fix-typos -m "Fix docs typos" --remove
taskpods abort fix-typos
taskpods list
taskpods prune
Some agent CLIs grew their own worktree support — Claude Code has -w/--worktree, and tools like vibe-kanban or claude-squad wrap agents in TUIs and session daemons. taskpods stays the small unix-y lane:
git worktree. Nothing runs in the background.start → agent runs → done commits, pushes and opens the PR → prune cleans up.export TASKPODS_EDITOR="vim"
export TASKPODS_EDITOR="code"
export TASKPODS_EDITOR="cursor"
export TASKPODS_AGENT="claude -p"
~/.taskpodsrc:{
"editor": "vim",
"default_base": "main",
"agent": "claude -p"
}
taskpods start my-feature --editor vim --base develop --agent claude -p "..."
Supported editors: Cursor, VS Code, Zed, Sublime, Atom, Vim/Neovim, Emacs, or any in your PATH.
If taskpods saves you time, please consider supporting:
Your support helps keep the project maintained and evolving for the community!
MIT – see LICENSE.
Git worktrees let you check out multiple branches in separate dirs without cloning. They’re fast, disk-light, and easy to clean up.
taskpods wraps the common git worktree operations with sensible defaults and quality-of-life features like agent launching, PR creation and safe aborts.
git clone https://github.com/yanairon/taskpods.git
cd taskpods
pip install -e ".[dev]"
pre-commit install
Run tests:
make test
make test-cov
make check
Tools used: Black, Flake8, MyPy, Pre-commit.
Contributions, bug reports, and feature requests are welcome!
Open an issue or submit a PR.
45 commits
13 commits
Python
97.9%
Makefile
2.1%