Skip to main content

Agents

An agent takes a job and carries it through on its own: it reads, runs commands on its own computer, calls the tools you gave it, and writes the result. Agents is where administrators build these agents, hand them work, follow what they do and approve the actions that need a decision.

An agent is a saved profile: a name, instructions, a model from the AI Model Registry, the tools it may use, the Knowledges it may read and what starts it. Each piece of work it does is a run, with its own log, result, and approval requests. Runs happen on the agent's computer, a Linux workspace that keeps its files between runs.

The Agents team page with five agents: Quinn, Scout, Rev, Iris and Ada, each with role, description and granted tools

The examples in these guides follow one small team at a fastener manufacturer:

AgentRoleHow it is startedWhat it does
QuinnQuotation analystTasks on the boardPrices requests for quotation and writes the offer file, asking before it writes
ScoutMarket scoutEvery weekday at 08:00Reads the day's tech news and writes a five-story briefing for sales
RevRelease reviewerA GitHub pull requestReviews each pull request opened on the web shop repository
IrisReporting analystEvery Monday at 07:00Computes last week's sales KPIs and writes the weekly report
AdaKnowledge librarianOn demandFinds outdated or duplicated sheets in the product Knowledge

Prerequisites​

Before you start, make sure you have:

  • A cloud installation. Agents run on the Rational AI cloud. On-premises installations don't include them yet.
  • The Agents module in your license. The Agents tab appears in the top bar only when the license includes it; see License and activation.
  • Administrative access. Only administrators see the Agents tab. The Roles page lists rows for agents, but no role can grant access to the section yet.
  • A text-generation model in the AI Model Registry. Agents without a model of their own use the Agents model default (see Choose the model agents use).

Find your way around​

Open Agents in the top bar. The Workplace sidebar is the same on every page:

Sidebar entryWhat you find thereGuide
Project pickerNarrows the whole section to one project; Manage projects next to it opens Projects.Delegate work with tasks
TasksThe board of work you handed to agents: Queued, Working, To review, Done. The badge counts the tasks to review plus the runs waiting for your approval (X to review, Y to approve).Delegate work with tasks
ProjectsGroups related tasks, chats and documents, each project with its own Knowledge and reviewer.Delegate work with tasks
ChatsDirect and group conversations with your agents.Chat with agents
RoutinesEvery agent with its trigger, tools and last run; pause and resume them here.Schedule and trigger agents
HistoryEvery run, newest first, filterable by outcome.Follow runs and approve actions
CalendarUpcoming scheduled runs and past runs and approvals, in your own time zone.Schedule and trigger agents
TeamThe roster: up to five agents with what each is doing right now. All agents opens the Team page.Build an agent
ComputersEach agent's workspace machine and its open run.Agent computers and the tools library
LibraryEvery tool and skill that can be granted to an agent.Agent computers and the tools library

In the roster, the dot and the second line tell you what each agent is doing: Idle, Queued, Working, To approve, Retrying, Last run failed or Last run timed out, followed by the task it is working on. An agent that cannot work shows Paused, Paused: unread, Budget reached or Disabled instead.

How the pieces fit​

  1. Build the agent once: instructions, model, tools, the tools that must ask first, Knowledge access and what starts it.
  2. Give it work in one of three ways: a task on the board, a message in a chat, or a trigger (a schedule, an API call, a webhook, a GitHub event, a new email, a new Knowledge file or a changed record) that starts it without anyone opening the page.
  3. Each piece of work is a run. You can follow it live, steer it with a message, stop it or retry it.
  4. When the agent reaches a tool you marked "Ask me first", the run pauses and the task moves into To review until someone approves or rejects the call.
  5. When the run ends, its answer is posted on the task, the task moves to Done (or into To review if something went wrong) and the run stays in History.

Choose the model agents use​

Every agent can pick its own model. Those that do not use the platform default, set once for everybody:

  1. Go to Settings → AI Model Registry and open Default models.
  2. Set Agents model: "Used by agents without a model override."

Settings → Agents links to the same default through Open Model Registry defaults →. It also holds the Secrets agents can be granted, the Pause scheduled agents nobody reads setting, and the list of Agent profiles.

Next steps​