Skip to main content

Background AI agents

A background agent is the AI assistant working on its own. It keeps going after you close the browser, checks again on a schedule, writes its progress into a conversation, and asks for approval before it changes anything it was not allowed to change without asking.

You set agents up, and follow their work, in Settings → AI Agents.

Who can open the page​

AI Agents is in the Setup group of the Settings menu. It is shown to users who hold at least one of these permissions:

PermissionLets you
AI agents - start and control own background tasksStart background tasks that work with your own permissions, and follow, pause, resume and stop your own tasks. Link your own messenger account.
AI agents - manage agents, channels and all runsCreate and change agents, connect messengers, and see and control every task in your company.

Company Admins have both. A Company Admin gives them to other roles on the Roles page; see Roles and permissions.

The page has up to four tabs. You see only the tabs your permissions allow:

TabWhat it is forNeeds
RunsYour background tasks: start one, and follow, pause or stop it.The start permission
ApprovalsThe changes that tasks have proposed and that wait for your decision.The start permission
AgentsThe agents of your company, with their instructions and limits.The manage permission
ChannelsYour own messenger accounts, and your company's messenger connections. See Messengers.Either permission

Who an agent can serve​

Each agent works for one group of people. You choose the group under Works for when you create the agent, and it can't be changed afterwards.

Works forWhat the agent doesWhat is needed
StaffRuns background tasks for your office, and answers staff in messengers. It can see and do what the person it works for can.The person who starts a task needs the start permission. Every change the agent wants to make waits for approval, except the ones you pre-approve.
CustomersAnswers a customer's questions about their own orders, quotes and invoices. It can't change an order. It can pass a request to your office, and ask for a quote that waits for your price and approval.The customer assistant must be on for your company (Settings → Profile → Customer Portal AI Assistant), and the customer's user needs the Use AI assistant permission. Customers reach the agent from a messenger that you connect for customers.
DriversGives drivers the read-only assistant of the Driver app in a messenger. It answers about their own routes and stops and about using the app, and changes nothing.Coming soon for drivers: a driver links a messenger from the Driver app's assistant, which needs a version of the Driver app that is not in the stores yet. The assistant for drivers must also be on in Settings → Driver App.

A customer's contacts who have no Customer Portal account can also be answered, in a messenger only, when you allow it on the messenger connection. They can ask about that customer's shipments, and never see prices, quotes or invoices. See Messengers.

Start a background task​

A task is a goal the agent works on for a set time, for example "Dispatch all incoming orders for me over the next 12 hours".

From the AI Agents page​

  1. Go to Settings → AI Agents and open the Runs tab.

  2. Select New background task.

  3. Fill in the form:

    FieldNotes
    AgentThe agent that runs the task. If you choose none, your company's default agent runs it.
    What should the agent do?The goal, in your own words. Required.
    Run for (hours)How long the task may run. The form shows the maximum, which comes from the agent's Longest run and is never more than 72 hours.
    Check every (minutes)How often the agent checks again. Leave it on the agent's default, or enter your own number.
    May do without askingThe changes the agent may make without your approval. See What an agent may do without asking.
    No end date (runs until someone stops it)Only for users with the manage permission. The task keeps checking, and using AI credits, until someone stops it.
  4. Select Start task.

The task works with your permissions, unless the agent is set to work with another user's.

From the chat​

Ask the AI assistant in the chat panel to keep working on something, in your own words. The assistant offers a background task; nothing starts until you confirm it. The task then appears on the Runs tab too.

Follow a task​

The Runs tab lists the tasks with their Agent, Status, who started them, when they started and end, the Next check, the Checks done, the AI credits used and the Approvals waiting. Use Open only to hide finished tasks. Users with the manage permission can switch between My runs and All runs.

StatusMeaning
QueuedThe task was created and has not started its first check yet.
WorkingThe agent is working on a check right now.
ScheduledThe agent is waiting for its next scheduled check.
WaitingThe agent is waiting for a message or an approval.
PausedThe task is paused. Resume it to continue.
CompletedThe agent finished its task or reached its end time.
FailedThe task stopped because of an error.
StoppedA person stopped the task.

Select a task to open it. You see its Goal, the Agent's summary, what is Waiting for approval, and a Timeline of what happened: each check, each tool the agent used, each message, each proposal and each decision.

ActionWhat it does
Check nowMakes the agent check at once instead of at the next scheduled time.
Pause / ResumePauses the task and continues it. If the agent is in the middle of a check, the task pauses when that check ends.
StopStops the task for good, after you confirm. A stopped task can't be resumed.
Open conversationOpens the task's conversation in the chat panel.

The task's conversation​

Every task writes into a conversation of its own, which you open like any other chat. There you read the agent's updates, see when it checks next and how many AI credits it has used, approve or reject its proposals, and use the same Check now, Pause, Resume and Stop controls.

You can write to the agent in that conversation, and it answers there shortly. If the task is paused, the agent reads your message after you resume it. A background agent reads text only, so files and voice notes can't be attached there. Only the person who started a task can write to it.

When a task needs you, for example to approve a change, RushHour also sends you a notification that opens the task.

