@sublang/boss
v0.4.0
Published
Delegate dev loops to Claude Code + Codex CLI. Iterates for hours. No API keys.
Maintainers
Readme
Enter boss mode.
Delegate dev loops to Claude Code, Codex CLI, Gemini CLI, OpenCode or any AI coder. Runs autonomously for hours in an isolated Podman sandbox. Subscription/device auth is primary; API keys are supported fallback.
Quick Start
Pick the path that fits your setup:
- Spec Scaffolding — Start with structured specs to guide AI coding agents.
- Sandbox — You want to run AI agents in an isolated Podman container.
Spec Scaffolding
Scaffold GEARS specs into any project and let AI agents iterate on them:
npm install -g @sublang/boss
cd your-project
boss scaffoldReview the sample iteration specs/iterations/000-spdx-headers.md, update the copyright text, then prompt your AI coding agent:
Complete Iteration #0Sandbox
Install Boss globally to launch AI agents in an isolated Podman container.
Prerequisites
- Node.js >= 18
- Podman (installed automatically by
boss init, or install manually) - One auth method for the agent(s) you use: subscription/device auth (recommended) or API key fallback
Setup
# Install Boss globally
npm install -g @sublang/boss
# Initialize Podman, pull sandbox image, create config
boss init
# Optional fallback API keys
# Edit ~/.boss/.env if you prefer key-based authRun
# Start the sandbox container
boss start
# Open Claude Code in a workspace
boss open myproject claude
# Open Claude Code with extra args
boss open myproject claude -- --resume
# List running sessions
boss ls
# More features
boss -hThen authenticate in-session (recommended), or set fallback API keys in ~/.boss/.env.
If any step fails, see Troubleshooting.
Supported Agents
Built-in (no configuration needed):
| Agent Name | Binary | Provider | Primary Auth | Fallback Env Var |
| --- | --- | --- | --- | --- |
| claude | claude | Anthropic | claude setup-token | ANTHROPIC_API_KEY |
| codex | codex | OpenAI | codex login --device-auth | CODEX_API_KEY |
| gemini | gemini | Google | NO_BROWSER OAuth flow | GEMINI_API_KEY |
| opencode | opencode | OpenCode | Host credential forwarding | MOONSHOT_API_KEY |
For full auth details and caveats, see Agent Configuration.
Configuration
| File | Purpose |
| --- | --- |
| ~/.boss/config.toml | Container settings, SSH keys |
| ~/.boss/.env | Auth env vars (subscription tokens and API-key fallbacks; loaded on start) |
Workflow
- Make Decisions — Discuss requirements and architecture with AI. It generates decision records in
specs/decisions/. - Plan Iterations — Break down work into iteration specs with AI. It generates iteration records in
specs/iterations/. - AI Executes — Let AI agents complete the tasks autonomously. They generate code and update
specs/.
Then loop back to the next decision or iteration.
Documentation
- Installation Guide — prerequisites, setup, platform notes
- CLI Reference — all 7 commands with options, examples, and exit codes
- Agent Configuration — authentication, autonomy settings, API keys
- Workspace Guide — creating, listing, and removing workspaces
- Tmux Quick Reference — detach, reattach, pane splits, scrollback
- Troubleshooting — common issues and fixes
Contributing
See Development Guide for running from source and using dev images.
We welcome contributions of all kinds. If you'd like to help:
- 🌟 Star our repo if you find Boss useful.
- Open an issue for bugs or feature requests.
- Open a PR for fixes or improvements.
- Discuss on Discord for support or new ideas.
