Reverse engineer anything with agents, from app behavior down to native binaries.
OctoBus
A secure local gateway for AI agents to reliably call approved enterprise APIs, tools, and services.
Install: npx @chaitin-ai/octobus serve --dev
Install
npx @chaitin-ai/octobus serve --devInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →OctoBus is a locally running single-binary gateway for managing pluggable Node.js service packages and exposing the gRPC capabilities in those packages to clients or agents by capset.
The current implementation provides a Go-built octobus binary that is responsible for:
- daemon: start the local control plane and public data plane, and manage Node.js subprocesses according to each service runtime mode
- CLI: manage services, instances, and capsets through the local admin API
- gateway: expose selected methods as gRPC, and expose unary methods as Connect RPC and MCP streamable HTTP
- storage: use SQLite to record services, instances, capsets, method bindings, descriptors, and runtime state
- runtime management: import service packages, prepare runtime dirs, and manage long-running or on-demand Node.js instances
Project Overview
OctoBus is built around the following core model:
- service: a service root inside an importable Node.js package. It contains
service.json, proto files, and a gRPC implementation. A single distribution package can expose multiple service roots through//service-dir. - instance: one runtime instance of a service, with independent config and workdir. Long-running instances also have logs and a local listen port.
- capset: a deterministic set of capabilities for an agent or use case, composed of
capset -> service -> instance -> methodbindings. - method binding: the gRPC method actually selected and exposed in a capset. Unary methods can be called through gRPC, Connect RPC, and MCP. Streaming methods only support gRPC calls for long-running services, and are not available through Connect RPC, MCP, or on-demand invocation paths.
By default, the daemon listens on a single port, 127.0.0.1:9000. The admin API, gRPC, Connect RPC, MCP, and reflection are all dispatched through that port. You can bind explicitly to another address with --addr, for example 0.0.0.0:9000; when exposing OctoBus remotely, you are responsible for network access control. The CLI performs management operations through the admin API by default and does not write SQLite directly.
Service packages use the long-running runtime mode by default: after an instance is created or started, OctoBus launches a resident Node.js gRPC subprocess. A package can also declare "runtime":{"mode":"on-demand"} in service.json: such instances are not prestarted and do not store a PID or listen address. For each incoming request, OctoBus starts one short-lived invoke subprocess.
Start The Daemon
Install from npm
OctoBus is published as the @chaitin-ai/octobus npm package. The main package
installs a small Node.js launcher and pulls the matching native Go binary through
platform-specific optional dependencies such as
@chaitin-ai/octobus-linux-x64.
npm install -g @chaitin-ai/octobus
octobus serve --dev
You can also run it without a global install:
npx @chaitin-ai/octobus serve --dev
The npm package installs the octobus binary only. Normal service import and
runtime flows still require node, npm, protoc, and git as described
below.
Run with Docker
The Docker image includes the octobus binary and the runtime dependencies used
for normal service import and instance startup flows.
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io