AI assistant
The AI assistant is a widget in the bottom-right corner of the admin panel. When collapsed, it is a round sphere button; click it to open the assistant panel. While the assistant is working, the sphere pulses, so you can tell the agent is still running a task even when the panel is closed.
The panel has two tabs, "Documentation" and "MCP agent":
| Tab | What it does |
|---|---|
| Documentation | Answers questions about the OneEntry documentation. Changes nothing in the project. |
| MCP agent | Runs a task written in plain language: finds the right Admin API operation on its own and creates and changes project data. |
Each tab keeps its own history: questions about the documentation don't appear in the conversation with the agent, and vice versa.
Every agent run spends funds from the AI account selected in the panel. The agent calls the model many times per task: it searches for an operation, parses it, calls it, and checks the result. The cost of each run appears under the response, and the remaining balance is on the Settings → AI Agents tab.
Assistant panel
The panel header has three buttons to the right of the tabs:
- expand / collapse: makes the panel wider or returns it to its normal size.
- clear history: clears the conversation in the open tab. The button is disabled while the conversation is empty or the assistant is still responding.
- close: collapses the panel back into the sphere. Clicking anywhere outside the panel also closes it.
MCP agent tab
The agent runs a task you describe in your own words, such as "set up a page about delivery" or "create products from this table." It works with the Admin API through a set of tools: it searches for the operation it needs, parses its parameters, calls it, and uploads files. One of the tools searches the OneEntry documentation, so the agent reads the docs on its own when it needs to understand how a module works.
The agent acts on behalf of the current administrator, with that administrator's permissions: anything you can't access, the agent can't access either. The agent is not allowed to delete data, and it performs protected operations only after you confirm them (see below).
Selecting the agent and model
Use the Agent and Model fields at the top of the tab to select the AI account and model that will run the task. The accounts come from Settings → AI Agents. The list includes only models that can call tools, because without that the agent can't work with the API.
If the project has no AI accounts, the panel shows a warning instead of the selection: the AI agent isn't configured and needs to be set up in the settings. Create an account on the Settings → AI Agents tab.
Running a task
- Describe the task in the request field.
- If needed, attach a file with the paperclip button, such as a table of products. You can attach one file per request. The server sets the allowed file types and the maximum size; the panel won't accept a file that is too large and will suggest splitting it into parts. You can attach an image only if the selected model can read images. Otherwise, select a different model or attach a document.
- Click "Run". While the agent is working, the "Cancel" button takes its place; click it to stop the run.
While the task runs, the feed shows the agent's steps: which operation it is searching for, which one it is calling, which file it is uploading. Click a step to expand its details. When the agent finishes, its response appears below the steps, followed by the cost of the run: the number of tokens and the price in dollars.
The agent takes the last few completed exchanges in the conversation into account, so you can phrase your next task as a continuation of the previous one.
Confirming protected operations
Before a protected operation, the agent stops and shows a card asking for permission. The card shows the request method and address, the data to be sent, and what is currently stored at that address. You decide based on the request itself, not on the model's summary of it:
- "Allow": the agent performs the operation.
- "Decline": the operation is not performed.
If your answer doesn't reach the server, the card tells you so and the buttons become available again.
Things to know
- Closing the panel doesn't cancel the task. The agent keeps working, and its steps and response appear when you open the panel again. However, once you close the panel or switch tabs, you can no longer stop a running task from the panel, and any unsent request text and attached file are lost.
- The history is kept only in the page's memory. Reloading the page clears the conversation with the agent. Closing the browser tab or reloading the page while the agent is working interrupts the task.
- If the AI account's limit is used up or the selected model isn't suitable, the task won't start, and the panel shows the reason.