Agent Builder

Baserow Agent Builder

AI agents in Baserow can do more than answer questions. They can search your data, create and update records, send emails, connect to other apps and handle multi-step tasks based on your instructions.

With Agent Builder, you create your own agents, decide what they can access, choose the tools they can use and define when they run. You can start an agent by chatting with it, or let it run on its own on a schedule, when it receives an email or an HTTP request, or when something changes in Baserow.

Before you start

An agent needs an AI model to work.

  • On Baserow Cloud: some models are ready to use, so you can start right away. Their usage counts toward your plan. You can also add your own AI provider in Workspace settings › AI providers.
  • On self-hosted Baserow: set up at least one AI provider in Workspace settings › AI providers, or ask your instance admin to add one for every workspace.

Key concepts

  • Instructions: what the agent should do and how, in plain language.
  • Identity: the workspace member the agent works as. It decides which data the agent can see and change. An identity isn’t a person: it can’t sign in and, during the beta, doesn’t use a seat. The configuration calls this Run as, and the creation wizard calls it Acts as.
  • Tools: everything the agent can use. There are three kinds:
    • Workspace tools read or change data in this workspace.
    • Actions send emails, Slack messages and HTTP requests, or work with a specific table.
    • Connected app tools come from other apps you connect.
  • Ask first: a tool marked Ask first pauses until someone approves it in the conversation.
  • Trigger: an event that starts the agent without anyone chatting with it.
  • Channel: a way for people outside your workspace to talk to the agent.
  • Run: one reply of the agent, from the message it receives to its answer.

Create an agent

Baserow Agent Builder: how it works

  1. Click the + icon next to Agents in the left sidebar to open the Create agent modal.
  2. Enter a name for your agent.
  3. Describe what you want the agent to do in What should it do?, or choose one of the suggestions.
  4. Click Continue.

Review the setup

Check what Baserow prepared from your description:

  • Instructions: how the agent should behave and what it should do.
  • How it starts:
    • Only when I chat with it
    • Run automatically: runs on a schedule. You can change the schedule, or add more triggers, later in Configuration › Triggers.
  • Acts as: the identity the agent works as:
    • New identity: creates an identity named after the agent.
    • Use an existing identity: shares one you already have.
    • No workspace access: the agent can only use web search and actions.
  • Permissions: what the agent may do with that identity:
    • Read only
    • Read and change, ask me first
    • Read and change
    • Custom: choose each tool yourself.
  • Extras: add actions right away, such as Send Email or Send an HTTP request.

Note: A new identity gets a role on the whole workspace: Builder when the agent may change data, Viewer for Read only. Without Advanced or Enterprise, it’s a Member. This lets the agent work right away, but it can reach every database in the workspace. To limit it, see Limit what the identity can access.

Choose the model

  • AI provider and Model: the model that writes the agent’s replies.
  • Reasoning effort: optional. More reasoning helps with hard tasks, but replies take longer and cost more. Not every model supports it.
  • Web search: lets the agent search the web through your AI provider. The provider may charge for each search.

Click Create agent. Everything you chose stays editable later in Configuration.

Configure your agent

Open Configuration to change how the agent works. The sections are grouped in three parts:

  • Essentials: Instructions, Agent settings
  • How it gets started: Triggers, Channels, Permissions
  • What it can do: Workspace access, Actions, Connected apps

Essentials

Instructions

Instructions tell the agent what its job is, how to approach it and how to respond. Plain language works well. You don’t have to start from a blank page: AI can draft the instructions for you, and Kuma can write or improve them.

Good instructions cover:

  • Role: what the agent is responsible for.
  • Tasks: what it should do, step by step.
  • Data: which tables, fields or connected apps to use. Naming a table here doesn’t give the agent access to it: access comes from its identity, see Workspace access.
  • Rules: what it must not do, and when it should ask first.
  • Output: how to present results, such as a summary, a list or an updated row.

Example: a project management agent

You are a project management assistant. Review the Project Tracker database to find tasks that are overdue or at risk of missing their deadline. Rank them by urgency and project importance. Summarize the issues, highlight the tasks that need attention and suggest next steps. Don’t change any task unless you’re asked to.

