{"id":44312034,"url":"https://github.com/bazelment/yoloswe","last_synced_at":"2026-04-25T12:03:52.123Z","repository":{"id":335682844,"uuid":"1146201915","full_name":"bazelment/yoloswe","owner":"bazelment","description":"Multi-agent orchestration framework for software engineering tasks","archived":false,"fork":false,"pushed_at":"2026-04-12T11:57:37.000Z","size":2186,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-12T12:24:20.069Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bazelment.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-30T18:56:37.000Z","updated_at":"2026-04-12T11:57:42.000Z","dependencies_parsed_at":"2026-03-28T07:11:10.875Z","dependency_job_id":null,"html_url":"https://github.com/bazelment/yoloswe","commit_stats":null,"previous_names":["bazelment/yoloswe"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/bazelment/yoloswe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fyoloswe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fyoloswe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fyoloswe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fyoloswe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bazelment","download_url":"https://codeload.github.com/bazelment/yoloswe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bazelment%2Fyoloswe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31928229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T10:35:34.458Z","status":"ssl_error","status_checked_at":"2026-04-17T10:35:09.472Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-11T04:12:14.177Z","updated_at":"2026-04-17T12:01:41.887Z","avatar_url":"https://github.com/bazelment.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bramble\n\nBramble is a terminal UI for managing AI-assisted software engineering workflows. It orchestrates multiple parallel AI sessions across git worktrees, supporting both an interactive TUI and background tmux execution modes.\n\n![Bramble overview](docs/screenshots/bramble-overview.png)\n\u003c!-- TODO: Add screenshot of main TUI view showing worktree list and session output --\u003e\n\n## Key Features\n\n- **Dual execution modes** — run AI sessions in-process (TUI mode) or in background tmux windows\n- **Multi-provider support** — Claude, Codex, and Gemini backends with auto-detection\n- **Worktree management** — create, switch, sync, and delete git worktrees from the UI\n- **Parallel sessions** — run planners and builders side-by-side on the same worktree\n- **Multi-repo support** — manage sessions across multiple repositories in a single instance\n- **Session persistence** — full JSONL recording with history browsing and replay\n- **Cost tracking** — per-session token counts and USD estimates\n- **IPC interface** — CLI commands to create sessions, send notifications, and integrate with external tools\n\n## Installation\n\n### Quick install (Linux / macOS)\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/bazelment/yoloswe/main/scripts/install.sh | bash\n```\n\nThis installs both `bramble` and `wt` to `~/.local/bin`.\n\n### Homebrew\n\n```bash\nbrew install bazelment/tap/bramble\nbrew install bazelment/tap/wt\n```\n\n### Install script options\n\n```bash\n# Install only bramble\ncurl -fsSL https://raw.githubusercontent.com/bazelment/yoloswe/main/scripts/install.sh | bash -s -- --tool bramble\n\n# Install a specific version\ncurl -fsSL https://raw.githubusercontent.com/bazelment/yoloswe/main/scripts/install.sh | bash -s -- --version v2026.03.29\n\n# Install to a custom directory\ncurl -fsSL https://raw.githubusercontent.com/bazelment/yoloswe/main/scripts/install.sh | bash -s -- --dir /usr/local/bin\n```\n\n## Quick Start\n\n```bash\nbramble                              # auto-detect mode (TUI or tmux)\nbramble --session-mode tui           # force TUI mode\nbramble --session-mode tmux          # force tmux mode\n```\n\n## Session Modes\n\n### TUI Mode\n\nTUI mode runs AI sessions in-process and renders output directly in the terminal using a rich BubbleTea-based interface. This is the default when not inside a tmux session.\n\n![TUI mode](docs/screenshots/tui-mode.png)\n\u003c!-- TODO: Add screenshot of TUI mode showing session output with markdown rendering --\u003e\n\n**When to use:** Interactive work where you want to see AI output in real time and send follow-up prompts inline.\n\n### Tmux Mode\n\nTmux mode launches each AI session in its own tmux window. Bramble manages the window lifecycle and monitors session state from the TUI.\n\n![Tmux mode](docs/screenshots/tmux-mode.png)\n\u003c!-- TODO: Add screenshot of tmux mode with multiple windows visible --\u003e\n\n**When to use:** Running multiple long-lived sessions in parallel, especially when you want to switch between them or let them run in the background.\n\nKey tmux features:\n- Automatic tmux window creation per session\n- Window monitoring and idle detection\n- Pane capture for inspecting session output from the TUI (`[v]` in command center)\n- Notifications via visual bell when sessions need attention\n- Windows remain open on error for debugging\n\n## UI Overview\n\n### Main View\n\nThe main view shows the selected worktree's session output with a status bar and navigation controls.\n\n![Main view](docs/screenshots/main-view.png)\n\u003c!-- TODO: Add screenshot of main view with session output, status bar, and worktree info --\u003e\n\n### Command Center (`Alt-C`)\n\nA full-screen dashboard showing all sessions across all worktrees. Press `[v]` to toggle inline preview of tmux pane content, or `[p/b/c]` to start a new planner/builder/codetalk session on the selected worktree.\n\n![Command center](docs/screenshots/command-center.png)\n\u003c!-- TODO: Add screenshot of command center with session list and preview panel --\u003e\n\n### Session Types\n\n- **Planner** (`p`) — AI planning sessions for task decomposition and design\n- **Builder** (`b`) — AI implementation sessions that write code\n\n### Keybindings\n\n| Key | Action |\n|-----|--------|\n| `?` | Help overlay |\n| `Alt-R` | Switch repository |\n| `Alt-W` | Switch worktree |\n| `Alt-S` | Switch session |\n| `Alt-C` | Command center |\n| `p` | New planner session |\n| `b` | New builder session |\n| `e` | Open worktree in editor |\n| `t` | Stop current session |\n| `f` | Fetch from origin |\n| `g` | Sync worktree (rebase onto base branch) |\n| `d` | Delete worktree |\n| `w` | Refresh worktree list |\n| `q` | Quit |\n\n![Help overlay](docs/screenshots/help-overlay.png)\n\u003c!-- TODO: Add screenshot of the help overlay showing all keybindings --\u003e\n\n## Multi-Repo Support\n\nBramble can manage sessions across multiple repositories. Use `Alt-R` to switch between repos. Each repo maintains its own worktree list, session state, and configuration.\n\n![Multi-repo dropdown](docs/screenshots/multi-repo.png)\n\u003c!-- TODO: Add screenshot showing the repo dropdown with multiple repos --\u003e\n\n## IPC Commands\n\nA running Bramble instance exposes a Unix domain socket for external integration:\n\n```bash\n# Check if Bramble is running\nbramble ping\n\n# Create a new session\nbramble new-session --type builder --branch feature/my-task --prompt \"Implement X\"\n\n# Create a session on a specific repo\nbramble new-session --type planner --repo my-other-repo --prompt \"Design Y\"\n\n# Create a session with a new worktree\nbramble new-session --type builder --create-worktree --branch feature/foo --from main\n\n# List active sessions\nbramble list-sessions\n\n# Capture text from a tmux session pane\nbramble capture-pane\n\n# Notify Bramble that a session needs attention\nbramble notify\n```\n\n## Configuration\n\nSettings are stored in `~/.bramble/settings.json`:\n\n```json\n{\n  \"theme_name\": \"dark\",\n  \"enabled_providers\": [\"claude\", \"codex\", \"gemini\"],\n  \"repos\": {\n    \"my-repo\": {\n      \"on_worktree_create\": [\"./scripts/setup-worktree.sh\"],\n      \"on_worktree_delete\": [\"./scripts/cleanup-worktree.sh\"]\n    }\n  }\n}\n```\n\n### Themes\n\nSwitch between available themes with a live preview from the theme picker.\n\n![Theme picker](docs/screenshots/theme-picker.png)\n\u003c!-- TODO: Add screenshot of the theme picker with preview --\u003e\n\n### Per-Repo Hooks\n\nConfigure shell commands that run automatically on worktree lifecycle events:\n- `on_worktree_create` — runs after a new worktree is created\n- `on_worktree_delete` — runs before a worktree is deleted\n\n## Session Persistence\n\nSessions are recorded in JSONL format and stored in `~/.bramble/sessions/\u003crepo\u003e/\u003cworktree\u003e/`. You can replay session logs with the built-in log viewer:\n\n```bash\nbazel run //bramble/cmd/logview -- path/to/session.jsonl\n```\n\n## CLI Flags\n\n| Flag | Description |\n|------|-------------|\n| `--repo \u003cname\u003e` | Open a specific repo directly |\n| `--editor \u003ccmd\u003e` | Set editor for `[e]dit` action (default: `$EDITOR` or `code`) |\n| `--session-mode auto\\|tui\\|tmux` | Execution mode (default: auto-detect) |\n| `--tmux-exit-on-quit` | Kill tmux windows when quitting Bramble |\n| `--protocol-log-dir \u003cdir\u003e` | Directory for provider protocol/stderr logs |\n| `--yolo` | Skip all permission prompts (use with caution) |\n\n## Utility Tools\n\n| Tool | Description |\n|------|-------------|\n| `bramble/cmd/logview` | Render JSONL session logs in the terminal |\n| `bramble/cmd/tmuxwatch` | Live monitoring dashboard for tmux-mode sessions |\n| `bramble/cmd/sessanalyze` | Analyze session recordings |\n\n## Development\n\nTo build from source (requires [Bazel](https://bazel.build)):\n\n```bash\n# Build\nbazel build //bramble\n\n# Run\nbazel run //bramble\n\n# Run with flags\nbazel run //bramble -- --session-mode tui\n\n# Run tests\nbazel test //...\n```\n\n## Architecture\n\nBramble follows an MVC architecture:\n\n```\nbramble/app/          VIEW        BubbleTea TUI components\nbramble/session/      CONTROLLER  Session lifecycle, runners, persistence\nbramble/sessionmodel/ MODEL       Canonical types, output parsing, observers\nbramble/ipc/          IPC         Unix socket protocol for CLI integration\nbramble/replay/       REPLAY      Multi-format log parsing (Claude, Codex, raw JSONL)\n```\n\nSee [`docs/design/sessionmodel-architecture.md`](docs/design/sessionmodel-architecture.md) for a deep dive into the data pipeline.\n\n## Environment Variables\n\n| Variable | Description |\n|----------|-------------|\n| `WT_ROOT` | Base directory for worktrees (default: `~/worktrees`) |\n| `EDITOR` | Editor for the `[e]dit` action (default: `code`) |\n| `BRAMBLE_PROTOCOL_LOG_DIR` | Directory for provider protocol/stderr logs |\n| `BRAMBLE_SOCK` | IPC socket path (set automatically by Bramble) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelment%2Fyoloswe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbazelment%2Fyoloswe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbazelment%2Fyoloswe/lists"}