Models and services
Pick a model for each task and connect different services to one agent.
Add a provider
In the WebUI, open Models & Services and add a provider: choose its API protocol and enter the service URL and API key. API keys are encrypted when you save. They aren't shown again when you reopen the settings; the WebUI only shows that a key is set.
Language model providers
ShiritaiBot supports four API formats: OpenAI Chat Completions, OpenAI Responses, Anthropic and Google Gemini. More protocols are planned.
| Protocol | Example URL |
|---|---|
| Chat Completions | https://api.openai.com/v1 |
| Responses | https://api.openai.com/v1 |
| Anthropic | https://api.anthropic.com/v1 |
| Gemini | https://generativelanguage.googleapis.com/v1beta |
The provider form also has settings for a proxy, timeouts and extra request parameters.
Embedding model providers
Embedding models compute vectors for long-term memory. They're optional, but they make memory recall more accurate.
ShiritaiBot supports embedding providers with OpenAI- or Gemini-compatible APIs.
Decision model providers
Much of ShiritaiBot's runtime relies on fast, cheap decision models (such as TypeSafe's Jev) to make judgments: splitting messages between Agent Chat and Work mode, approving tool calls, deciding which memories to inject and write, rating how important a memory is, and more. Decision models are far faster and cheaper than conventional models, and they handle semantic judgments that rule-based methods can't make reliably. We strongly recommend setting up at least one.
ShiritaiBot connects to decision models over the SystemOne protocol.
Add and test models
Click Fetch provider models, then the + next to a model to add it. You can also type a model name yourself.
Test this configuration sends one real request to the model. When the test succeeds, click save.
Assign model routes
After you've added and tested models, assign them to routes, so that each task uses the right model.
The language model routes also have an option to Enable the Agent Work/Chat split. With it on, ShiritaiBot in Agent mode checks each new user message to decide whether it's Work (a long task) or Chat (everyday conversation), and uses a different model for each. With it off, Agent mode always uses the Agent Work model.
| Route | Used for | Good models for it |
|---|---|---|
| Chat default model | Replies in Chat-mode sessions, such as group chats | Fast, lightweight models that sound natural in conversation, such as gemini-3.5-flash-lite |
| Agent Work model | Planning and carrying out long tool-using tasks in Agent mode | Models with reliable tool calls and strong long-task skills, such as gpt-6.1-sol |
| Work/Chat split model | Deciding whether a new message in Agent mode is Work or Chat | Decision models such as Jev, or small models with a high request rate, such as gemma-4-31b-it |
| Proactive triage and summary model | Light tasks such as rating events and summarizing short-term memory | Decision models such as Jev, or small models with a high request rate. With Jev, also add a text model for memory summaries |
| Memory model | Decisions about organizing memory | Decision models such as Jev, or reasonably priced text models that output JSON reliably. Add a fallback text model |
| Tool auto-approval model | Approving or denying calls to tools whose permission is "auto-approved by a model" | Careful text models that output JSON reliably. A decision model such as Jev can go before the text model: its answer is used only when it's confident, otherwise the text model decides |
| Image description model | Describing images in the conversation as text when the main model can't read images | Cheap multimodal models that read images accurately, such as glm-5.3-flash |
| Embedding model | Computing vectors of memories and queries for semantic search | Embedding models; only the first available one is used |
Try it
When you're done, open Chat, send a message and see how ShiritaiBot replies.
If it answers, your models are set up correctly! Next, connect ShiritaiBot to a messaging app, so you can talk to it wherever you are.