Tmux Agents
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
Manage background coding agents in tmux sessions. Spawn Claude Code or other agents, check progress, get results.
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
Run coding agents in persistent tmux sessions. They work in the background while you do other things.
| Agent | Command | Best For |
|---|---|---|
| claude | Claude Code | Complex coding, refactoring, full projects |
| codex | OpenAI Codex | Quick edits, auto-approve mode |
| gemini | Google Gemini | Research, analysis, documentation |
| Agent | Command | Best For |
|---|---|---|
| ollama-claude | Claude Code + Ollama | Long experiments, heavy refactoring |
| ollama-codex | Codex + Ollama | Extended coding sessions |
Local agents use your Mac's GPU — no API costs, great for experimentation!
./skills/tmux-agents/scripts/spawn.sh <name> <task> [agent]Cloud (uses API credits)
./skills/tmux-agents/scripts/spawn.sh fix-bug "Fix login validation" claude ./skills/tmux-agents/scripts/spawn.sh refactor "Refactor the auth module" codex ./skills/tmux-agents/scripts/spawn.sh research "Research caching strategies" gemini
Local (FREE - uses Ollama)
./skills/tmux-agents/scripts/spawn.sh experiment "Rewrite entire test suite" ollama-claude ./skills/tmux-agents/scripts/spawn.sh big-refactor "Refactor all services" ollama-codex
tmux list-sessions # or ./skills/tmux-agents/scripts/status.sh
./skills/tmux-agents/scripts/check.sh session-name
tmux attach -t session-name # Detach with: Ctrl+B, then D
tmux send-keys -t session-name "additional instruction here" Enter
tmux kill-session -t session-name
| Scenario | Recommendation |
|---|---|
| Quick fix, time-sensitive | ☁️ Cloud (faster) |
| Expensive task, budget matters | 🦙 Local |
| Long experiment, might fail | 🦙 Local |
| Production code review | ☁️ Cloud (smarter) |
| Learning/exploring | 🦙 Local |
| Heavy refactoring | 🦙 Local |
Run multiple agents simultaneously:
# Mix and match cloud + local ./scripts/spawn.sh backend "Implement user API" claude # Cloud ./scripts/spawn.sh frontend "Build login form" ollama-codex # Local ./scripts/spawn.sh docs "Write API documentation" gemini # Cloud ./scripts/spawn.sh tests "Write all unit tests" ollama-claude # Local
Check all at once:
./skills/tmux-agents/scripts/status.sh
Local agents require Ollama with a coding model:
# Pull recommended model ollama pull glm-4.7-flashConfigure tools (one-time)
ollama launch claude --model glm-4.7-flash --config ollama launch codex --model glm-4.7-flash --config
tmux ls to see all active workNo automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.