anthropic

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 12 Imported by: 0

README

togo

togo-framework/ai-anthropic

marketplace pkg.go.dev MIT

Part of the togo framework.

Install

togo install togo-framework/ai-anthropic

ai-anthropic

Anthropic (Claude) driver for the togo ai plugin, using the Messages API.

togo install togo-framework/ai-anthropic

Set AI_DRIVER=anthropic and ANTHROPIC_API_KEY=.... Default model claude-3-5-sonnet-latest. Token usage is reported via ai.Usage. (Anthropic has no embeddings API — use ai-openai for Embed.)

MIT © ToGO


Premium sponsors

ID8 Media  ·  One Studio

Support togo — become a sponsor.

Documentation

Overview

Package anthropic is an Anthropic (Claude) driver for togo ai using the Messages API. Blank-import it and set AI_DRIVER=anthropic + ANTHROPIC_API_KEY.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL