Available on Leo Business and above.
Attach an agent
Pick one of your agents. Once attached, the agent owns the model, the integrations and the permission rules. The project only decides the audience.Who the assistant is for
Two modes: Own data only filters every request to the signed-in end-user. A customer opening your portal sees their orders, their invoices, their tickets, and nothing else. The filter is applied server-side on every call, so it holds even if someone tampers with the front end. All data returns everything the agent is allowed to read, regardless of who is asking. Use it for internal tools where every user is a colleague.Who can call your agent
Attaching an agent makes the app able to call it. It does not decide who else can — that is one switch, in the agent’s Access panel or on this screen: Open (the default) — anyone who has the endpoint URL can talk to the agent. The URL is visible to anyone who opens your app, so treat this as public. Calls run on your connected accounts and count against your quota. It is the right setting while you build, and for an assistant that answers from public information. Requires a key — calls must carry an API key (Authorization: Bearer <key>) or a signed-in end-user session. Create keys in the Access panel.
An unpublished project also answers its own preview, so you can try the app before it goes live. Publishing ends that exemption — from then on the key or the session is the only way in.
Calling from your published site is not itself a credential: a browser origin can be forged in one line of
curl, so it grants nothing. The single exception is the preview of a project you have not published yet — that one surface answers its own preview URL so you can try the app before it goes live, and publishing ends it.What the agent may do
Permissions belong to the agent, not to the project: three lines, Read, Write and Irreversible, each Allow, Ask me or Deny, with exceptions per system and down to a single tool. By default it reads freely and asks you before writing or doing anything that cannot be undone. See Permissions and approvals. The same lines apply on every channel the agent answers from: your app, its own chat, email, WhatsApp, a scheduled automation. Anything held waits in Approvals. Start from read-only and open writes one system at a time. Every call your app makes is also saved in the agent’s own chat, so you can see what your users asked it and what it answered.Why this matters
This is what separates an app you can hand to a customer from a demo. Your ERP roles still apply on top: HelloLeo never grants more than the connection’s own account can do. The permission layer narrows further, per project and per audience.A typical setup
- Build a customer portal on Odoo
- Create an agent with the Odoo integration. By default it reads freely and asks you before any write
- Attach it to the project, set the audience to Own data only
- Publish. Each customer signs in and sees only their own records
Files the agent can read
The agent chat takes images, PDFs, spreadsheets and data files (.csv, .tsv, .txt, .md, .json, .xml, .yaml, .log, .html) — drag one in, or use the attach button. A PDF goes to the model as it is, so scanned documents and laid-out invoices work; nothing extracts the text beforehand, which is where a text extractor usually fails. A data file is read as text and placed in the message for you. A spreadsheet (.xlsx, .xlsm, .xls, .ods) is turned into one CSV per sheet in your browser before it is sent.
The same holds through the API. Alongside your text, send a content block:
"type": "image" and their own media type. A data file uses the document block too, with its own media type (text/csv, application/json…) — send the file base64-encoded and it is decoded and read as text.
Through the API, Excel is the app’s job. An .xlsx is a zip archive no model can read, so parse it in your app first and send the result as a .csv document block or as plain text. Leo knows this and will build it that way when you ask for an agent that takes spreadsheets.
Attachments travel inside the request, so they count towards the turn’s tokens. Large documents cost more and, past a few megabytes, are better split.
