claude-agent-sdk-go
v0.12.0Unofficial Go SDK for the Claude Agent API, ported from the official Python Agent SDK.
Go and Swift libraries to import and tools to run, tested against the real thing: a real broker, a real CLI, a real API. Each declares the upstream version it was built against, so you can see when it falls behind.
Some are libraries you import. Some are tools you run. Not all of them are ready for production use: each card says where it stands and why. Versions load from the latest GitHub release.
Version 1.0 or later. Public API changes are additive; a break means a major version and a MIGRATION.md.
Pre-1.0 and tested end to end, but the API can still change in a minor release. Pin the version.
A first release, or an edge that no automated test has exercised against the real thing. Try it, do not depend on it.
Packages to import into your own code.
Unofficial Go SDK for the Claude Agent API, ported from the official Python Agent SDK.
Swift client for the Anthropic Claude API: messages, streaming, tool use, files and skills.
Go client for the iTerm2 API: control windows, tabs and sessions, and subscribe to notifications.
Programs to install and run. They are not meant to be imported, and their Go packages carry no stability promise unless the repository says so.
An MQTT v5 broker that uses the NATS server you already run as its messaging core. Run it as a server; the Go packages are there if you want to embed it.
Event-driven dependency updates: discover a new version once, update every importing repo directly. A command-line tool, not a library to import.
Write Claude Code mods in Go. The modgo tool packages a Go program as a mods plugin; the runtime library is what the program imports.
Show Claude Code sessions on remote hosts in iTerm2 and open a tab that attaches to their tmux session.
Open an issue on the project's repository. Each one has a ROADMAP.md showing what is planned next.
Most of the day-to-day work is done by an AI agent. A human owns the repositories and sets the direction. Three habits make that checkable.
Every feature gets a test that drives the real thing: a real server, a real socket, a real client. Unit tests alone do not count as done.
Changes to the public API are additive. A break means a major version, a MIGRATION.md, and deprecation across at least one minor release first.
A feature has shipped when you can install it. Releases are tagged on a fortnightly schedule, with an exception for security fixes and broken installs.
A project that wraps something else says what it was built against. Each repository has an UPSTREAM.md with the pinned reference and the date it was last checked. A passing test suite does not tell you the pin has aged.
| Library | Built against | Pin file |
|---|---|---|
| claude-agent-sdk-go | Official Python Agent SDK (a git commit) | UPSTREAM.md |
| natsmqtt5 | MQTT Version 5.0, OASIS Standard, 2019-03-07 | UPSTREAM.md |
| ripple | Go module index feed, GitHub REST API version | UPSTREAM.md |
| claude-mods-go | Claude Code and the mods documentation | UPSTREAM.md |
| anthropic-swift | Anthropic API version, files and skills betas, model IDs | UPSTREAM.md |
| iterm2-go | iTerm2 API protocol definition and application behaviour | UPSTREAM.md |
| iterm2-claude-bridge | iterm2-go, iTerm2 behaviour, tmux, OpenSSH, Claude Code hooks | UPSTREAM.md |
What went wrong, what we changed, and why.