Skip to content

Anthropic

Anthropic Claude via the Messages API, selected with LLM_PROVIDER=anthropic, used to extract facts from conversations.

Enable it

bash
LLM_PROVIDER=anthropic
ANTHROPIC_API_KEY=sk-ant-...
ANTHROPIC_MODEL=claude-sonnet-4-20250514

Configuration

VariableDefaultDescription
LLM_PROVIDERopenaiSet to anthropic.
ANTHROPIC_API_KEY(none)API key sent as the x-api-key header. Calls fail at runtime if unset.
ANTHROPIC_MODELclaude-sonnet-4-20250514Claude model used for extraction.

Notes

  • Calls the Messages endpoint at https://api.anthropic.com/v1/messages with API version 2023-06-01.
  • The system message is split out into the Messages API system field; remaining turns are sent as messages.
  • Runs at temperature=0.1 with a 2000-token response cap.

The memory layer for AI agents.