Anthropic
Use Anthropic’s Claude models through yottacode’s native adapter.
Configure
In the TUI β add or switch providers without restarting:
/provider # open the picker β Add a profile: kind=anthropic, base URL, API key, model
/provider use anthropic # switch to a saved profile
/model claude-sonnet-4-6 # switch model for this sessionFrom the command line β set environment variables:
export YOTTACODE_PROVIDER=anthropic
export YOTTACODE_MODEL=claude-sonnet-4-6
export YOTTACODE_BASE_URL=https://api.anthropic.com
export YOTTACODE_API_KEY=sk-ant-...β¦or pass flags at launch (they override the environment):
yottacode --provider anthropic \
--model claude-sonnet-4-6 \
--base-url https://api.anthropic.com \
--api-key sk-ant-...The native Anthropic adapter uses the Messages API rather than an OpenAI-compatible shim.
Tip
Anthropic is the only provider that supports image blocks in tool results (read_file images). See Image support.