Skip to content

oddship/bosun

Repository files navigation

Bosun

An opinionated environment for Pi. Multiple AI agents in tmux, coordinated automatically.

What it does

  • Multi-agent orchestration — spawn specialized agents (test runner, code reviewer, scout) that work simultaneously in tmux windows
  • Mesh coordination — agents reserve files, send messages, and stay out of each other's way
  • Background automation — a daemon summarizes sessions, generates builder's logs, fills handoffs, and backs up your workspace on a schedule

Quickstart

git clone https://github.com/oddship/bosun.git
cd bosun
just onboard        # install deps, create config
# edit config.toml with your API keys
just start          # sandboxed tmux session

Then:

You: Explore this codebase and add tests for the auth module

Bosun spawns scout → plans the work → delegates to lite → runs verify

See the full Quickstart.

How it works

┌─────────────────────────────────────────────────────┐
│  tmux session                                       │
│  ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌──────────┐ │
│  │ bosun   │ │ lite    │ │ verify  │ │ scout    │ │
│  │(orchestr)│ │(fast)   │ │(tests)  │ │(recon)   │ │
│  └────┬────┘ └────┬────┘ └────┬────┘ └────┬─────┘ │
│       └────────────┴──────────┴────────────┘       │
│                    pi-mesh                          │
├─────────────────────────────────────────────────────┤
│  pi-daemon (background automation)                  │
├─────────────────────────────────────────────────────┤
│  sandboxing (bwrap + tool-level)                    │
└─────────────────────────────────────────────────────┘

Documentation

Packages

Independent Pi packages, each usable standalone via pi install npm:<name>:

Package Description
pi-agents Agent discovery, model tiers, spawn_agent
pi-mesh Multi-agent coordination — reservations, messaging
pi-tmux Terminal tools — split panes, send keys, capture
pi-daemon Background workflows — scheduling, queue, retry
pi-sandbox Tool-level access control
pi-chronicles Builder's log generation
pi-session-tools Session summarization and handoffs
pi-q Task, project, and roadmap management

Agents

Agent Tier Role
bosun high Orchestrator — delegates, plans, coordinates
lite lite Fast helper — quick edits, summaries
verify medium Validator — tests, builds, checks
scout lite Reconnaissance — explore, map structure
review medium Code review (read-only)
oracle oracle Deep reasoning — architecture, hard debugging
q high Executive assistant — tasks, projects, roadmaps

Tiers map to models in config.toml. Change the model, not the agent.

License

MIT

About

An opinionated environment for Pi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published