Suggested messages

Add up to four suggested messages. They show as buttons in a new conversation, including for visitors of your channels, so people know what to ask.

Agent settings

  • Name: pick a name that says what the agent does.
  • AI provider and Model: any provider set up for your workspace, such as OpenAI, Anthropic, Google Gemini, Mistral or a self-hosted Ollama model.
  • Reasoning effort: Model default, Off, Low, Medium or High. A model that can’t stop reasoning uses its lowest effort for Off.
  • Web search: see below.
  • Open web pages: see below.

Web search

Web search lets the agent search the web through its AI provider. Not every model can search the web, and some can’t search while the agent also uses tools. When the chosen model can’t, the setting says so. The provider may charge for each search.

Consider the risks: search results aren’t checked. If the agent also has workspace tools, a web page could steer what it does, and its searches could include workspace data. A search can’t wait for approval first.

Open web pages

Open web pages lets the agent open and read a web page by its URL. It works with any model. Baserow downloads the page itself and never opens internal addresses. The agent can open up to five text pages per reply, not files.

Consider the risks: pages aren’t checked, so a page could steer the agent. The URLs it opens could include anything it can see: the conversation, trigger data or what its tools read. Opening a page can’t wait for approval first.

Web search finds pages; Open web pages reads a page you or the agent already know the address of. You can turn on either one, or both.

How it gets started

Triggers

Without a trigger, the agent only runs when someone chats with it. Triggers start it automatically. An agent can have several.

To add one, open Triggers in Configuration, click Add trigger and pick a type:

Trigger Starts the agent when…
Periodic trigger A schedule comes round: every few minutes, hourly, daily, weekly or monthly.
Email Trigger An email arrives at the trigger’s generated address.
Receive an HTTP Request Another app or service calls the trigger’s webhook URL.
Rows are created Rows are added to a table.
Rows are updated Rows of a table change, in any field.
Rows are deleted Rows are deleted from a table.
Row comment is posted Someone comments on a row of a table. Comments posted by agents are ignored. Advanced or Enterprise.

Settings every trigger has

  • Opening message: the message the agent receives when the trigger fires. Mix fixed text with the trigger’s data, for example: “New ticket from {sender} with the subject {subject}. Set its category and priority.”
  • Data it provides: the values the trigger passes on, which you can use in the opening message.
  • When a run is still going: what happens if the trigger fires while the previous run hasn’t finished:
    • Skip the new run (recommended): nothing piles up.
    • Wait for the previous run: runs happen one after another.
    • Run in parallel: several runs go at once.
  • Ask a person when it can’t continue: when the agent needs a fact or a decision it can’t find, it pauses and asks in the conversation. Anyone who can approve tool calls can answer.

You can turn a trigger on or off, rename it, change its type or delete it from its card.

Email Trigger

  • Email address: send or forward emails to it. You can also add it to an auto-forward rule in your own inbox.
  • Data it provides: the sender, subject, text and HTML body, and the name, type and size of each attachment. Attachments themselves aren’t stored.
  • Limits: emails up to 25 MB are accepted by default, and each body is passed on up to 1 MB.
  • An email can take a few minutes to arrive, depending on the provider.

Treat the address as a secret: anyone who knows it can start a run. If it leaks, click Regenerate address.

On self-hosted Baserow, your admin needs to set up inbound email before this trigger works.

Receive an HTTP Request

  • Webhook URL: call it to start the agent.
  • Allowed HTTP methods: All, or Exclude GET so that opening the URL in a browser doesn’t start a run by accident.
  • Data it provides: the raw body, the headers and the time the request arrived.

The caller doesn’t receive the agent’s reply. To send a result somewhere, give the agent an action, such as Send an HTTP request or Send Email.

Row triggers

  • Rows per conversation: when many rows change at once, they’re split into groups, 20 by default and at most 100. Each group starts its own conversation and counts as one run.
  • The agent’s identity must be able to read the table. A row trigger doesn’t run while the agent has no workspace access.
  • Row comment is posted can be limited to comments that mention the agent’s identity.

Channels

