Skip to content
Agentivity
Star on GitHub Start free

What an agent is made of

An agent is one AI specialist with a role. This page explains what an agent is made of, so that the other pages of this section are easier to follow.

In these pages, the example is an agent named Reminder Writer. It writes a polite payment reminder for a customer who has not paid an invoice.

PartWhat it isWhere you set it
RoleOne or two sentences on what the agent is good at. A team reads it to decide when to use this agent.The panel Info of the editor.
InstructionsWhat the agent must do and how, in plain words.The window of the AI Agent node, field System instructions.
ModelThe AI model the agent thinks with.A model node, linked to the agent.

See Create an agent.

In its editor, an agent is drawn as one large box, AI Agent, with a row of seven diamonds under it. Each diamond is a place where you plug something into the agent. What you plug in is drawn as a circle, linked to the diamond by a dotted line.

#NameWhat you plug inNeeded?
1LLM ModelThe AI model of the agent. One only.Yes
2Knowledge BasesThe documents the agent relies on, each with a Knowledge Base step. Several are possible. See Give an agent knowledge and a memory.No
3Human Loop ChannelThe way the agent reaches a person when it needs an answer. One only.No
4Agent SessionA place to keep the conversation, so the agent remembers what was said before. One only.No
5AI Agent ToolsTools the agent can use: a calculator, a web search, a data table. Several are possible.No
6AI Agent PoliciesRules applied to the way the agent runs.No
7AI Agent GuardrailsChecks on what goes in and out of the agent, for example to block a word.No

To choose between instructions, a Data Table, a Knowledge Base, a session and a Vector Store, see Where each kind of information goes.

An agent with a model and good instructions is already useful. Add the rest only when the job needs it.

The window of the AI Agent node has a setting, Agent execution mode. It has three values:

ModeHow the agent works
ToolsIt answers, and it may call the tools you plugged in, choosing which one to use. This is the default.
ConversationalIt answers directly from the conversation, without using any tool.
ReActIt thinks, uses a tool, looks at the result, and repeats until it can answer.

Create an agent.