Skip to content

stdio Bus – Agent Transport OS

A deterministic C runtime providing transport-level routing for ACP/MCP-style agent protocols.

Website · Workers · Docker Hub

stdio Bus kernel acts as a process supervisor and message router between external clients (IDEs, CLIs, services) and worker processes. It handles NDJSON-framed JSON-RPC messages with session-based routing, while remaining completely agnostic to protocol semantics.

Key Features

  • Zero AI logic: All routing is deterministic based on session identifiers
  • Single-threaded: One event loop using epoll (Linux) or kqueue (macOS)
  • No external dependencies: Only libc and POSIX APIs
  • Protocol agnostic: Forwards messages unchanged, parsing only routing fields
  • Session affinity: Messages with the same sessionId route to the same worker
  • Backpressure management: Configurable limits prevent memory exhaustion

Prerequisites

  • C11-compliant compiler (GCC 4.9+ or Clang 3.4+)
  • Make or CMake 3.10+
  • Node.js 18+ (for running example workers)

Binary Releases

Pre-compiled binaries for multiple platforms are available in the /releases directory. Each version contains ready-to-use stdio_bus binaries for different architectures:

Version 2.0.3

Available platforms:

Verification: SHA256 checksums available at checksums.sha256

Download the appropriate binary for your platform and make it executable:

# Example for Linux AMD64
curl -L -o stdio_bus https://github.com/stdiobus/stdiobus/releases/v2.0.3/linux-amd64/stdio_bus
chmod +x stdio_bus

Docker

Pre-built multi-architecture images available on Docker Hub:

docker pull stdiobus/stdiobus:latest

Supported platforms: linux/amd64, linux/arm64, linux/arm/v7

Available tags: latest, v2.0.3, main, develop

See Docker Hub for complete usage examples and configuration.

Implementations

Embedded stdio_bus runtime for your application process — no external daemon, no Docker, no TCP hop.

Language Package Status
Node.js @stdiobus/node Available
Rust stdiobus Available
Python stdiobus Staging
C++ Planned
Go Planned

Workers

Worker implementations for stdio Bus kernel: @stdiobus/workers-registry

Includes full ACP protocol agent, ACP Registry launcher for routing to any registered agent (Claude, Goose, Cline, GitHub Copilot and others), OpenAI-compatible endpoint bridge, MCP-to-ACP proxy for IDE integration, and echo/test workers for protocol validation.

See workers-registry for configuration and usage.

License

Apache License, Version 2.0

Pinned Loading

  1. stdiobus stdiobus Public

    A deterministic C runtime providing transport-level routing for ACP/MCP-style agent protocols.

    Shell 1

  2. workers-registry workers-registry Public

    Worker examples for stdio Bus kernel - a high-performance message routing daemon for agent protocols.

    TypeScript 1

  3. stdiobus-node stdiobus-node Public

    Native Node.js binding for stdio_bus - AI agent transport layer. No external binary required.

    JavaScript

  4. stdiobus-rust stdiobus-rust Public

    Rust SDK for stdio_bus - the AI agent transport layer.

    Rust

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…