Capabilities
STT
Not supported
LLM
Full Claude model family via the Messages API
TTS
Not supported
Realtime
Not supported
"groq" or "openai") and TTS provider (e.g. "elevenlabs" or "openai") to build a complete voice pipeline.
API Key
SetANTHROPIC_API_KEY as an environment variable or pass it inline under api_keys in config.json.
Get your key at console.anthropic.com.
Quick Config
- config.json
- Environment variable
Available Models
The default model when
model is empty is claude-3-sonnet-20240229 (defined as DefaultLLMModel in pkg/services/anthropic/llm.go).
API Details
Configuration Reference
Latency Consideration
Tool Calling
The Anthropic provider does not implementLLMServiceWithTools. MCP tool integration is not available with this provider. To use MCP tools, switch llm_provider to "openai" (the other provider that implements the tools interface).
Notes and Limitations
- System messages in the conversation are concatenated and sent as the top-level
systemfield in the Anthropic request; they are not included in themessagesarray. - Messages with empty
contentare silently dropped before the request is sent. - The
max_tokenslimit is hardcoded to 1024. Very long model outputs will be truncated. If your use case requires longer responses, this requires a code-level change inpkg/services/anthropic/llm.go. - Only
"user"and"assistant"roles are forwarded to Anthropic. Any message with a role other than"system"or"assistant"is treated as a user message.