- An expert on the topic you always get asked about, so your team can ask it directly.
- An assistant that knows the procedures of a department.
- An agent that serves your customers on WhatsApp, on your website or through a link.
- An agent that works on its own: on a schedule or when another system fires it.
Create an agent
Any workspace member can create agents. A new agent is private: it is not shared with anyone and only whoever made it sees it. Once it serves people outside the team or works on its own (it has a place such as its page, your website, WhatsApp or the API, or a channel such as the webhook, automations or an Odoo action), the workspace’s admins see it in Agents, as Private with the name of whoever made it, and can configure or delete it: it speaks for the company and spends its resources. Seeing it is not using it: it doesn’t show up in their chat until it’s shared with them.- In the sidebar, go to Agents.
- Click New agent.
- Type the name and, optionally, a short description.
- In Instructions, describe the agent’s role and behavior.
- Click Save.
What you can add
The agent’s page has three tabs: Who it is, Where it works and What it can use. Who it is has three rows:
When a member uses the agent in the chat, apps run with that person’s account. If they have not connected an app yet, the agent asks them the first time it needs it. See Connectors.
Use an agent in the chat
- From the agent: click Try in chat. The chat opens with the agent already selected.
- From the chat: type @ in the message box and pick the agent. It shows as a label below the box, next to the +. To stop using it, tap the × on its label (Clear agent). In a new chat, the same @ also offers your projects.
- Keep it handy: in the Agents list, use Pin. Pinned agents show up in the sidebar.
Share an agent
- Open the agent’s ⋯ menu and choose Share.
- In Add people or groups…, search for who to invite.
- Pick the access level and click Share.
Under General access you choose between Only the people invited and the whole workspace. Publishing an agent to the whole workspace is done by an admin, and only if they can edit it: share it with them as Can edit and ask them to publish it.
If someone shared an agent with you and you no longer want it in your list, use Leave.
For the details on levels and groups, see Groups and sharing.
Where the agent works
The Where it works tab is visible to whoever manages the agent. It gathers, on one page, whether it’s on, which account it works with and every way to reach it.Active
The first row, Active, turns the whole agent on or off. When it’s off, nobody can talk to it and it doesn’t work on its own, but nothing is deleted: its places, its automations and its webhook URL stay there for when you turn it back on. You can also do it from the Agents list: in each agent’s ⋯, choose Turn off or Turn on. A turned-off agent is dimmed and says Turned off. When you turn on an agent that had places outside the team, Tuqui asks for the same confirmation as when adding the first one.Where people talk to it
Each way to talk to it is a row with its own ⋯:
To add one, click Add and pick it. While the agent is only in the team chat, Tuqui suggests the places right in the section.
When you add the first place outside the team, Tuqui shows you what will happen, asks for the Tuqui account it works with, and you confirm with Turn it on. For a website the button says Continue: the agent goes live only when you save the site, so closing the form before that leaves nothing half done. That doesn’t share the agent: a private agent stays private, and who uses it in the chat is decided in Share.
Clicking the Agent page row opens it in one view. At the top you see the page small, as whoever opens the link will see it, with Open page and Copy link. Below, you change the color, the message and the limits, and save. Its ⋯ also opens the page and copies the link.
The site is one view, the same when you create it and when you come back from its row: at the top you change the name, the color, the sites and the message, and below is the code to copy and where it goes (on every page, before
</body>, or wherever your site’s builder lets you add code). Limits and advanced options are folded. When you publish it, the code shows up right there, with no other screen; Save saves your changes and closes. You paste the code once: what you change later reaches the site on its own. The row’s ⋯ has Copy code and Configure.
To remove a place, open its ⋯ and choose Delete. Tuqui tells you first what stops happening, for example that the chat stops showing on your site.
In the Agents list, the icons on the right of each agent show where it answers. If there are more than 25, the foot of the list shows which ones you’re looking at (for example, 1–25 of 40) and the arrows to change page.
When it works on its own
It works like Where people talk to it: what’s on the list is on. While the section is empty, Tuqui suggests what to add; once it has one, use Add. Each channel has its ⋯ with Configure and Remove.
Removing deletes nothing: the automations stop running but stay there, the webhook keeps its URL and the Odoo rules that call the agent stay in your Odoo. If you add it again, it works again. To stop everything at once, use Active.
The places outside the team, Webhook, Automations and Odoo action only show up if those features are enabled in your workspace. Odoo action also needs the Tuqui module installed and up to date in your Odoo. Adding a channel under When it works on its own doesn’t share the agent.
If the agent has personal skills linked, opening a place outside the team or a channel under When it works on its own makes those skills the workspace’s, so admins see everything the agent uses when it works unattended. The confirmation lists them under Skills. If one can’t pass (another workspace skill already has that name, or it isn’t yours to share), it’s marked and you can’t confirm until you sort it out. The same goes for a skill you link later, with the place or channel already open: it passes to the workspace, or it isn’t linked.
Someone who isn’t an admin sees these places and channels with a lock, Admins only. On hover, Tuqui tells them who to ask.
Webhook
The webhook works with any app that signs its requests. It has a URL and a secret, and only an admin sees them, in the channel’s settings. Every request must prove the app holds the secret: if it doesn’t, the agent doesn’t run. In the settings you set how your app signs, the signature header and what is signed, and Try with the last request shows what arrived and at which step it failed. The values for each app are in Connect an app to the webhook. The agent gets the JSON the app sends, up to 128 KB, as event data. Odoo doesn’t come in here: use Odoo action. The URL doesn’t change when you turn the webhook off or turn the agent off: while it’s off, it fires nothing. To change it, use Rotate in the channel’s settings; the old URL stops working. The run always uses the agent’s Tuqui account. What the app sends may carry text someone else wrote, such as an issue title, and that text may try to use the agent’s tools. Tick under What it can use only the ones it needs.The agent account
When nobody from the team is on the other side (in a place outside the team, on a schedule, through a webhook or from Odoo), the agent works with an agent account. It is a member with no person behind it: it doesn’t take a plan seat and cannot log in. Everything the agent does is recorded under that account and the accounts linked to it. The account shows in Where it works, under Tuqui account, once the agent has a place outside the team or a channel under When it works on its own. The first time, Tuqui asks Which account does it use in Tuqui? in the same confirmation: pick an account or create a new one. Accounts can also be seen and created in Settings → Members, under Agent accounts, with New. Choosing the account is choosing the permissions: when it works on its own, the agent sees and does only what that account can. That’s why, below the account, Permissions lists each connector the agent uses and whether the account has it Connected or Not connected. A connector that isn’t connected is connected from there, with Connect. Below Tuqui account, Spending limit per month caps this agent alone: when it gets there, it stops and the others carry on.When it runs out of credit
An agent out of credit stops answering outside and stops working on its own. It happens when it reaches its own limit, when Agent accounts reaches the workspace’s maximum spend, or when its agent account reaches its own limit.- In Where it works, a card says which limit was reached, when it comes back and where to raise it.
- The workspace’s owner and admins get a notice in the Notices bell and on their phone. The notice leads to where the limit is raised: the agent, Settings → Usage or the account’s page.
- They also get an email, once per cycle.
What agent accounts cost
Agent accounts need a paid plan: they can’t be created during the free trial. If you’re on the trial, Tuqui shows you the price and takes you to choose a plan. That payment covers the plan and the agent accounts, and the account is created once it goes through.- The first account adds the Agent accounts line to your subscription: US 25 in usage credits. They’re shared by every agent account in the workspace, one or many.
- Whatever goes past the credits is charged when the month closes, up to the Spending ceiling you set when creating the first account. The ceiling counts the fixed US$ 25. When it’s reached, every agent stops until the next month and Tuqui emails you.
- The credits pay for everything the agent does: the model’s answers and every internet search too.
- What each agent spent, the credits left and the ceiling are in Settings → Usage.
Power
In Where it works, Power sets how much the agent thinks when it works on its own: in automations, the webhook and the places outside the team. More power answers better and takes longer.What it can use
The What it can use tab sets which tools the agent uses.- With Narrow its tools off, the agent uses every tool within reach: in the chat, those of each member’s account; on its own, those of its Tuqui account.
- With Narrow its tools on, it uses only the tools you tick, on every channel, chat included. Turning it on starts with none ticked.
System agents
Some agents ship with Tuqui and are marked System. You can use them in the chat, but you can’t open or edit them.Delete an agent
- In the Agents list, or at the top of the agent’s page, open the ⋯ menu.
- Choose Delete.
- Confirm with Delete.
Troubleshooting
- I don’t see the Try in chat button. It only shows when the agent is in the Team chat. Check it in Where it works, under Where people talk to it.
- “This agent has no service identity”. The agent is trying to work on its own and has no account to do it with. Choose one under Where it works, in Tuqui account. If there is no agent account, an admin creates one right there or in Settings → Members.
- “The account this agent runs as is not connected to… yet”. The agent account is not connected to a connector the agent uses. An admin connects it from that account’s page, in Settings → Members. The other option is to remove the connector from the agent.
- “This agent still runs as a person”. It works with a member’s account, which is no longer allowed. It keeps working as before until you create an agent account and choose it in Tuqui account.
- The places outside your team are paused. The agent has places outside the team, but they’re off. Click Resume under Where people talk to it.
- I can’t open a place or a channel: a skill can’t be shared. The agent has a personal skill that can’t move to the workspace. Rename it if another one has that name, ask whoever made it to share it with you as Can edit, or unlink it from the agent.
- I can’t edit an agent. It was shared with you as Can use. Ask whoever made it, or an admin, to share it with you as Can edit.
- “This agent doesn’t exist or is someone’s private agent”. It doesn’t exist, or it’s private and wasn’t shared with you. If you need it, ask whoever made it. If it says The agent could not be loaded instead, loading it failed: use Retry.