Agent
Agent is NappAI’s agent. It receives a message, understands it with the AI model you connect, decides which tools to use and in what order (look up a CRM, search the web, create an invoice…) and answers. You give it instructions in plain language; it works out the rest.
It is simple by default: to start you only write the instructions, connect a model and, if you want, its tools. When a task calls for it, you turn on more abilities with a switch: planning long tasks, working as a team with other agents, searching and reading web pages, running code, remembering each person between conversations, asking for approval before acting, protecting personal data or checking the answer before giving it.
Inside, it is a complete agentic harness, on a par with the best agent harnesses available today: the think-and-use-tools loop, planning, workspace files, agent teams, running code, memory and safety controls come built in and designed to work together. You only decide what to turn on.
Since 3 November 2026 it is the only agent offered for new flows. It replaces Agent (Legacy), Simple Agent (Legacy), Deep Agent (Legacy), Supervisor Agent (Legacy) and the CrewAI components: it brings together what each one had and adds new abilities. Flows that already use those agents keep working as before.
Videos: every ability
Five videos go through everything the Agent can do, with the assistant of an online coffee shop.
1. The essentials
The model, the tools and the instructions; conversation memory, max steps, streaming with a line for every tool, what it does by itself with nothing to set up, and structured output.
2. Planning, running code, searching the web and presenting results
A sales analyst with no tools connected: it plans, analyses a file from your Storage with code, looks up the price of coffee on the web with its sources and publishes an interactive chart in the chat.
3. Remembering each customer and following your procedures
Remember Users recognises a customer in a new conversation, and a skill with the returns procedure guides the agent when a product arrives broken.
4. Agent teams
A reception that hands the conversation over to Orders and Billing (Hand over the conversation), and a copywriter that shares out each coffee’s sheet between helpers working at the same time (Give them tasks).
5. Control: approvals, personal data, guardrails, self-check and fallback
A refunds assistant that asks for approval before paying money back, only sees the last digits of the bank account, never breaks the twenty-euro rule, signs every answer after reviewing it and has a fallback model.
When to use it
- A customer service assistant that answers about orders, opening hours or returns with your tools.
- An assistant that remembers each customer: their preferences, their details and what was left pending last time.
- A long task with several steps, like researching a topic and writing a report, which the agent plans and follows.
- A task with many similar items, like checking the stock of 50 products or updating 100 rows, which the agent solves by writing a small program.
- A team of agents: one Agent greets the person and hands them to the right specialist (orders, billing, support), which is another Agent.
- A question that needs current information from the internet: the agent searches, reads the pages and cites the source.
- A process where a person must approve some actions, like sending an email or issuing a refund, before they happen.
How it works
For each message the agent thinks, uses a tool, reads what it returns and decides the next step, until it has the answer. Without any setup, it also:
- Summarizes long conversations when they get close to the model’s limit, keeping what matters, so it never runs out of room.
- Tries again when the model provider or a tool fails for a moment (it is overloaded, too slow or the connection drops). A setup error, like an invalid key, is not retried.
- Loads tools on demand when it has more than 30, which is common with several MCP servers connected. The model sees only their names and loads the ones it needs, so it answers better and costs less.
- Reuses the instructions and tools already sent to the model (with Anthropic models) at a tenth of the price. Controlled with Prompt Caching.
- Keeps to a maximum number of steps per answer (Max Steps), so a task never runs out of control.
Settings
Connections
| Connection | What to connect |
|---|---|
| Model (required) | An AI model component, for example OpenAI or Anthropic. It is the model the agent thinks and answers with. |
| Tools | The tools the agent can use: integrations, searches, MCP, other flows or other agents. Connect as many as you need. With Request Approval the agent can ask for an approval and wait for it. |
| Skills | Shown with Skills on. The skills the agent can use. |
| Agents | Shown with Other Agents on. The agents it works with: connect their Agent output here. |
| Sandbox | Shown with Run Code on. Optional: a full machine (Modal, Daytona, Runloop or Docker). |
| Storage Folder | Appears with Run Code on. Optional: the folder of your Storage the code reads and writes as volume. |
| Memory | Shown with Conversation Memory on. Optional: where the conversation is kept. Not connected: NappAI’s database. |
| Reviewer Model, Guardrail Model, Fallback Models | Shown with Self-Check, Guardrails or Use Fallback Models on. |
Common tab
| Field | What it does |
|---|---|
| Instructions | Who the agent is, what it must do and how it must answer. Write it like a brief for a new colleague. The agent always knows today’s date. |
| Input | The message to process, usually connected from Chat Input. |
| User Prompt | The template of the message the agent receives. Default {input}. Each word in braces becomes a field of its own. |
| Agent Name and Agent Description | Its name and what it does. Another agent reads them to decide when to hand it work. |
Advanced tab: memory and limits
| Field | What it does |
|---|---|
| Conversation Memory | The agent remembers what was said earlier in the same conversation. Off by default: leave it off in flows where every run is a new task (a webhook, a schedule), or runs that share a session would see each other’s messages. |
| Max Steps | How many times the agent may think in one answer before it must reply. Default 50; raise it for long tasks. |
| Recursion Limit | Technical limit of internal steps. You rarely need to change it. |
Advanced tab: abilities
Each ability has its own switch and only then shows its fields.
| Ability | What it does | Default |
|---|---|---|
| Planning | For tasks with several steps the agent writes a to-do list, follows it and keeps it up to date. | On |
| Workspace Files | Gives it a scratch folder for notes and drafts, and keeps very long tool results there instead of overloading it. | On |
| Skills | Step-by-step know-how the agent reads only when a task needs it. Shows the Skills connection. | Off |
| Other Agents | The agent works with other agents: it gives them tasks or hands them the conversation. See Other Agents. | Off |
| Web Access | The agent searches the internet and reads pages to find or check information. | Off |
| Run Code | The agent writes and runs Python programs in an isolated sandbox, and the code can call its tools. Best for many similar actions, calculations or data handling. | Off |
| Remember Users | Keeps a short note about each person (preferences, what they said, what is pending) and reads it when they come back. | Off |
| Ask Before Acting | A person must approve some actions before the agent takes them. | Off |
| Protect Personal Data | Hides personal data before the model sees it. | Off |
| Guardrails | Rules the agent never breaks, checked on every request and every action. See Guardrails. | Off |
| Self-Check | Before answering, a reviewer checks the answer against your criteria and the agent fixes what is missing. | Off |
| Visual Artifacts | The agent can publish interactive pages in the chat: dashboards, charts or diagrams. | Off |
| Use Fallback Models | Backup models in case the main one fails. | Off |
| Show Progress | Shows in the chat a short line for each tool it uses while it works. The lines show with Stream on. | On |
| Prompt Caching | Reuses instructions and conversation already sent to Anthropic models. | On |
Other Agents
Connect the Agent output of other Agents to Agents and choose how they work in How They Work Together:
| Mode | What happens | What for |
|---|---|---|
| Give them tasks (default) | The agent gives part of the work to another one, which does it with a clean context and hands back the result. It can give out several at once. With none connected, it uses a general helper. | Big tasks that split up: researching several sources, preparing the parts of a report. |
| Hand over the conversation | The agent answers what is its own and, when another one is better placed, hands the person over. The specialist sees the whole conversation and answers directly. The next message starts with the main agent again, which has seen everything. Who Answers decides who writes the reply. | A team: a reception that passes the person to orders, billing or support. |
With Hand over the conversation, Who Answers decides who writes the reply that leaves the agent:
| Option | What goes out |
|---|---|
| The teammate answers directly (default) | When one specialist takes the message, its reply goes out exactly as it wrote it, untouched by the main agent. With Use structured output on, its whole JSON goes out: for example a WhatsApp message with text, buttons and media. When the message has parts for several specialists, the main agent writes one reply with what they all said. |
| This agent writes the answer | The main agent always writes the reply from what the specialists found, in its own tone and, when it has it on, its own structured format. |
The structured output that applies is the one of whoever writes the reply: the specialist’s when it answers, the main agent’s when it answers or writes it.
Every connected agent needs a clear Agent Name and Agent Description: that is what the main agent reads to decide who to turn to. Each specialist keeps its own tools, instructions and abilities, approvals included.
Web Access
With Web Access, the agent can search the internet and read the text of pages, with their links, to find current information or check it before answering. It needs no key. For safety it can never read internal or private addresses, not even when a page redirects it there.
Run Code
With Run Code the agent can do in one step what would take dozens of tool calls. Asked “check the stock of products P01 to P20 and tell me which have fewer than 3 units”, it writes a program that checks the 20 products with your stock tool, filters them and returns only the result.
- The code runs in the same isolated sandbox as the Python Code component, with Python’s standard library.
- It can call the tools connected to the agent. For safety, never the ones that need approval, and none at all when Guardrails is on: those are only used as a normal call, which goes through the approval or the check.
- Storage Folder (optional): a folder of your Storage where the code can read and save files, kept between runs. It is the same folder as a Python Code’s Volume Directory, so both see the same files. In the code it is the path
volume. - For safety, the code has no network access: it cannot connect to the internet or to any internal service. Whatever it needs from outside it asks for through the agent’s tools or Web Access.
- With a Sandbox connected it also gets a full machine to run commands and keep files.
Remember Users
With Remember Users the agent starts every conversation knowing what it kept about that same person in earlier ones, and updates the note when it learns something worth remembering.
| Field | What it does |
|---|---|
| Who Is the User | Something that identifies the person: their email, phone or customer number, usually taken from the flow input. Empty: the chat session. |
| Forget After (days) | A person’s note is deleted this many days after it was last updated. Default 90. |
Privacy: the identifier is never stored, only a fingerprint of it. Each note belongs to one agent and one person, expires on its own, and the agent does not keep passwords, card numbers or health data. Tell your users that the assistant remembers conversations, as the law requires.
Ask Before Acting
| Field | What it does |
|---|---|
| Actions That Need Approval | Names of the tools that need a yes, one per line. Empty: every action of your tools. |
| Approval Deadline (hours) | How long an approval request waits in a published flow. Default 72. |
| If Nobody Answers | What happens when the deadline passes: Reject the action or Keep waiting. |
In the test chat the agent stops and tells you, in your language, which action it wants to take and with what data; you answer yes to let it go ahead or no to cancel it. In a published flow the request waits in the Approvals inbox, with the same description.
Protect Personal Data
Hides emails, phone numbers in international format (with a + prefix), card numbers, IBANs and IP addresses in messages and in what tools return, before the model sees them. In What to Do With Personal Data choose Hide it (replace them with a label), Show only the last digits or Refuse the message (do not process a message that contains any).
Self-Check
| Field | What it does |
|---|---|
| Criteria | What a good answer must meet, one point per line. |
| Max Corrections | How many times the agent may fix its answer before it is sent as it is. Default 2. |
| Reviewer Model | The model that reviews. Not connected: the agent’s own model. |
Self-Check makes answers slower and somewhat dearer: turn it on when quality matters more than speed. With it on, the answer appears whole once it passed the check, not as it is written. If the reviewer fails, the answer is sent anyway.
Advanced tab: output format
These fields are in the Advanced tab, next to the abilities. Turning on Use structured output adds the Output Format tab, where you write the schema.
| Field | What it does |
|---|---|
| Stream | The answer appears in the chat as it is generated. |
| Use structured output | The answer follows a fixed JSON format you define in Structured Output Schemas. |
| Include State in response | Adds the run’s internal data to the answer. |
Outputs
| Output | What it returns |
|---|---|
| Response | The agent’s answer, as a message. |
| Agent | The agent itself, to connect it to Agents of another Agent, as a team specialist or as a helper. |
| Tool | The agent as a tool of another agent. |
Example: customer service that remembers each customer
- Connect Chat Input to the Agent’s Input and its Response to Chat Output.
- Connect a model to Model and your order tools to Tools.
- In Instructions write: “You are the assistant of Cafés del Sur. Solve order questions with your tools. Never promise refunds.”
- Turn on Conversation Memory so it remembers the conversation in progress.
- Turn on Remember Users and, in Who Is the User, map the customer’s email from the flow input.
- If a person must approve refunds, turn on Ask Before Acting and write the name of the refund tool in Actions That Need Approval.
When the customer comes back another day, the agent will remember, for example, that they take oat milk and had a return pending.
Tips
- Start simple. Instructions, model and tools. Turn on an ability only when the task needs it: each one adds instructions the model reads at every step.
- Good instructions are worth more than any switch: say what it must do, with which tools, and what it must never do.
- For a team of agents, create each specialist with an Agent, give it a clear Agent Name and Agent Description, and connect its Agent output to Agents of the main agent, with Other Agents on and Hand over the conversation. See Multi-agent.
- To classify or route a text into fixed categories, a decision model such as Laya is faster and more reliable than an agent.
Security
- What the agent must never do goes in Guardrails, not only in the instructions: the model can still decide to act even if the text forbids it.
- Sensitive actions (paying, deleting, sending) go in Ask Before Acting.
- Run Code runs isolated and cannot call the tools that need approval.
- Remember Users keeps only a fingerprint of the identifier and the note expires on its own.
- With Web Access, a page may contain text written to mislead the agent. If the agent can take sensitive actions, combine the web with Ask Before Acting or Guardrails.