Manage your AI coding agent squad inside dev containers.
Lea este documento en español.
Squad AI is a CLI that installs and manages AI coding agents (Claude Code, OpenCode, Pi, Codex, and more) inside dev containers. It replaces ad-hoc post-create.sh scripts with a single tool.
Before: copying curl | bash snippets between projects, keeping them in sync manually.
After: squad add → pick your agents → done. One command in postCreateCommand.
curl -fsSL https://raw.githubusercontent.com/alebak/squad-ai/main/scripts/install.sh | bashThis downloads the latest binary to ~/.local/bin/squad. Add it to your PATH if needed:
export PATH="$HOME/.local/bin:$PATH"# First run: pick your agents interactively
squad add
# Install your selected agents silently
squad install
# Install specific agents (no TUI)
squad install --agents claude-code,opencode,gentle-ai
# See what's installed and available
squad list
# Update the agent registry
squad updateAdd to your .devcontainer/devcontainer.json:
{
"postCreateCommand": "squad install"
}Or use a post-create.sh for first-time setup:
#!/bin/bash
set -e
if ! command -v squad &>/dev/null; then
curl -fsSL https://raw.githubusercontent.com/alebak/squad-ai/main/scripts/install.sh | bash
export PATH="$HOME/.local/bin:$PATH"
fi
squad installConfig persists between container rebuilds when $HOME is mounted as a volume.
| Agent | Install Method | Runtime |
|---|---|---|
| Claude Code | curl | bash | none |
| OpenCode | curl | bash | none |
| Pi | curl | bash | none |
| Codex CLI | npm | Node.js |
| Antigravity CLI | curl | bash | none |
| Gemini CLI | npm | Node.js |
| Gentle AI | curl | bash | none |
New agents are added via PR to registry/agents.json. Squad AI notifies you when new agents become available.
- Registry — a
registry/agents.jsonfile in this repo lists all available agents with install commands, runtime dependencies, and SHA-256 checksums. - Local cache — squad fetches and caches the registry locally (
~/.config/squad-ai/registry.cache.json). - Detection — on
squad list, it checks which agents are already installed and which runtimes are missing. - Installation —
squad installruns the install commands, captures logs, verifies checksums, and saves your selection. - TUI —
squad addopens a terminal UI where you browse, select, and install agents interactively.
See CONTRIBUTING.md for the full workflow. Quick overview:
- Issue-first: open an issue before a PR
- Conventional Commits:
feat(scope):,fix(scope):,docs:, etc. - Branch naming:
feat/,fix/,docs/,chore/ - Code standards: idiomatic Go, stdlib first, godoc on exports
Questions? Use Discussions, not issues.
MIT © Alebak