Claude Agent SDK Go — Git skill for Claude Code
Port of the official Python SDK to Go.
How to install Claude Agent SDK Go
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open schlunsen/claude-agent-sdk-go and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Agent SDK Go does
Port of the official Python SDK to Go.
Alternatives in Git
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Bulletproof Quick Start Guide — Target Audience: Complete beginners Never used Python/git before 11.1k ★
- Go SDK — by anthropics - 官方 Go 客户端库 918 ★
README
Claude Agent SDK for Go
[](https://github.com/schlunsen/claude-agent-sdk-go/actions) [](https://golang.org/dl/) [](LICENSE) [](https://github.com/schlunsen/claude-agent-sdk-go/releases/latest) [](https://goreportcard.com/report/github.com/schlunsen/claude-agent-sdk-go)
**Unofficial community port** of the [official Python SDK](https://github.com/anthropics/claude-agent-sdk-python)
⚠️ This is **not affiliated with or endorsed by Anthropic**. Use at your own risk.
A Go SDK for building multi-turn AI agent applications with Claude via the Claude Code CLI. Build agentic workflows, interact with tools, manage permissions, and stream responses with full control over execution.
Features
- 🚀 One-shot queries - Simple
Query()function for single interactions - 🔄 Interactive sessions - Bidirectional control protocol with
Clientfor complex workflows - 🛠️ Tool integration - Permission callbacks and tool use controls
- 🎣 Hook system - Respond to lifecycle events (PreToolUse, PostToolUse, etc.)
- 📡 MCP support - Model Context Protocol servers (external and SDK-based) + [NEW] Factory function for simplified server creation (Issue #24)
- ⚡ Streaming - Full message streaming with partial outputs
- 🎯 Idiomatic Go - Uses goroutines, channels, and context for natural concurrency
- 📦 Zero dependencies - Core SDK uses only Go stdlib (except test examples)
Comparison with Python SDK
Coming from Python? We have comprehensive guides:
- 📊 Feature Parity Guide - See what's implemented and how it compares
- **[🏗️ Archite
Related Skills
Agent SDK Go
A Go port of Claude Agent SDK https://github.com/anthropics/claude-agent-sdk-python
TDD Parity Review
Parity-focused review using grumpy-gopher to verify a branch faithfully implements a Python SDK PR with idioma
Worktree Spawn
Spawn an isolated git worktree with a deterministic PORT_BASE so heavy multi-port dev servers can run in paral
Claude Code Source Code Deobfuscation
GitHub Repo stars Cleanroom deobfuscation of official Claude Code npm package Source code deobfuscation
Copilot Plugins
The official GitHub Copilot plugins collection — MCP servers, skills, hooks, and other extensibility tools for
Claude Code Plugins.Github.Io
Claude Code plugins sit inside a paid subscription, not a free add-on store. What the official site lists, wha
Related Agents
MCP Currency
MCP protocol & Kotlin SDK currency expert. Researches the latest MCP spec revision, kotlin-sdk-server releases
SDK Researcher
Deep-research a specific SDK or service. Reads official docs, finds all credentials requirements, documents AP
Agentica Agent
You are a specialized agent for building Python agents using the Agentica SDK. You implement agentic functions