Approvals​

By default, an agent asks before every change. Each change it wants to make becomes a proposal that waits for the person the task works for.

You can decide a proposal in three places:

  • on the Approvals tab of the AI Agents page;
  • in the task itself, under Waiting for approval, or in its conversation;
  • in a messenger, if you linked your account. See Messengers.

Select Approve to apply the change, or Reject to discard it. A proposal that nobody decides in time expires, and nothing is changed; ask the agent to propose it again. Proposals expire after 12 hours.

A proposal is decided by the person who started the task, or by a user with the manage permission. There is one exception: a task that the assistant offered to a customer can be started only by that customer. Your office can reject the offer, or stop the task once it runs.

What an agent may do without asking​

Only a staff agent can be allowed to make changes without asking, and only these three:

  • Add unassigned stops to routes
  • Create routes
  • Re-optimize routes

Everything else always waits for approval.

  • On the agent, tick the actions under May do without asking. A task of that agent may then be allowed only those actions.
  • If you tick none on the agent, the person who starts a task chooses for that task.
  • In the task's conversation, a change the agent made without asking is marked Done without asking.

Customer and driver agents never change anything.

Set up an agent​

You need the manage permission. Without any agent of your own, the first task uses a default agent.

  1. Go to Settings → AI Agents and open the Agents tab.
  2. Select New agent.
  3. Fill in the form and select Save.
FieldNotes
Name and DescriptionFor example "Night dispatcher".
Works forStaff, Customers or Drivers. It can't be changed after the agent is created.
InstructionsCompany rules the agent should always follow. The agent reads them on every check.
EnabledA disabled agent can't start new background tasks.
Default agentUsed when a task does not name an agent.
Runs with the permissions ofStaff agents only. Leave it on Whoever starts the run, or choose a user to make every task of this agent work with that user's permissions.
May do without askingStaff agents only. See above.
Default check interval (minutes)How often a task checks when its starter names no interval. A new agent starts at 10 minutes.
Longest run (hours)The longest a task of this agent may run. A new agent starts at 24 hours; the most you can set is 72.
AI credit limit per run and AI credit limit per daySee Limits.
Customers may ask for work over timeCustomer agents only. See below.

To change an agent, open it from the list. To remove one, delete it; an agent that still has an open task can't be deleted.

Let customers ask for work over time​

On a customer agent, Customers may ask for work over time lets a customer ask the assistant to watch their own orders and report back, for example "tell me when order 1234 is delivered". It is off by default.

  • Such a task only reads. It never changes anything.
  • A customer's user can have up to 3 tasks open at a time. A task runs for up to 72 hours and checks at most every 30 minutes.
  • Your company pays for the AI credits these tasks use.
  • Turning the switch off also ends the tasks that are running.

Coming soon for drivers: a matching switch on a driver agent, Drivers may ask the assistant to watch their routes over time. It needs a version of the Driver app that is not in the stores yet.

Limits​

LimitWhat it is
Length of a taskUp to the agent's Longest run, and never more than 72 hours. A task with no end date runs until someone stops it.
ChecksThe shortest interval between two checks is 1 minute. A task with an end time can make up to 3,000 checks in all. A task with no end date makes at most 300 checks a day, then continues the next day.
Open tasksYour office can have up to 25 open tasks at a time. The tasks that customers start for themselves are counted separately.
AI credit limit per runWhen a task has used this many AI credits, it pauses. Raise the limit and resume the task to continue.
AI credit limit per dayWhen all tasks of the agent together have used this many AI credits in a day, they pause. A task with no end date continues the next day by itself.
Your company's AI limitsThe spending limits in Settings → AI Usage apply to agents too. When they are reached, tasks pause until you add credits or raise the limit. See AI activity and usage.

Leave a credit limit empty for no limit. A paused task tells you why it paused and what to do, on the Runs tab and in its conversation.

A task also stops when the person it works for can no longer use the assistant, when its agent or its conversation is deleted, or after several failed checks in a row.

Where an agent's activity shows​

PlaceWhat you see
Settings → AI Agents → RunsEvery task, its status and its timeline.
The task's conversation in the chat panelThe agent's messages, proposals and controls.
NotificationsA notification when a task needs your decision.
Settings → Activity Logs → AI ActivityWhat the agent looked up and did, with the rest of your company's AI activity. See AI activity and usage.
Settings → AI UsageThe AI credits the agents used, counted with the rest of your company's AI usage.
Channels → MessagesEvery message that came in or went out on a messenger connection. See Messengers.

Switch an agent off​

Nothing runs until someone starts a task or connects a messenger. To stop an agent that is working:

ToDo this
Stop one taskOpen the task and select Stop.
Pause one taskOpen the task and select Pause.
Stop an agent from starting new tasksEdit the agent and clear Enabled. Its open tasks pause with the reason that the agent is turned off; turn it on again and resume them to continue.
Stop the tasks customers startedEdit the customer agent and turn off Customers may ask for work over time. The running tasks end.
Stop an agent answering in a messengerTurn the messenger connection off, or disconnect it. See Messengers.
Remove access for a personRemove the AI agents permissions from their role.