Intermediate 12 minDaily plan

Open WebUI: creating a custom assistant reusable

BestLLMfor — Open WebUI — Reusable assistant

In Open WebUI, a custom assistant is a preset saved in the workspace: a base model, instructions, optionally documents and tools, and a sharing rule. You then select it like any other model, without pasting its prompt into every conversation. This guide explains how to build one properly and what it doesn't do: it doesn't train anything and doesn't make the model more knowledgeable. The procedure follows the official documentation accessed on 30/10/2026; it was not re-run for this guide, and labels may vary depending on your version.

By Mohamed Meguedmi·Update 2026-12-04·Tested on Windows, macOS, and Linux

#Open WebUI custom assistant: a preset, not a new model

The Workspace's Models section (Workspace, Models in the English interface) lets you create what the documentation calls custom models. The term is misleading: no weights are modified. Open WebUI stores an entry in its own database that points to an already available base model (a Ollama model, or a model served through an OpenAI-compatible connection) and attaches settings to it. With each message, these settings are applied to the request sent to the base model.

What the preset changes
The system prompt added to every conversation, certain generation parameters, the knowledge bases queried, the tools offered to the model, the capabilities shown in the interface, and who can view or edit the assistant.
What it doesn't change
The model's knowledge, preferred language, size, VRAM usage, or speed. A 9B is still a 9B, with its reasoning limits and potential errors.
Where it lives
In the Open WebUI database, not in Ollama. The ollama list command doesn't show it, and it's gone if you lose the Open WebUI data volume without a backup.
How it differs from a Modelfile
A Ollama Modelfile creates a new entry on the Ollama side (SYSTEM, PARAMETER), usable by every client of that server. The Open WebUI preset only works in Open WebUI and its API, but it can also carry documents, tools, and access permissions.

In practice, the benefit is repeatability: a team that always writes the same kind of note, reply, or check gets the same framing every time, and whoever maintains the assistant fixes its instructions in one place.

i
What this guide doesn't claim
No screenshots, model responses, or quality measurements are presented as observed. Field names come from the Models page of the Open WebUI documentation (docs.openwebui.com/features/workspace/models), accessed on 30/10/2026. Check your version under Settings, About, before looking for a menu that may have been renamed.

#Prerequisites

The complete kit for building your own AI assistant.

Benefit from our experience and a guided path to build your local assistant and use your AI every day.

  • Lifetime online access
  • PDF + files
  • Refunded within 30 days
A working Open WebUI
Installed and connected to Ollama (which listens on http://localhost:11434 by default). If you haven't done this yet, start with our Open WebUI guide with Ollama.
A downloaded base model
A model already available in Ollama and visible in the chat selector, for example qwen3.5:9b. For tools, choose a model whose model card indicates tool-calling support.
Workspace permissions
An admin account, or an account whose group has been granted access to the workspace's Models section. Without this permission, the section doesn't appear for the user.
One specific task
A recurring need, with an expected output format. An assistant that “can do everything” adds nothing over the base model.
A backup
The preset is added to the Open WebUI database. If you have never backed up that database, do so before creating more assistants.
Terminal — checking the base model on the Ollama side
# Le modèle choisi comme base doit apparaître ici
ollama list

# Sinon, le télécharger (exemple)
ollama pull qwen3.5:9b

# Vérifier qu'Ollama répond sur son port par défaut
curl http://localhost:11434/api/tags

#Step 1: create the preset in the workspace

  1. 01
    Open the Models section
    In the sidebar, open the Workspace and then the Models tab. The create button (a "+") opens a blank form.
  2. 02
    Choose the base model
    The Base Model field lists the models the instance can already see. This model does all the work, so choose it based on your hardware. At Q4_K_M, plan on roughly 5 GB of VRAM for a 7B, 9 GB for a 14B, and 19 GB for a 32B; a 12 GB card such as the RTX 3060 or the RTX 4070 stays comfortable up to the 14B class.
  3. 03
    Name the assistant
    Pick a name that describes the task ("Procedure Reviewer") rather than the model. The identifier (Model ID) is usually suggested based on the name; it's what you use in the API, so keep it short, lowercase, and without accents, for example relecteur-procedures. Avoid changing it later if scripts call it.
  4. 04
    Describe and tag
    The description appears in the model selector. State what the assistant does, which document base it uses, and what it doesn't do. Tags help with filtering as the list grows. A profile image is optional.
  5. 05
    Save a first version
    Save right away, even if it's incomplete. You'll come back to the entry to add instructions, documents, and tools; a saved draft keeps you from losing your input if the session expires.
→
One assistant per task
Three short assistants (review, meeting summary, canned support reply) are better than a single two-page system prompt. Long instructions dilute the important directives, and a small local model follows them less reliably than a large hosted model.

#Step 2: Write the instructions and tune the parameters

The system prompt (System Prompt) is the core of the assistant. It is added at the start of every conversation that uses this preset. Write it like a job description: role, expected input, expected output, what's off-limits, and what to do when information is missing.

System prompt — example for an internal procedures reviewer
Tu relis des procédures internes rédigées en français.

Entrée : le texte d'une procédure collé par l'utilisateur, éventuellement
accompagné d'extraits de la base « Procédures validées ».

Ce que tu produis, dans cet ordre :
1. Étapes ambiguës : cite la phrase exacte, explique l'ambiguïté.
2. Étapes manquantes par rapport aux extraits fournis, avec le titre
   du document source. Si aucun extrait n'est fourni, écris-le.
3. Proposition de réécriture des seules phrases signalées.

Règles :
- N'invente aucune règle interne. Si tu n'as pas de source, dis-le.
- Ne change pas les montants, délais ou noms de services.
- Réponds en français, en listes courtes.
- Date du jour : {{CURRENT_DATE}}

The Open WebUI documentation mentions variables that are substituted at send time, such as {{CURRENT_DATE}} or {{USER_NAME}}. Check the exact list for your version before relying on them: an unrecognized variable is passed to the model as is.

Temperature
For a checking or extraction task, a low value makes responses more consistent. Only change it if the default causes problems, and note the value in the description.
Context length
Depending on the connector, the context parameter (num_ctx for Ollama) can be set in the advanced parameters. A longer context uses more memory; if you increase it, keep an eye on VRAM, because the model may partially fall back to the CPU.
Function calling
The advanced parameters offer a function calling mode, either default or native. Native mode relies on the model's own tool support; if the model doesn't support it, stick with the default mode.
Prompt suggestions
Optional; they appear on the conversation's start screen. Useful for showing colleagues the kind of request expected.

#Step 3: Attach knowledge sources and tools

An assistant can query knowledge bases (Knowledge) created in the workspace, or files attached directly. The mechanism is RAG: for each question, Open WebUI searches the indexed documents for the closest passages and inserts them into the context. So the model doesn't read your documents in full, only the retrieved excerpts, and it can still misinterpret them.

  1. 01
    Prepare a dedicated knowledge base
    In Workspace, Knowledge, create a knowledge base limited to the assistant's scope (for example, “Validated Procedures”) and add the reference documents to it. A catch-all knowledge base increases the risk of surfacing an off-topic excerpt.
  2. 02
    Attach the knowledge base to the preset
    Go back to the assistant's page, Knowledge section, and select the knowledge base. Name it in your system prompt: the model then knows where the excerpts come from and can say so.
  3. 03
    Enable citations
    In the model capabilities, leave citations enabled if your version offers them. They let you verify which passage was used, which is essential for a checking task.
  4. 04
    Add tools only if needed
    The Tools section lists the tools installed on the instance (Python tools from the workspace, and OpenAPI or MCP servers registered by the administrator). Check only the ones the task needs. Every checked tool is offered to the model with every message, even when it isn't relevant.
  5. 05
    Filters and actions
    Filters modify messages before or after the model; actions add buttons below responses. They also come from code installed in the instance: only enable what you've read or installed yourself.
!
A tool runs with the server's permissions
Open WebUI tools and filters are code executed by the backend, not in the user's browser. Attaching a tool to a shared assistant means letting all of its users trigger it through the model. Don't install a community tool without reading its code, and don't attach a tool that writes, sends, or deletes anything to a widely shared assistant.

#Step 4: Assistant sharing permissions

The Visibility or Access section of the model page determines who sees the assistant in their selector. According to the documentation, a model created in the workspace is private by default; it can be made public or opened to specific groups, either read-only or with edit rights.

Private
Only its creator and administrators can see it. A good setting while you're fine-tuning it.
Read-only groups
Group members use the assistant but can't modify its instructions or sources. This is the usual setting for team use.
Groups with write access
Reserved for the people who maintain the assistant. Any change applies immediately to all of its users.
Public
All users of the instance. Avoid this as soon as a non-public knowledge base is attached.

The tricky part is keeping access to the assistant consistent with access to the attached knowledge bases. A user who can query the assistant gets excerpts from its knowledge bases in the responses. So set the assistant's access at least as strictly as that of the most sensitive knowledge base, and check the actual behavior with a test account that belongs to the group, not with your admin account, which sees everything. Our guide on document access in Open WebUI covers this check in detail.

!
No implicit guarantee of confidentiality
Staying local avoids sending documents to a third-party service as long as the base model is served by Ollama on your machine. If the base model goes through a connection to an external API, the system prompt and document excerpts are sent with every request. Check the base model's connector before attaching internal documents to it.

#Step 5: a sample task to validate the assistant

Before sharing the assistant, prepare a small verification set whose correct answers you know. The goal isn't to measure performance but to catch obvious failures: ignored instructions, made-up sources, wrong format.

  1. 01
    Pick three real cases
    One correct procedure, one procedure from which you deliberately removed a step that exists in the knowledge base, and one procedure on a topic the knowledge base doesn't cover. Anonymize them if needed.
  2. 02
    Write the expected answer
    For each case, write down what the assistant should flag: nothing, the missing step with its source document, or the lack of a source. Do this before running the assistant so its answer doesn't influence you.
  3. 03
    Run it in a fresh conversation
    Select the assistant in the model selector, open a new conversation for each case, and paste the procedure. A fresh conversation keeps the previous case from polluting the context.
  4. 04
    Compare and fix the instructions
    Check the citations: does the cited excerpt actually say what the assistant claims? If an instruction is ignored, shorten the system prompt or move the instruction to the top rather than adding it in all caps.
  5. 05
    Record the version
    In the description, record the date, base model, and quantization used for this check. If you change the base model, rerun all three cases: a different model follows the same instructions differently.

Once the assistant is validated, you can also reach it through the Open WebUI OpenAI-compatible API, using its ID as the model name. You need an API key generated in your account settings, provided the administrator has enabled keys. The example assumes an instance exposed on port 3000, as in the most common Docker installation; adjust the address.

Terminal — calling the assistant through the Open WebUI API
# Clé créée dans Réglages > Compte > Clés d'API (si l'option est activée)
export OPENWEBUI_API_KEY="remplacez-par-votre-cle"

curl -s http://localhost:3000/api/chat/completions \
  -H "Authorization: Bearer $OPENWEBUI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "relecteur-procedures",
    "messages": [
      {"role": "user", "content": "Relis cette procédure : ..."}
    ]
  }'

Permissions also apply to the API: the key acts on behalf of its owner, who must have access to the assistant. Don't put an admin key in a shared script.


#Troubleshooting

The Models section doesn't appear
The account doesn't have workspace permission. An administrator grants it in the admin panel, either in the default permissions or for a group.
The base model is missing from the list
Open WebUI can't see the model: check ollama list, the Ollama connection URL in the admin settings, and, if you run Docker, whether the container can actually reach the host (host.docker.internal or a shared network, depending on your setup).
A colleague can't see the assistant
It's still private, or your colleague isn't in the authorized group. Also check that they have access to the base model: depending on the version, restrictions on the base model may apply on top of the preset's.
Documents are never cited
The knowledge base isn't attached, its indexing failed, or the question is too far from the documents' vocabulary. Open the knowledge base to check that the files are there, then rephrase using the document's terms.
The tool is never called
The base model doesn't support tool calling, or the function calling mode doesn't suit it. Try the other mode in the advanced parameters, or a model whose model card advertises tool support.
Responses slow down dramatically
The context grows with the system prompt, document excerpts, and tool descriptions. When VRAM runs out, Ollama offloads part of the model to the CPU. Reduce the number of tools, the length of the instructions, or the requested context.
The assistant disappeared after an update
It lives in the Open WebUI database. If the Docker volume was recreated without being preserved, you need to restore a backup. Also keep an export of your assistants: in the documented versions, the Models section offers a JSON export.

#Limitations and sources

A Open WebUI preset constrains a model; it doesn't make it more reliable or more capable. Instructions can be ignored, especially by small models and in long conversations. RAG retrieves excerpts, not whole documents, and can surface an off-topic passage. Tools add capabilities, but also more room for errors and risk. For any high-stakes task, human review is still necessary, and you should rerun the step 5 verification cases after every change of base model or Open WebUI version.

Open WebUI documentation, Models
https://docs.openwebui.com/features/workspace/models/ (consultée le 30/10/2026): modèle de base, prompt système, paramètres, connaissances, outils, filtres, actions, capacités, visibilité.
Related QuelLLM guide
https://quelllm.fr/guide/open-webui-ollama-tutoriel: installation d'Open WebUI et connexion à Ollama, prérequis de ce guide.
Status of this procedure
Written from the documentation, not re-run for this guide. No screenshots or model outputs are presented as observed.
Search query
The search volume for the query "open webui assistant personnalise" could not be retrieved (DataForSEO, 30/10/2026, 402 response), so no traffic data is claimed.

#Go further

Setting up the knowledge base
Open WebUI with Ollama: complete guide (/guide/open-webui-ollama-tutoriel), covering installation, connecting to Ollama, and user management.
Isolating documents
Open WebUI: managing document access (/guide/open-webui-groupes-acces-documents), to check group by group what each account can query.
Adding external tools
Open WebUI: connecting a local MCP server (/guide/open-webui-connecter-serveur-mcp-http), before attaching an MCP or OpenAPI tool to an assistant.
Customizing on the Ollama side
Ollama Modelfile: creating and customizing your own model (/guide/ollama-modelfile-personnalisation), if the preset needs to work with clients other than Open WebUI.
Did this guide help you?

Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.