Docs contents

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.

ProtocolExample URL
Chat Completionshttps://api.openai.com/v1
Responseshttps://api.openai.com/v1
Anthropichttps://api.anthropic.com/v1
Geminihttps://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.

RouteUsed forGood models for it
Chat default modelReplies in Chat-mode sessions, such as group chatsFast, lightweight models that sound natural in conversation, such as gemini-3.5-flash-lite
Agent Work modelPlanning and carrying out long tool-using tasks in Agent modeModels with reliable tool calls and strong long-task skills, such as gpt-6.1-sol
Work/Chat split modelDeciding whether a new message in Agent mode is Work or ChatDecision models such as Jev, or small models with a high request rate, such as gemma-4-31b-it
Proactive triage and summary modelLight tasks such as rating events and summarizing short-term memoryDecision models such as Jev, or small models with a high request rate. With Jev, also add a text model for memory summaries
Memory modelDecisions about organizing memoryDecision models such as Jev, or reasonably priced text models that output JSON reliably. Add a fallback text model
Tool auto-approval modelApproving 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 modelDescribing images in the conversation as text when the main model can't read imagesCheap multimodal models that read images accurately, such as glm-5.3-flash
Embedding modelComputing vectors of memories and queries for semantic searchEmbedding 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.