The Claude Agent · Get started
Connect a model
Add a provider key and test the connection.
Pro
The Claude Agent is built on Anthropic’s Claude Agent SDK, and the model it thinks with is your choice. Every agent runs on a provider you add with your own API key: you pay the provider directly, and SocialMate keeps the key encrypted on your machine.
Add a provider
1Open the provider form
On the Agents page, find the AI providers card and click Add provider. You get the same form inside the New agent wizard (step Brain & budget) and on an agent’s Brain & budget tab with Add another provider.
2Pick a provider and paste your key
Choose a provider from the list. Anthropic (Claude) is marked Recommended, DeepSeek Lowest cost. If you have no key yet, click Get your … key to open the provider’s key page. Paste the key into API key. It is stored encrypted on this machine and never shown again.
3Choose a model
Pick a Model. The recommended one is pre-selected, and the line under it shows the price SocialMate counts for it. For OpenRouter, Ollama and a custom endpoint you can also type a model id under Or type a model id. It must support tool use.
4Save and test the connection
Click Save & test connection. SocialMate saves the provider and sends one small test request. A passing test shows the reply time, whether tool use works, and what the test cost. Models outside Anthropic must pass “Test connection” before an agent can go live on them.

Each provider in the list shows Working, Last test failed or Not tested, when it was tested and how many agents use it. Test re-tests the models your agents actually run on it, the key icon (Change key) re-keys it, and Delete removes it with its key — agents using it stop answering until you pick another provider.
The providers
Every provider below speaks the Anthropic Messages API: Claude natively, the others through their Anthropic-compatible endpoints. Prices are what SocialMate counts per million tokens (input / output) when it adds up costs; check your provider for its current pricing.
- Anthropic (Claude) — Claude Sonnet 5.5 — recommended ($2 / $10), Claude Haiku 4.5 ($1 / $5), Claude Opus 5.5 ($4 / $20), Claude Fable 5.1 ($10 / $50). All can see photos.
Key: console.anthropic.com · Endpoint: https://api.anthropic.com - DeepSeek — DeepSeek V4.1 Flash — recommended ($0.14 / $0.28), DeepSeek V4 Pro ($0.55 / $2.19). Text only.
Key: platform.deepseek.com · Endpoint: https://api.deepseek.com/anthropic - OpenRouter — Claude Sonnet 5.5 via OpenRouter ($2 / $10), GPT-5 mini ($0.25 / $2), Gemini 3 Flash ($0.30 / $2.50), or type any OpenRouter model id.
Key: openrouter.ai · Endpoint: https://openrouter.ai/api - Ollama (local) — Qwen 2.5 7B and Llama 3.1 8B (free, on your machine), or type another tool-capable model. Text only.
Key: No key needed · Endpoint: http://localhost:11434 - Moonshot (Kimi) — Kimi K2 Turbo ($0.60 / $2.50). Text only.
Key: platform.moonshot.ai · Endpoint: https://api.moonshot.ai/anthropic - Z.ai (GLM) — GLM 4.6 ($0.60 / $2.20). Text only.
Key: z.ai · Endpoint: https://api.z.ai/api/anthropic - MiniMax — MiniMax M2 ($0.30 / $1.20). Text only.
Key: minimax.io · Endpoint: https://api.minimax.io/anthropic - Custom (Anthropic-compatible) — Any endpoint that speaks the Anthropic Messages API — LiteLLM, a gateway, a self-hosted server. You type the model id.
Key: Your gateway · Endpoint: You type it
The agent is always the Claude Agent; the model is shown separately. The app shows the model next to the agent (for example “Model: DeepSeek V4.1 Flash”) and never presents another model as Claude. Only Claude models on the Anthropic provider use Anthropic’s built-in web search (Claude through OpenRouter uses your Brave Search or Tavily key); text-only models can still understand photos through the Photos sense.
Changing the endpoint
Each provider starts on its own endpoint (listed above). To route it through a gateway or rename it in the list, open Advanced: name and endpoint on the form and set Display name or Endpoint URL. A Custom (Anthropic-compatible) provider always needs an Endpoint URL starting with https://.
Ollama on your own computer
Ollama (local) runs the model on the machine SocialMate runs on: it is free and nothing leaves the machine, but it needs a tool-capable model and enough memory. The API key is optional and the Endpoint URL defaults to http://localhost:11434. Pull the model in Ollama first, then pick or type it here. Local models on a CPU can be slow; on the headless server, SOCIALMATE_AGENT_RUN_TIMEOUT_MS raises the time one turn may take (up to 10 minutes).
Models you type in: add their prices
When you type a model id that is not on the list, two optional fields appear: Input price (USD / 1M tokens) and Output price (USD / 1M tokens). Fill them in. Without prices the model’s replies count as $0, so the agent’s budget cannot stop it — and if an owner number is set and Alert owners on WhatsApp is on, the agent tells you so on WhatsApp once a day.
Voice and photo services (Senses)
Three more kinds in the list are marked Voice & photos only. They are not an agent brain; they give agents ears, eyes and a voice: OpenAI (voice and photos) (transcription, photo descriptions, voice replies with 10 voices), Groq (voice and photos) (fast Whisper transcription and Llama 4 Scout photo descriptions) and Custom (OpenAI-compatible) for your own voice or vision server. Their button is Save & test key; you then choose what each one does under Senses. See Voice notes, photos and web search.
Choose the model for an agent
On an agent’s Brain & budget tab, under AI model, pick the Provider and Model. The line below shows its price and whether it can see photos. Test connection checks this exact model. Click Save changes at the bottom of the page.
A fallback model
Under Advanced options on the same tab, Fallback model picks a second model from the same provider. It takes over when a budget limit is reached and When a limit is reached is set to Switch to the fallback model — for example Claude Haiku 4.5 behind Claude Sonnet 5.5. See Budgets, usage and costs.
Which one to start with? Claude Sonnet 5.5 is the recommended default: the best tool use, sees photos and has built-in web search. DeepSeek V4.1 Flash costs a fraction of that for text chats. Try both in the Test tab on the same questions before you decide.