Channels let people outside your workspace talk to the agent. For example, you can share a support agent with your customers. Channels need Advanced or Enterprise.

  1. Open Channels in Configuration.
  2. Click Add channel and choose Public chat or Website widget.
  3. Make sure Channel enabled is on.

Anyone who can reach the channel can ask the agent for anything it can read, and the agent can use every tool that doesn’t ask first. Choose its identity and tools with that in mind.

Public chat

A chat page with its own link.

  • Public link: copy it and share it.
  • Restrict access with a password: visitors enter the password before chatting. It needs at least 8 characters.
  • Title and Welcome text: shown to visitors.
  • Appearance: the accent color and a plain or gradient background.

Website widget

A chat button on your own website.

  • Embed code: add it to every page that should show the button.
  • Title and Welcome text: shown to visitors.
  • Appearance: the button text, its position (left or right) and the accent color, which is also the button’s color.

What visitors see

Visitors chat without a Baserow account. When the agent wants to use a tool that asks first, the visitor sees “Waiting for the team to approve a step” until someone in your workspace approves or rejects it. If you reject a step, the agent may pass your reason on, so write only what the visitor may read.

Members of your workspace can read visitor conversations under the Channels filter, but can’t send messages in them.

Permissions

Manage permissions and access to AI agents in Baserow

Choose who in your workspace can use the agent. This section needs Advanced or Enterprise.

Setting Who it covers Default
Who can chat Start conversations and send messages. Editors and higher
Who can approve tool calls Approve or reject steps that ask first, and answer the agent’s questions. Editors and higher
Who can continue triggered conversations Send messages in a conversation a trigger started. Nobody

For each one, choose Editors and higher, Builders and higher, Admins only or Specific users or teams. Nobody is also offered for continuing triggered conversations, but not for approving, so someone can always decide a waiting step.

People you pick need at least Editor access to the agent.

Without Advanced or Enterprise, every member can chat and approve tool calls, and nobody can continue triggered conversations.

What it can do

Workspace access

Workspace access sets the identity the agent works as and the workspace tools it can use.

Run as

Choose the identity the agent works as, or No workspace access. The agent sees and changes only what its identity may.

Anyone who can talk to the agent can use its identity’s access. That includes Editors and visitors of its channels, even if they can’t open that data themselves. Workspace admins create identities, but Builders can make an agent run as any of them. Give each identity only the access its agents need.

To create a new identity, open Run as and click Add identity. Enter a name, choose its workspace role and, optionally, its teams. You can also manage identities in Workspace settings › Identities.

Role What the identity can do
Admin Configure and edit the workspace and all its applications.
Builder Configure and edit applications.
Editor Edit data, but not configure applications.
Commenter Read and comment on data.
Viewer Only read data.
No access Nothing, unless it gets a role on a specific database, table or view.
No role Takes its role from its teams.

Without Advanced or Enterprise, an identity is either an Admin or a Member.

Limit what the identity can access

With Advanced or Enterprise, give the identity No access on the workspace, then give it a role only on the databases, tables or views it needs.

The identity and the tools work together: access to a table doesn’t turn on any tool, and turning on a tool doesn’t give access to data the identity can’t reach.

Workspace tools

Choose what the agent may do with its identity:

  • Everything: all workspace tools.
  • Read only: tools that read and search, without changing anything.
  • Custom: pick each tool yourself.

Turn on Ask me before making changes to make every tool that changes data wait for approval in the conversation.

To fine-tune, open the tool permissions. Tools are grouped by area and split into Reads and Changes. Turn a tool on to let the agent use it (Allow), and tick Ask first if it should wait for approval.

Reads Changes
List databases Create database, Rename database
List tables Create tables
Read table structure Add fields, Edit fields, Delete fields
Read rows Create rows, Update rows, Delete rows
List views Create views, Add view filters
Read row comments, Search row comments Post row comments

The row comment tools need Advanced or Enterprise. Deleted fields and rows go to the trash, so you can restore them.

Actions

Actions are tools you set up yourself: send an email, a Slack message or an HTTP request, or work with a specific table. The agent decides when to use one, based on your instructions, the conversation and the action’s description.

