Skip to main content
An agent is an AI assistant you configure once and reuse: it holds a set of integrations, a persona, and the permissions that decide what it may do on its own and what waits for your approval. Attach it to a project, chat with it directly, reach it by email or on WhatsApp, or let it run on a schedule. Below, an agent reads new orders out of an Outlook inbox, looks the customers and products up in Odoo, and creates the draft sales orders.
Available on Leo Business and above. Agents use the same credits as Leo.

Create an agent

Go to Agents in the sidebar and click New agent. Describe in a sentence what it should take care of, or pick a template below the box. The agent arrives already set up for that job, named, with its role and instructions written, and you land straight in its chat, where it asks you the rest. If you belong to several workspaces, you are asked which one it goes in first: that workspace’s plan and credits are the ones it uses. You shape it from there. Settings, under its picture, opens Customize: Share as template, at the bottom of Customize, lets others create their own copy of the agent: its instructions, permissions and schedules, connected to their own apps. Connect an integration from the Integrations panel, then ask it something real against your data:
If it answers from your live system, it is configured correctly.
The agent declares which types of integration it needs. The credentials stay on the project, so the same agent can run against a staging Odoo on one project and production on another.

Permissions and approvals

Every action an agent can take falls into one of three classes, and you decide what happens for each: Each line is Allow, Ask me or Deny. Under the three lines, every system the agent can reach (Odoo, each connected app, each API, email, phone, the web) inherits them until you write an exception on it, down to a single tool: “may create invoices, never validate one”. When an action is held, the agent stops and tells you what it is waiting on. The request appears in Approvals (sidebar), on the agent’s page and under the message that asked, with the agent’s reason. Approve runs it right away, exactly as the agent asked; the Autorun switch next to it decides whether the agent then carries on with its task. Refuse stops it, and a note with your refusal is read as a request for changes, which the agent redoes its way. Everything decided stays in the history with who decided and what came of it. The drafts an agent writes for you wait there too: approving one sends it. For Odoo, the agent acts as the Odoo user you connected it with: that user’s rights in Odoo are the real limit, whatever the lines above say. An older agent still on the previous per-model rules shows a banner on its Permissions screen: Switch now moves it to these three lines.

The agent’s sections

Opening an agent shows its chat. Under its picture, Mailbox opens its email and Settings opens everything else; Call appears there too when your plan includes voice calls. The bottom of the sidebar shows its usage for the month (runs and credits). The switch at the top of Settings pauses the agent: its automations stop and it answers nobody, in the chat, by email, WhatsApp, a call or another agent, until you resume it. An agent can also put a question to another agent of the same workspace and use the answer. The other agent replies with its own tools, and the exchange shows in its chat. Turn it off under Permissions → Advanced: HelloLeo tool groups → Ask its teammates.

Reaching the agent

  • In a project — attach it under Project Settings → HelloLeo AI, and it becomes the assistant inside your app
  • In the dashboard — its own chat page
  • From your own app — Settings → Access → API gives its address, whether callers need a key, and the keys. See HelloLeo AI
  • By email, on WhatsApp or by phone: see Channels
  • On a schedule — see Automations

Channels

An agent can be reached from outside HelloLeo. Each channel has its tab under Settings → Access, and everything said on it also appears in the agent’s chat.

Email

Every agent has its own email address, shown on the Email tab. Write to it and the agent answers in your inbox. Two switches decide its reach, both on by default:
  • Only email me: the agent writes to your own address and to the always-allowed list, and to no one else, whatever it is asked
  • Only accept mail from me: mail from anyone else is dropped. A From line is easy to forge, and an inbound mail drives the agent’s tools
Turn them off to work with other people, within allowed domains, blocked domains and always-allowed addresses. Since any mail can claim to come from you, mail sent from your address gets an answer, but anything the agent would change waits for your approval. Mail the agent sends you carries a private reply address: answering it from your inbox keeps full access. Everyone who has written is listed under Who has written, where you can revoke them. The Mailbox holds what reached the agent, what it sent, and its drafts. Under Permissions → Advanced: HelloLeo tool groups, turning off Send emails by itself makes it write drafts for you to approve, edit or turn down instead of sending.

Phone

On Enterprise, the Phone tab gives the agent its own number. Connected phones can call it, and text it where available, and the agent can call them back. Mark your own phone with This is me: calls and texts to it are then not held for approval. Call, under the agent’s picture, talks to it from the browser, when your plan includes voice calls.

WhatsApp

Open the WhatsApp tab: it shows a QR code and an enrollment code. Whoever scans it and sends that code binds their phone to the agent, and their number appears under Connected phones. Anyone who has not enrolled is ignored, silently. That is deliberate: the agent has write access to your ERP, and a phone number is trivially claimed. Regenerate the code to invalidate the old QR, or pause the channel without deleting the bindings. Messages received on WhatsApp also show up in the agent’s chat in the app.
WhatsApp needs a number configured on the instance by an admin. Outlook, Teams and SharePoint go through the app catalog instead, like any other integration.