connerohnesorge/claude-agent-sdk-go

21 stars · Last commit 2026-03-30

Claude agent sdk for Go(lang)

README preview

# Claude Agent SDK for Go

[![Go Reference](https://pkg.go.dev/badge/github.com/conneroisu/claude-agent-sdk-go.svg)](https://pkg.go.dev/github.com/conneroisu/claude-agent-sdk-go)

Official Go SDK for Claude Agent, providing programmatic access to Claude's agent capabilities.

## Installation

```bash
go get github.com/connerohnesorge/claude-agent-sdk-go
```

## Prerequisites

- Go 1.23 or later
- Claude Code CLI version 2.0.0 or later installed and available in PATH
- ANTHROPIC_API_KEY environment variable set (optional)

## Quick Start

View full repository on GitHub →