The examples on this page use the object-oriented SDK surface:
AsyncRunloopSDK in Python and RunloopSDK in TypeScript.Overview
The Claude adapter connects Broker to a Claude Code CLI subprocess running inside your devbox. It launches Claude Code with--output-format stream-json and forwards streaming JSONL messages between
Broker and the CLI.
Full specification coming soon.
Broker mount configuration
| Field | Type | Description |
|---|---|---|
type | string | Must be broker_mount |
axon_id | string | Required. The Axon stream Broker reads from and writes to |
protocol | string | Must be claude_json |
How Broker uses Claude JSONL
- Broker launches Claude Code with
--output-format stream-jsonwhen the Devbox starts - Claude initializes and sets up the session
- Publish
user.messageto the Axon to start a turn - Broker translates that event into Claude’s
userJSONL input - Claude output is republished to Axon as
turn.claude.<type>events
