omni-anthropic

module
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2026 License: MIT

README

OmniLLM Provider for Anthropic

Go CI Go Lint Go SAST Go Report Card Docs Visualization License

Thick provider for OmniLLM using the official anthropic-sdk-go SDK.

Installation

go get github.com/plexusone/omnillm-anthropic

Quick Start

import (
    omnillm "github.com/plexusone/omnillm-core"
    _ "github.com/plexusone/omnillm-anthropic" // Auto-registers thick provider
)

client, _ := omnillm.NewClient(omnillm.ClientConfig{
    Provider: omnillm.ProviderNameAnthropic,
    APIKey:   os.Getenv("ANTHROPIC_API_KEY"),
})

Feature Support

Feature Supported
Chat Completion Yes
Streaming Yes
Tool Calling Yes
System Messages Yes
JSON Mode No

Configuration

Field Required Description
APIKey Yes Anthropic API key
BaseURL No Custom endpoint

Documentation

See OmniLLM Core for full API documentation.

License

MIT

Directories

Path Synopsis
Package anthropic provides an OmniLLM adapter for Anthropic's Claude API using the official anthropic-sdk-go.
Package anthropic provides an OmniLLM adapter for Anthropic's Claude API using the official anthropic-sdk-go.

Jump to

Keyboard shortcuts

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