by StaysUp
Cross-vendor middleware for coding agents: every model call, its cost and the full conversation, through one gateway.
# Add to your Claude Code skills
git clone https://github.com/StaysUp/agentbusGuides for using ai agents skills like agentbus.
See how agentbus compares with popular alternatives.
agentbus is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by StaysUp. Cross-vendor middleware for coding agents: every model call, its cost and the full conversation, through one gateway. It has 52 GitHub stars.
agentbus's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/StaysUp/agentbus" and add it to your Claude Code skills directory (see the Installation section above).
agentbus is primarily written in Go. It is open-source under StaysUp on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh agentbus against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Control every AI agent in a single place.
Quickstart • Demo • Docs • Releases
AgentBus sits between your coding agents and every model vendor. It runs the agents you already have (Claude Code, Codex, Antigravity or any OpenRouter model) and tracks every step.
You need macOS or Linux, and claude, codex or agy installed. Use one of these:
Install script (puts the binary in ~/.local/bin):
curl -fsSL https://raw.githubusercontent.com/staysup/agentbus/main/install.sh | sh
Homebrew (macOS or Linux):
brew install staysup/tap/agentbus
From source (Go 1.27.1 or later):
go install github.com/staysup/agentbus/cmd/agentbus@latest
The install script takes AGENTBUS_INSTALL_DIR (another folder) and AGENTBUS_VERSION (another
release). Check the install with agentbus version.
A first run, from nothing to two vendors talking about the same work. You need claude and codex
installed, and a Claude and a ChatGPT subscription.
Start AgentBus.
agentbus up -open
It prints a sign-in link, http://127.0.0.1:8787/?t=…, and with -open opens it in your
browser. Without -open (on a server, say) it only prints the link. The cockpit comes with
agentbus up: nothing else to install. The link works once, for 10 minutes. The link expired?
Stop agentbus up (Ctrl-C) and start it again for a new one.
In another tab or browser, paste your token on the connect screen instead. The token is the file
token in the data folder that agentbus up prints when it starts ($AGENTBUS_HOME, by default
~/.local/share/agentbus). Copy it
without showing it: pbcopy < ~/.local/share/agentbus/token on a Mac, or
xclip -sel c < ~/.local/share/agentbus/token on Linux. Anyone with the token controls your
agents, so keep it to yourself.
Add your agents. A new AgentBus starts with no agents. Press + Agent at the top of the Agents column, pick Claude Code, and press Create agent. Do the same for Codex.
Connect your subscriptions. Open Settings (at the foot of the Agents column), then Subscriptions. Press Connect next to Claude Code and sign in as it asks. Do the same for Codex. You do this once.
Bring your setup (optional). In Settings, Config, press Use my config, look over
the list and save. Your settings, skills, MCP servers and logins such as gh and aws then come
into every session.
Ask Claude something. Press + Session, pick Claude Code, type the path of a project folder, write a first message such as "what does this project do?", and press Start.
Ask Codex about it. In the same session, switch the agent beside Send to Codex, and send "what do you think about the answer above?". Codex reads Claude's answer and gives its own.
Every turn and every model call is now in the record, with its cost.
Every turn uses the sign-in connected in Settings. A tool's own sign-in on your machine
(~/.claude, ~/.codex) is not used: each session runs in a home of its own. A turn whose tool is
not connected is refused with "connect your claude subscription in Settings".
An agent can also use an API key instead of a subscription. Paste the key once in Settings, Subscriptions: an OpenRouter key for any OpenRouter model, or the vendor's own key (Anthropic for Claude Code, OpenAI for Codex, Gemini for Antigravity). AgentBus keeps it, adds it only to that vendor's model calls, and never shows it again or gives it to an agent. Replace and Remove change it.
Settings apply to every session, from the next turn. Change them on the cockpit's Settings page, or
through the API (/api/v0/settings/permissions and /api/v0/settings/instructions; the keys and
their defaults are in /docs, under Settings).
node_modules) are used read-only instead of copied; read folders may be read as well.git push origin main. A Claude Code command chained with ;
or &&, or started with environment variables, is checked by Claude Code's own rules too, which
can block it even after you allow it. One gate for every agent is planned for the next release.curl -fsSL https://raw.githubusercontent.com/staysup/agentbus/main/install.sh | sudo AGENTBUS_INSTALL_DIR=/usr/local/bin sh.
The profile is packaging/apparmor/agentbus, also in each release archive. AgentBus says what is
missing. The fallback is sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0, which turns
the rule off for every program, so the profile is the better choice.The running service describes its own API, without the token or the internet:
http://127.0.0.1:8787/docs: the API reference, as a page.http://127.0.0.1:8787/api/v0/openapi.json: the same, as OpenAPI 3.1. It is the contract.
Generate a client from it in any language.http://127.0.0.1:8787/docs/llms.txt: one short page for coding agents.Running agents on more than one machine is in docs/RUNNER_PROTOCOL.md. Third-party code in the binary is listed in THIRD_PARTY.md.
Free to use, change and run, including inside your business. You can't sell it as a competing product or service. Each release becomes Apache 2.0 two years after it is published.
Licensed under the Functional Source License (FSL-1.1-ALv2). See LICENSE.