To add one, open Actions in Configuration, click Add action and choose a type.

Settings every action has

  • Tool name: a unique name, such as send_email. It can have up to 64 letters, numbers and underscores, starting with a letter or an underscore.
  • When to use this action: tell the agent when and how to use it. This is the most important setting: the agent relies on it to pick the right action.
  • Ask first: wait for approval before the action runs. It’s on by default for actions that change something, and off for actions that only read.
  • Input variables: the values the agent fills in when it uses the action, each with a name, a type (Text, Email, Number or Boolean), a description and whether it’s required. You can use them in the action’s configuration.

Example: a send_email action with the inputs recipient (Email), subject (Text) and body (Text), and the description “Use this to send the weekly summary to the person who asked for it.”

Send an HTTP request

Calls an API, for example a service without a dedicated integration.

  • HTTP method: GET, POST, PUT, PATCH or DELETE.
  • Endpoint URL: the address to call. It must start with a fixed address up to the host, such as https://api.example.com/. Input variables can only come after it, so the agent can’t send your data to another server.
  • Query parameters, Headers, Body type and Body content: the rest of the request. You can use input variables in them.
  • Timeout: how long the request may take.

Send Email

Sends an email through an SMTP email integration.

  • Integration: the SMTP email integration to use.
  • From Email and From Name: the sender.
  • To Emails, CC Emails and BCC Emails: the recipients. You can use input variables.
  • Subject, Body type and Body content: the message.

Send a Slack message

Sends a message to a Slack channel through a Slack integration.

  • Integration: the Slack bot to use.
  • Channel: where the message goes.
  • Message: the text, with input variables where needed.

Local Baserow actions

Work with one table you choose, and optionally one of its views:

Action What it does
Create a row Adds a row.
Update a row Changes an existing row.
Delete rows Deletes one or more rows.
Get a single row Reads one row.
List multiple rows Reads several rows.
Summarize field Calculates one value from a field, such as a sum, an average or a count.
Semantic search Finds the rows whose text best matches the meaning of a question. Advanced or Enterprise.

These actions work as the agent’s identity, so they need one, and they can only reach data the identity can.

Why use an action instead of a workspace tool? An action is limited to one table and the inputs you define, so the agent can do exactly one thing. Workspace tools let it work anywhere its identity can.

Semantic search

Semantic search finds rows by meaning, even when they don’t contain the exact words. For example, “customer can’t log in” also finds a ticket that says “password reset link doesn’t work”.

  1. Open the settings of each text field you want to search, and turn on Semantic search. Baserow indexes the field’s values.
  2. Add a Semantic search action and choose the table.
  3. Optionally, choose the Fields to search in. Leave it empty to search every field that has semantic search turned on.

On self-hosted Baserow, semantic search also needs pgvector and an embeddings service.

Manage actions

Turn an action on or off, edit it or delete it from its card. Give each action only the inputs it needs.

Connected apps

Connect the agent to other apps through their MCP (Model Context Protocol) server. The agent gets the tools that app offers, such as finding a contact in a CRM or creating a task in a project management app.

  1. Open Connected apps in Configuration and click Connect an app.
  2. Enter a Name and the MCP server URL, the server’s Streamable HTTP address.
  3. Choose the Authentication:
    • Sign in: sign in with the app’s account. You can also use your own OAuth client. Everyone who chats with this agent uses that account.
    • API key: an auth header and its value, sent with every request. The value is never shown again.
    • None: for servers that need no credential.
  4. Click Connect.

Choose the app’s tools

Turn on only the tools the agent needs, and tick Ask first for any tool that changes something in the other app. When the app changes a tool’s definition, you need to review that tool again before the agent can use it.

Use your agent

Conversations

Each agent has a list of conversations. Use the filter to show:

  • All conversations
  • Waiting: conversations waiting for an approval or an answer.
  • Failed: conversations where something went wrong.
  • Pinned: conversations you’ve pinned.
  • Triggered: conversations a trigger started.
  • Channels: conversations with visitors of a public chat or website widget.
  • Private: conversations only the people in them can see.
  • Shared: conversations everyone who can read the agent’s conversations can see.

