Skip to content

mzhaom/claude-cli-protocol

Repository files navigation

Claude CLI Protocol SDKs

Multi-language SDKs for the Claude CLI protocol, enabling programmatic interaction with Claude Code CLI.

Installation

Homebrew (macOS/Linux)

brew tap mzhaom/claude-cli-protocol
brew install claude-cli-tools

This installs:

  • yoloplanner - Multi-agent planning tool
  • yoloswe - Builder-reviewer loop for software engineering tasks
  • sessionplayer - Session replay tool

From Source

# Build individual tools
cd yoloplanner && go build -o yoloplanner ./cmd
cd yoloswe && go build -o yoloswe ./cmd
cd tools/sessionplayer && go build -o sessionplayer ./cmd

GitHub Releases

Download pre-built binaries from the Releases page.

Repository Structure

baku/
├── protocol/          # Protocol documentation generator (Python)
├── sdks/
│   └── typescript/    # TypeScript SDK
└── tools/             # Shared scripts

Protocol Documentation

The protocol documentation is generated by the Python tool in protocol/. See:

SDKs

Language Status Location
TypeScript In Development sdks/typescript/
Go Planned sdks/golang/
Rust Planned sdks/rust/

Background

Claude SDK and many tools are built around Claude CLI. However, the underlying protocol was largely undocumented, preventing SDK implementation in other languages. This project provides:

  1. Protocol Documentation - Generated from the Python SDK, capturing the exact wire protocol
  2. Language SDKs - Native implementations for multiple languages

License

MIT

About

Protocol documentation for the Claude Code CLI

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •