Quickstart: build an agent with AI
In this tutorial you’ll build an AI agent without touching the canvas. You describe what you want in a chat, approve the builder’s plan, watch it assemble and test a flow, then open that flow and run it yourself. By the end you’ll have a working sentiment agent and you’ll know how to steer the builder through any build.
The agent you describe calls no external services and needs no credentials of your own, so there is nothing to sign up for along the way.
Prerequisites
Section titled “Prerequisites”- An account on a Publicus workspace with permission to create flows.
- An AI model available to your workspace. On hosted Publicus the platform’s models work out of the box. If sending a message reports “AI builder unavailable”, your administrator has not configured an AI provider yet.
Step 1: open Build with AI
Section titled “Step 1: open Build with AI”Click the Build with AI button at the top of the sidebar, above the navigation groups. You land on a chat page: a few suggestions to start from, and a message composer at the bottom. Two icons sit under the composer: Conversations, where you start a new conversation or reopen an earlier one, and Settings, the builder’s settings.


A new conversation starts in Auto-write: routine edits run on their own and only consequential actions pause for you. For this tutorial, click Settings and, on its Mode tab, pick Ask first instead, so the builder asks before it changes anything and you see every step.


Step 2: describe the agent
Section titled “Step 2: describe the agent”Type this into the composer and press Send:
Build a flow I can run by hand. Its input is a short customer message. An AI agent reads it and returns JSON with a sentiment (positive, neutral, or negative) and a one-sentence suggested reply. Do not use any external services.
The builder starts working. A phase strip appears above its reply showing where it is: Research, Plan, Set up, Build, Test, Done. Under it, a status line narrates the current step, such as “Consulting the documentation” while it searches the Publicus docs to pick real nodes and real settings.


Step 3: approve the plan
Section titled “Step 3: approve the plan”Before anything is created, the builder posts a plan card describing the flow it intends to build, with a Build it button. Read it. It should name an agent step that classifies sentiment and drafts a reply.


Click Build it. Nothing is created until you do; if you’d rather change something first, type the change into the composer instead and the builder proposes a revised plan.
Step 4: approve the changes
Section titled “Step 4: approve the changes”Because you switched the conversation to Ask first, each build step pauses on an approval card listing what the builder wants to do: create the flow, add the steps, wire them together. Routine changes are bundled into one card with an Approve all button, so a step is one decision, not five.


Click Approve all on each card as it appears (a card holding a single change labels the button Approve), and submit the dialog that opens. The dialog offers a checkbox to stop asking for routine changes for the rest of this conversation; leave it unchecked this time so you see every step.


Some actions are never bundled into Approve all: running a flow, sending messages to anyone but you, and deleting things are listed separately on the card, each with its own Approve and Deny buttons. When the builder asks to test-run your new flow, click Approve and let it.
Step 5: watch the flow take shape
Section titled “Step 5: watch the flow take shape”While the builder works, a panel beside the chat shows the flow under construction, read-only, with an Open link to the full canvas. Every flow, table, or page the conversation touches gets a tab of its own there. In a narrow window the preview sits in the chat instead, with an Open on canvas link and a count of the flow’s nodes and edges. From the keyboard, Tab skips over that preview: Open on canvas is the way into the flow. When the builder test-runs the flow, the run itself appears in the chat with a status per step, so you watch the agent step turn green instead of taking the builder’s word for it.




Step 6: read the wrap-up
Section titled “Step 6: read the wrap-up”When the turn finishes you get three things under the builder’s reply:
-
Flows touched, with the new flow as a clickable chip.
-
A View the full run link showing exactly what the builder did this turn.
-
A readiness card. For this build it should read ”…” is ready to run on a green card. If it reads waiting on you instead, the card lists what only you can provide, which for this credential-free agent should not happen.






Step 7: open the flow and run it yourself
Section titled “Step 7: open the flow and run it yourself”- Click the flow’s chip under Flows touched (or Open the flow on the readiness card). The canvas opens, showing the graph the builder made: a Start node where every run begins, and the agent node it described in the plan.
- Click Run by hand in the page header.
- The Run flow dialog asks for the flow’s start data. The builder
defined the input from your description, so fill the message field with
a line like
The package arrived two weeks late and nobody answered my emails.and click Run. - The Runs panel opens at the right edge of the canvas and the new run’s status updates live until it reads Completed.
- Click the run’s row to open its run report. The final output holds the
JSON your agent produced: a
sentimentofnegativeand a suggested reply.
Run it again with a friendlier message and watch the sentiment flip.
What you built
Section titled “What you built”You described an agent in two sentences and got a real flow: planned, scaffolded, wired, and test-run by the builder, with you approving each step. Nothing about it is special or locked. It is a normal draft flow in your workspace that you can edit on the canvas, extend with more steps, or publish so triggers can run it.
Next steps
Section titled “Next steps”- Learn everything the builder can and cannot do, its autonomy modes, and its limits: Build with AI.
- Build an agent by hand on the canvas and understand the agent node’s settings: Build an agent.
- Understand the approval modes you saw on the Mode tab: Add human approval.
- Publish the flow so a webhook or schedule can trigger it: Draft, publish & versions.
- Dig deeper into run reports: Runs.