A conversation you start is private. From its menu you can:

  • Share it: everyone who can read this agent’s conversations sees its whole history and can continue it. Sharing can’t be undone. A shared conversation that’s also pinned is included as an example when the agent is exported or made into a template.
  • Pin or unpin it.
  • Rename it.
  • Delete it. In a conversation you’ve invited others to, Delete for me removes it only from your list, and Delete for everyone moves it to the trash.

Click Stop to end a reply that’s still running.

While steps of a private conversation wait for approval, Ask for approval appears at the top. Use it to invite specific people to decide them. They see the conversation’s whole history and its future messages.

Approve or reject steps

When a tool asks first, the agent pauses and shows what it wants to do, with its inputs. You can:

  • Approve or Reject each step, or Approve all or Reject all.
  • Add a reason when you reject. The agent reads it and takes it into account.
  • Always approve: approve now and let the agent use this tool without asking again. This turns off Ask first for that tool.

When steps are waiting, a needs a person button appears at the top of the agent. Click it to see and decide everything that’s waiting, across conversations.

Manage your agent

Open the agent’s menu in the sidebar to:

  • Rename the agent.
  • Duplicate it.
  • Open its Snapshots to save a copy and restore it later.
  • Manage members: give people or teams their own role on this agent, or create invite links.
  • Delete it. It goes to the trash, where you can restore it.

What each role allows on an agent:

Role On this agent
Viewer, Commenter Read conversations, but not send messages.
Editor Chat and approve tool calls.
Builder Also see and change the configuration.
Admin Also manage members.

The Permissions section can narrow who may chat and approve.

Keep your agent safe

  • Give the identity the least access that works. Start from No access and add only what’s needed.
  • Keep Ask first on for tools that change data or reach outside Baserow.
  • Remember that everyone who can chat with the agent, including channel visitors, can read what its identity can read.
  • Treat trigger email addresses and webhook URLs as secrets.
  • Turn on Web search and Open web pages only when the agent needs them.
  • Check the Waiting and Failed filters regularly for agents that run on triggers.

FAQs

Do agents have workspace access by default? It depends on how the agent was created. The creation wizard sets up a new identity by default, with the Builder role on the whole workspace, or Viewer for read only. An agent without an identity can’t read or change anything in the workspace. You can change or remove the identity at any time in Workspace access.

Can an agent access all the data in my workspace? Only if its identity can. With Advanced or Enterprise, limit the identity to specific databases, tables or views, and choose which tools the agent may use.

Which AI models can an agent use? On Baserow Cloud, the models Baserow provides. Anywhere, any model from an AI provider set up for your workspace. You choose the model per agent.

Can agents use other apps? Yes. Connect the app through its MCP server, sign in or add an API key, and choose which of its tools the agent may use.

Can agents search the internet? Yes, with Web search, if the model supports it. Open web pages lets the agent read a specific URL with any model.

What’s the difference between Web search and Open web pages? Web search lets the agent find pages. Your AI provider runs the search and may charge for each one, and only some models support it. Open web pages lets the agent read a page whose address it already has, from you, your data or another page. Baserow downloads the page itself, so it works with any model. Turn on both to let the agent search and then read what it finds.

Can agents run automatically? Yes. Add a trigger to run the agent on a schedule, when it receives an email or an HTTP request, or when rows or comments change in Baserow.

Can I require approval before an agent makes changes? Yes. Mark any tool or action Ask first, or turn on Ask me before making changes. The agent pauses until someone who can approve tool calls decides.

Who can approve, and who can chat? With Advanced or Enterprise, choose that in Permissions. Without it, every member can chat and approve.

What happens when a trigger run needs approval? The run pauses and the conversation shows under Waiting. Anyone who can approve tool calls can decide it there, or through the needs a person button.

Can I review what an agent has done? Yes. Every conversation shows the agent’s messages, each tool it used with its inputs, and any errors.

Can I use agents in self-hosted Baserow? Yes, starting with Baserow 3.0. You need at least one AI provider. The email trigger needs inbound email set up, and semantic search needs pgvector and an embeddings service.


Need help? Visit the Baserow community or contact support for assistance with your account.