← Back to Leaderboard
AStaysUp

StaysUp/agentbus

Self-hosted coding-agent gateway for model-call tracing and staged edits.

Engineering Health (Methodology)
A · 78/100
Maintenance Activity
● Updated today
Latest Release
v0.6.10
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity6/20
Self-HostedCLI
Total Stars
★ 243
24h Growth
+3
7d Growth
+153
Forks
47

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

StaysUp/agentbus Star History (2026-11-09 - 2026-12-04) DAILY STAR HISTORY (26-DAY D1 TELEMETRY) +242 in 25d · avg +10/day 257 129 0 2026-11-09: ★ 12026-11-11: ★ 372026-11-13: ★ 372026-11-15: ★ 502026-11-17: ★ 612026-11-19: ★ 682026-11-21: ★ 762026-11-23: ★ 782026-11-25: ★ 822026-11-27: ★ 902026-11-29: ★ 932026-12-01: ★ 962026-12-03: ★ 2402026-12-04: ★ 243 ★ 243 11-09 11-21 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

AgentBus is a self-hosted Go control plane and model gateway for existing coding CLIs, not a model runtime. A turn runs through Claude Code, Codex, OpenCode or Antigravity on the local host or a joined runner. The gateway captures model requests and replies with cost records, while the session layer lets a different agent take the next turn or review work in the same conversation. The browser cockpit, CLI and HTTP API are separate entry points into the workflow.

The package layout separates adapter/, gateway/ and runner/ from event/, store/, replay/, workspace/ and wall/. The Go module includes modernc.org/sqlite, kin-openapi and mvdan.cc/sh/v3, covering embedded SQL, OpenAPI and shell parsing without implying that every host command is intercepted. HTTP clients can use the OpenAPI 3.1 contract at /api/v0/openapi.json; runner integration has a separate contract at /api/v0/runner/openapi.json.

Key Capabilities & Differentiators

A session can switch from Claude Code to Codex mid-conversation or delegate a question, task or review to another agent. Access varies by adapter: Claude Code and Codex support native logins or their respective vendor API keys; Antigravity supports Google login or a Gemini API key; OpenCode uses OpenRouter or xAI keys, not its native login. Claude Code can also use OpenRouter model IDs, though changing the backend does not change the Claude Code harness or its tool conventions.

Claude Code and Codex use gateway replay by default; the history budget defaults to 40% of the model’s context window. Older long tool results become retrievable stubs, and the oldest turns are summarized without truncating the stored record. Antigravity uses vendor-side resume and only receives a pending note when the next turn starts. User-submitted turns have their own lane, while agent-started turns default to a concurrency limit of eight. Delegation depth, turn count and cost are configurable.

Trade-offs & Limitations

Compared with running Claude Code or Codex directly, AgentBus adds cross-vendor continuity, a per-call audit trail and staged changes, at the cost of another service, more local data and adapter-specific limits. Direct edits the real folder without a wall. Default Copy works on a per-session copy; Review can ask another model to inspect changes, Apply writes them back, and Discard drops the copy without undoing effects outside it. Sandbox adds permission checks to Copy, but enforcement is not uniform: Antigravity cannot enforce shell forbid rules, and OpenCode may refuse a turn rather than pause for approval.

The srt boundary restricts writes to protected project folders and hides AgentBus’s data directory; it is not host isolation. Network access, Docker and ssh-agent remain available, and agents can read host secrets their terminal can read. Docker can modify the original folder outside Review and Apply. Evaluate those limits before giving agents access to sensitive hosts, and set a retention policy for full model records. The license metadata is unspecified despite a LICENSE file, so verify its terms before commercial adoption or redistribution.

Hardware & Deployment Guide

Run on macOS or Linux with at least one supported coding CLI installed; Windows is unsupported. Install via Homebrew or the release script, then use agentbus up -open to start the service and open the cockpit. Building cmd/agentbus from source requires Go 1.27.1 or later and initially serves only the API; agentbus up prints the cockpit installation command. Joined runners need the relevant CLIs and machine-local logins for subscription access, and the control plane rejects older runner protocols.

The default data directory is ~/.local/share/agentbus, overridable with AGENTBUS_HOME. Protect it and its control token, and restrict network access if enabling a non-loopback listener. Copy can be slow on Ubuntu 24.04 and later until the AgentBus AppArmor profile is installed. The release notes mark separate user-turn scheduling in v0.6.7 and a shared srt boundary for Copy and Sandbox in v0.6.10. Local hosting keeps records on managed disk, but is not offline inference: model calls still go to the selected provider.

Gateway: Captures model requests, replies and cost across supported coding CLIs.
Replay: Defaults to a 40% history budget, with fetchable stubs for older tool output and summaries for the oldest turns.
Change review: Copy stages edits in a session workspace; Review can enlist a second model before Apply.
Permission boundary: Sandbox adds Allow, Ask and Forbid rules over the srt wall; Ask waits up to 60 seconds where supported.
Scheduling: User turns have a separate lane; agent-started turns default to eight concurrent turns.
Integration: OpenAPI 3.1 for clients, a separate runner API, and CLI enrollment for additional machines.
Best For

Developers running multiple coding CLIs who want a shared session, per-call cost visibility and a review gate before changes land.

Skip If

You only need one vendor’s native CLI, require fully offline inference, or need strong isolation from host secrets and network access.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedCLI
curl -fsSL https://raw.githubusercontent.com/staysup/agentbus/main/install.sh | sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
agentbus ★243+153Go—Self-hosted coding-agent gateway for model-call tracing and staged edits.
gemini-cli109.6k+376TypeScriptApache-2.0A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools
oh-my-pi40.5k+483TypeScriptMITA Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat
goose57.3k+219RustApache-2.0Rust coding agent with MCP tools and local or hosted models, embeddable via ACP

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/StaysUp/agentbus.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

StaysUp/agentbus Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about agentbus

Does AgentBus replace my coding CLI, and how does a second agent pick up the work?

AgentBus launches an installed coding CLI and routes its model traffic through the gateway. You can then switch agents in the same session and have the second agent review the first agent’s answer or changes. AgentBus reconstructs history for Claude Code and Codex by default; Antigravity uses its vendor’s resume mechanism, so continuity is not implemented identically across tools.

Do I need a GPU, and what should I size on the host?

There is no local GPU or VRAM requirement for the documented provider-backed workflow. Size CPU and memory for the coding CLI processes and the builds or tests they run. Size disk for concurrent workspace copies, per-session caches and retained model records. Measure those costs on a representative repository before raising concurrency; no fixed hardware minimum or benchmark is specified.

Can we self-host AgentBus for commercial use?

Commercial use and redistribution rights are not established by the supplied license metadata. A LICENSE file exists, but its terms are not available here. Review that file and THIRD_PARTY.md before approval, and separately check the terms for tool subscriptions and API providers. Self-hosting keeps AgentBus records and configured API keys on infrastructure you operate; requests still go to the configured provider.

When is AgentBus preferable to running Claude Code or Codex directly?

Choose AgentBus when you need shared context across vendors, model-call and cost records, and a review step before edits land. Use the coding CLI directly when you mainly want one vendor’s native workflow or need strict compatibility with its features. Neither AgentBus’s Copy nor Sandbox mode is a substitute for a separately isolated environment when agents must not read host credentials.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining StaysUp/agentbus? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature StaysUp/agentbus on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare