Using the Web App
This page covers the everyday parts of the DocsGPT web app that aren’t specific to agents, knowledge or tools.
The sidebar
The sidebar holds:
- New Chat: start a conversation. A chat without an agent uses the model you pick in the chat box, the prompt you picked for chats (see Prompts) and the default chat tools.
- Activity: what runs now, what waits for you and what runs next, with your schedules and monitors. The row counts what is running and shows a dot while something needs you. See Activity.
- Agents: your pinned agents. With fewer than three pinned, your most recently used published agents fill the list up to three. Click one to chat with it. Hover over it to Pin agent or Unpin agent. The grid button next to the Agents heading opens Manage Agents, the agent library. With no pinned or published agents, a Manage Agents row takes the list’s place.
- Chats: your conversations, newest first. Each has a menu with Rename, Share (see Sharing conversations) and Delete, and can show one status mark: working, waiting for you (an approval or clarifying questions), failed, unread or watching.
- Settings, grouped into Personal (General, Access Tokens), Workspace (Knowledge, Connectors, Tools, Prompts, Custom Models, Teams) and Monitoring (Analytics, Insights while the operator has insights on, Logs). Admins also get Admin.
Search your conversations
Press Ctrl+K (Cmd+K on macOS), or use the search button in the sidebar, to open Search conversations. It matches conversation names and the text of your questions and the answers, and shows a snippet of the match. Pick a result to open that conversation.
The agent library
Open Manage Agents to see your agents in tabs:
| Tab | Holds |
|---|---|
| All | Every tab’s agents on one page. |
| My agents | Agents you created, published or imported, and your folders. |
| Team | Agents your teammates shared with you (see Teams and sharing). |
| Discovered | Public agents you opened through a link. Remove takes one off the list. |
Search… filters the agents by name and description. Each agent card has a menu with the actions your access allows: Logs, Edit (or View), Export as YAML, Share, Pin agent, Move to folder and Delete.
Organize agents in folders
Agent folders look and work like Knowledge folders. They show as tiles at the top of My agents, each with how many agents and folders it holds, above the agents in no folder.
- Choose New folder, type a Folder name and choose Create. Folders nest up to three levels deep; inside a third-level folder, New folder is unavailable.
- To file an agent, choose Move to folder from its menu. In the Move ”…” dialog, type in Search folders… to find a folder at any level, or click a folder’s arrow to see the folders inside it. The agent’s current folder is marked Current. Pick My agents (no folder) to take it out of its folder, or New folder to create one from the dialog, then choose Move.
- Click a folder to open it. The trail, such as My agents › Customer-facing, takes you back up, and a line under it counts what the folder holds. Inside, you see only that folder’s folders and agents; Team and Discovered are hidden. New agent there files the new agent in the folder, and an empty folder offers New agent.
- The folder’s ⋯ menu, on its tile or at the end of the trail, has Rename, Move to folder and Delete. Deleting a folder moves its agents and folders up to the folder it was in, or out to My agents; it doesn’t delete them.
Searching from the top lists folders whose name matches first, then every matching agent with the folder it’s in. Inside a folder, Search in … covers that folder and the folders in it.
In Personal, your folders are your own. You can file an agent a teammate shared with you in them, and filing it changes nothing for the owner or anyone else. In a team workspace, the folders are the team’s, the same for everyone in it, and they can hold agents, knowledge, tools and prompts together; see Team workspaces.
Through the API, agent folders are /api/folders with type=agent, and POST /api/folders/items files many agents at once; see Folders through the API. The older /api/agents/folders routes, including move_agent and bulk_move, still work. An agent’s folder_id in GET /api/get_agents and GET /api/get_agent is your own filing.
Pin agents
Pin agent, from an agent’s card menu or the sidebar, keeps the agent at the top of the sidebar’s Agents list. Pins are per user, so pinning a shared agent changes only your sidebar.
Import an agent from YAML
To bring in an agent exported from another instance (Export as YAML):
- In Manage Agents, choose Import.
- Drop a
.yamlor.ymlfile on the dialog, or click to choose one, then choose Review. - The dialog shows whether the file creates a new agent or updates one you already have, and how it will match Sources, Tools and Models to your account. For a source that isn’t found, pick one of yours or Leave unattached. A Knowledge folder the agent used is listed under Sources and matched to one of your own folders by its path, then by its name (a file exported by someone other than the folder’s owner has only its name): it reads, for example, Carriers: using your folder, or Carriers: you have no folder with this name. For a folder with no match, pick one of your folders or Leave unattached; the problems the import would leave are listed first, under Check before you import:. For a tool or custom model that needs a secret, enter it, or leave it blank to skip that item.
- Choose Import.
A new agent is imported as a draft. Re-importing a file updates the matching agent and keeps its current status, so a published agent stays live. If something was skipped, the dialog lists it before Continue to agent opens the agent.
Importing a file that has no workflow over an existing workflow agent permanently deletes that agent’s workflow, its run history and its artifacts. The review step warns you when this will happen.
For the same import over the API, see Agent portability.
General settings
Settings → General has:
- Theme: Light or Dark. Until you pick one, the app follows your system setting.
- Language: the language of menus and labels: English, Deutsch, Español, Français, 日本語, 普通话, 繁體中文(臺灣) or Русский.
- Task model, under Models: the model DocsGPT’s own tasks run on for you. See Task model.
- Delete all conversations: permanently deletes every conversation in your account.
Theme and language are saved in your browser, so set them again on another browser or device. The task model is saved to your account. The prompt for chats without an agent is picked on Settings → Prompts and saved to your account; see Prompts.
Task model
The task model runs the work DocsGPT does for you outside a chat: drafting an agent, a prompt or Insights topics with Draft with DocsGPT, extracting the knowledge graph of a GraphRAG source, and judging whether a monitor’s condition is met. Chats keep the agent’s model.
The list holds the built-in models and your own custom models, like the model list of a chat. Until you choose one, the picked model is the one the instance runs for you (the order is below), and it follows the instance: when an admin changes the task model, the picked model and your tasks move with it. Choosing another model makes it your choice, and later admin changes no longer reach you; choose the instance’s model to follow the instance again. A choice you already have stays yours if the instance later moves to the same model. When no model can run, none is picked. A custom model runs with your own key and endpoint. Your choice applies to your own drafts, to graph builds of the sources you own and to your monitors. It is saved as you pick; if you pick several models quickly, the last one is the one saved.
Without a choice of yours, DocsGPT uses, in order: the model an admin set under Admin → Defaults, Models; the TASK_MODEL_ID setting; the instance’s default model, unless it is disabled. A choice that stops working (the model leaves the catalog, or you delete or turn off your custom model) is skipped the same way, with no error. Settings then shows Unavailable model and a note that the instance default runs; your choice is kept and runs again if the model comes back, until you pick a model: the instance’s to follow the instance again, or another to make it your choice. A source’s own extraction model and the GRAPHRAG_EXTRACTION_MODEL and MONITOR_JUDGE_MODEL settings still come first for their task.
When a draft fails because the model’s provider refused its API key, DocsGPT remembers it: the list marks that model · key refused (you can still pick it, since an admin may fix the key), and while it is the model that runs, a warning under the field names it. The mark goes once a draft on that model works or you pick a model; the instance’s task model gets the same mark under Admin → Defaults.
Over the API, GET /api/user/preferences returns task_model_id (null when you have no choice, or can no longer use it), task_model_unavailable (true when a choice is stored that can no longer run), task_model_error ({"model_id", "code", "at"} when the task model that runs now failed its last draft because its provider refused the key, code model_auth; otherwise null; a draft that works on it, or setting the task model, clears it) and instance_task_model_id (the model that runs without one, null when no model can), and PUT /api/user/preferences with {"task_model_id": "<model id>"} sets it; null goes back to the instance default, and a model you can’t use answers 400 (invalid_model). A personal access token reads these fields with models:read and sets the task model with models:write.
Clarifying questions
When your answer depends on something neither the chat nor your sources settle (which quarter, who a document is for), the assistant can ask first instead of guessing. The same goes for a request that needs your own specifics: asked for a shipping policy without the regions, times or costs, it asks for them rather than writing a template full of blanks. It asks at most three short questions, once per message, and only when the answer would really differ. Each question has a few options to pick, one or several, and Something else… for your own words, or a field to type in when only you know the answer (a name, an order number). Picking some options opens a field under the option for the rest, such as Another city with the city’s name, and in a question that takes several picks, an option such as None of these comes last and rules out the others.
- Send answers sends your picks, and the same answer carries on.
- Just answer skips the questions: the assistant goes ahead with its best guess and says what it assumed.
- You can also type a reply in the message box, which says Or type your answer… while the questions wait.
Once answered, the questions fold into a short record of what you picked, which stays in the chat. A reply you typed instead shows as your own message under the questions. Questions waiting for you show in Activity under Needs you; they expire like a tool approval, after which they’re kept as not answered.
There’s nothing to turn on: every chat and every agent with tools or sources can ask in the web app. An agent with neither answers straight away. The chat widget, chat bots and API calls don’t ask: there the agent answers as before. An API client that can show the questions opts in; see Clarifying questions in the Agent API.
Default tools in chats without an agent
Chats without an agent get a few built-in tools by default, such as memory, reading a web page and scheduling (your operator sets the list with DEFAULT_CHAT_TOOLS). To stop one of them being used in your chats, open Settings → Tools and turn off its switch; it’s under Included. Tools you add yourself have the same switch. See The Tools page.
Last updated on
🏗️ Architecture
How DocsGPT fits together: API entry points, agents and retrieval, the answer and document lifecycles, worker queues, storage boundaries and deployment.
⚡ Activity
See what runs in DocsGPT right now, what waits for you and what runs next, browse planned and past runs on a calendar and in a history list, stop a running answer, and read the status marks on sidebar chats.