Build with AI
Build with AI is a chat that builds and repairs flows in your workspace. You describe an outcome; it plans, scaffolds, wires, and test-runs a normal flow that you can open and edit like any other. Nothing about an AI-built flow is special or locked.
This page is the reference for what the builder can do, what it asks you for, and where its limits are. For a guided first build, follow Quickstart: build an agent with AI.
Ways in
Section titled “Ways in”-
The Build with AI button at the top of the sidebar, above the navigation groups.
-
Home. In a workspace with no flow of its own yet, Home asks “What do you want to build?”; once you have a flow, the same box sits at the end of Home. Write what should happen and press Send: Build with AI opens on a new conversation and sends your message there. It shows how many builder runs the workspace has left today, when there is a daily limit.
-
The command palette: when what you type matches no screen or object, the palette hands your sentence to the builder, pre-filled in the composer.


-
Edit with AI in a flow’s toolbar, or the same row in the command palette on a flow’s page: the builder opens beside the canvas, working on that flow, with the message box ready for you to type in. Press Escape, or use Close, to put it away, and you are back on Edit with AI.
-
Explain this flow in the command palette on a flow’s page: the builder opens beside the canvas with a request to explain the flow, node by node, in its message box.
-
Describe with AI under the name of a flow with no description, and Update beside a description that may be out of date: the builder opens beside the canvas with a request to write what the flow is for in its message box (see Publish and versions).
-
Ask about this node, under a node’s name in its settings: the settings close, and the builder opens beside the canvas asking what that node does in this flow and what it needs.
-
Fix with AI on a failed run, and Explain this error on a failed run of a flow Publicus manages (see below).
-
Fix with AI on a connection, a mailbox or a chat app whose page says Failing: the builder opens with a message that names it in the composer, asking it to find out why and propose a fix.
-
New agent on the Agents page, choosing Describe it to the AI builder: a new conversation in which the builder asks what the agent is for and sets it up with you (see How to build an AI agent).
A pre-filled composer never sends itself. You review the message and press Send. The one message that arrives already sent is the one you sent from Home, and it is sent once: reloading the page does not send it again. If the workspace has used its builder runs for today, it waits in the composer instead.
A new conversation offers a few examples to start from, and pressing one puts its request in the composer for you to edit. Explain this workspace appears once the workspace has a flow of its own, and Fix what failed while one of its runs failed in the last seven days. A run someone stopped does not count as failed.
You can attach up to five files to a message, up to 8 MB each: PDFs,
Word and Excel files, CSV, text, Markdown, JSON, YAML, XML, HTML and
images. Use Attach, drop the files anywhere on the conversation, or
paste a screenshot into the message box. Each file shows its upload’s
progress until it is attached, and Send waits for them. Cells copied from a spreadsheet
paste as text. The builder reads the files with the message, and a long one
in full when it needs to. An archive (.zip, .tar, .tar.gz) is taken only when it holds an OpenClaw workspace or a Hermes Agent home
(see Coming from OpenClaw and
Coming from Hermes Agent).
Its keys are moved into the workspace only when you tick that under the file
(see Bring your keys along).


How a turn runs
Section titled “How a turn runs”Each message starts one builder turn. A phase strip above the reply tracks it through Research, Plan, Set up, Build, Test, and Done, with a status line for the current action, such as “Consulting the documentation”: the builder grounds its choices in the Publicus docs and can research the web when an external service needs looking up.
Control returns to you at fixed points:
-
Plans. Before it creates a flow, the builder posts its plan as a card with a Build it button, and it creates nothing until you press it. Type changes instead and it proposes again; a reply you type, even “yes”, gets the plan proposed again too. The plan says what has to be true for the work to count as done and, when it leaves something out, what is out of scope. A change to a flow you already have needs no plan.
-
Questions. When only you know the answer, an Answer button opens a short form; submitting it continues the build.


-
Notes. While a turn is working, the send button becomes Send note and your message is folded into the running build as guidance.


-
Step budget. A turn has a bounded number of steps. A turn that runs out writes a handoff summary and offers Continue to pick up at the next step it listed.


-
Try again. A turn stalled on an expired or declined approval offers to re-run the same request without retyping it.
A finished turn carries its receipts: Flows changed chips linking every flow it edited and Flows read chips for the ones it only looked at, a View the full run link showing exactly what it did, any test runs rendered node by node, and a readiness card per edited flow. The card states whether the flow is ready to run, waiting on you (an unfilled secret, an unauthorised connection, a form whose page or portal is not published yet), failed its last run, or not finished yet, and lists the exact items.
The flow page says the same. When a flow is not ready, a chip beside its version badge reads Waiting on you, Last run failed or Not finished; select it to see the card’s lines. A ready flow shows no chip.
While a turn runs, its card says Working… until the builder changes a flow, then Building…, and each line says what that call is doing.
What the builder can do
Section titled “What the builder can do”The builder works through real tools against your workspace, never freehand:
-
Flows: create, rewire, and delete flows; add, configure, and remove nodes; read back every node type’s actual fields before filling them; try a single node in isolation; inspect what data an expression can reference at any point in the graph.
-
Runs: start runs of your flows, on test input, on a delivery that really reached a trigger, or on an earlier run’s input, against the draft or a published version; push up to 50 recorded deliveries back through a flow one after another, in the background, behind one approval, for instance last week’s mail through a router it just retuned (mail and webhook calls are kept for 14 days, an email’s attachments for 30); stop a run or such a replay that is still going; read results and outbound HTTP calls; and, when a trigger seems silent, see what reached it: a delivery or a table change, and why it did not start a run. It can also look across many runs at once, for instance how many of today’s runs ended at a given step, compare two runs step by step, and repeat earlier runs against a changed draft to show what the change does. A repeat runs with its side effects off unless you ask otherwise: a step that would write, delete, send a message or start a flow is skipped, and the run says what it would have done, while reads and model calls still happen. It can also repeat runs with every agent on another model, to show what a model switch changes. A repeat still costs model calls, so it asks first.
Mail its tests send goes to you, not to the people the flow writes to: a run, a repeat and a single node it tries all mail you, and so does the link a form sends. Each mail keeps its subject and opens with a line saying whom it would have reached, and the run page says the same under the mail. A chat message is still posted for real. A run you start yourself, and one an MCP client starts, mails its real recipients.
The approval card for such a run says the mail goes to you in place of its recipients. Because that mail can only reach you, a single Email node the builder tries counts as a routine change: Auto-write runs it without asking, and Ask first bundles it with the other routine changes. A run that mails you still asks, since a run can do more than mail.
-
Checking its work: search every flow for the steps that use a table, an API or a field; check a flow for problems before it runs it, such as a typed-in password or a step that was never set up; read a table’s rows by condition; and hand questions to a separate read-only investigator, several at once. Before it calls a build of several flows done, it can have a reviewer check the result against what you asked for. What they found is listed under What it knows.
-
Following up: it can watch a run and come back when it finishes, or come back at a time you ask for. The conversation list shows Will follow up, and you can cancel a follow-up under the message box.
-
Publishing and exporting: publish several flows together, each after the flows it calls, behind one approval that lists them in order; and export a flow into a file store.
-
Workspace resources: create and manage keys and settings, tables and rows, knowledge bases and documents, webhooks, chat app bots, mailboxes, MCP servers, API schemas, and SOAP services, including importing an OpenAPI or WSDL spec. It can change a connection’s settings, such as its host, but never a secret one, and delete a portal page that has never been live. It adds, changes and deletes a table’s rows only where that table’s row settings allow it, as you could in the table view, and it can list and delete the files in a file store, and the sources in a knowledge base.
-
Links: everything the builder points you at comes with a link to its page in Publicus. Paste a Publicus link into the chat and the builder reads what it points at. It only reads links to the workspace you are in.
-
Services: search the connection catalog, import a service from it, scaffold connections and sign-in apps, and propose a catalog entry when a service is missing.
-
Knowledge: search the Publicus documentation, research the web, recall what it learned in this workspace, and search your earlier builder conversations.
What stays in your hands
Section titled “What stays in your hands”-
Secret values. The builder scaffolds a secret and asks you to fill it through an Enter secret value card. The value goes into a password field and straight to the secret store; the builder learns the secret’s name, never its value. If the value is plain configuration rather than a credential, the card also offers to store it as a key-value setting instead.


-
Authorisation. Connections, sign-in apps, and mailbox credentials are finished on their own forms; the card links you there, and you confirm on the card once you are done. If the workspace already has a connection for the same provider, the card lists it so you can reuse it instead of authorising a second one.
The secret’s or the connection’s own page shows the card’s reason and steps too, until you have filled the secret in or authorised the connection. When the request came from a builder chat, Open the conversation takes you back to it.


-
Table row settings. The builder can switch a table’s row actions off, or narrow which columns they reach, but never switch one on. When it needs one on, it asks you and opens the table’s form. It can also ask you to add or change a row yourself, in the table’s own row form, with the values it proposes filled in.
-
Settings you change by hand. When you change a step’s settings in the node editor, the builder leaves those settings alone. If it wants to change one, it tells you what and why, and changes it only when you ask.
-
System flows. Flows managed by Publicus, including the builder’s own, are read-only to the builder.
-
Going live. Arming a trigger is an approval the builder asks for by name, and the flow preview in the chat shows whether the flow is actually live.
Autonomy and approvals
Section titled “Autonomy and approvals”A conversation runs in one of four modes, set on the Mode tab of the builder’s Settings, under the message box. Each mode lists what runs without asking and what still asks. A new builder conversation starts in Auto-write, with the plan card as its checkpoint; you can tighten it at any time. They are the same modes agents use everywhere in Publicus; Add human approval is the full reference.
| Mode | In the builder |
|---|---|
| Read-only | The builder can research and plan; nothing changes. |
| Ask first | Every change asks you first, bundled into one card per step. |
| Auto-write | Routine changes run on their own, audited. Starting a run, messages, and deletes still ask. The builder’s default. |
| Autopilot | Acting without asking, messages and calls to outside systems included (audited). Deleting credentials, filing anything outside your workspace, and going live still stop for you. |
Around the picker:
-
Anyone may tighten the mode. Loosening it requires the right to approve agent actions, and modes above your workspace’s ceiling are not offered at all.
-
In Ask first, routine changes arrive bundled per step behind one Approve all button; consequential actions such as test runs, messages, and deletions are listed separately on the same card and each needs its own decision.


-
Approving a step can also grant the rest of the conversation: tick And allow routine changes for the rest of this conversation in the approval dialog and reversible workspace changes stop asking in that conversation only. Tests, messages, and deletes still ask.
-
Approvals expire if nobody decides; each card shows when.
Fix with AI
Section titled “Fix with AI”A failed run offers Fix with AI in two places: on its run report page, and on the canvas run rail, where the failed step is already named. Both open the builder with the composer pre-filled with the run, the flow, and the failure to start from. It is not offered for runs that succeeded.
A flow Publicus manages, such as the AI builder itself, is not yours to change, so its failed run offers Explain this error instead, on the run report page and in the command palette. The builder reads the run and tells you what went wrong and what you can do about it, and changes nothing.


Conversations
Section titled “Conversations”Conversations persist. The Conversations panel lists the fifteen most recent builder conversations in the workspace, titled by their opening message, with where each one stands: yours, and the ones colleagues started and did not make private. Search conversations narrows the list by title. Selecting one reloads its full transcript, even after logging out or on another device. New conversation starts fresh. Transcripts are rebuilt from the durable run record, so they survive deploys and lost connections.


Everyone in the workspace can read and continue a shared conversation, and each message runs as whoever sent it. The icon beside a conversation you started makes it private, so only you see it, or shares it again.
What the builder learned
Section titled “What the builder learned”What the builder takes from its builds waits for you in its Settings, on the What it knows tab, and the number on Settings counts what waits there. The card What I learned about this workspace lists short statements of what failed and what worked. Keep confirms a statement for later builds in this workspace only; Discard excludes it from all recall, and Discard all clears the card. Kept notes are never shared outside your workspace. A rule you want the builder to follow belongs in the workspace brief, on the same tab. Agent memory explains the memory system behind this.


Every completed turn also offers thumbs-up and thumbs-down buttons; the thumbs-down opens an optional comment box. That feedback goes to the people reviewing what the builder learns; it does not change the AI’s behaviour on its own.


Daily limits
Section titled “Daily limits”Up to three limits can stop a new turn from starting. Whenever one is set, a line above the composer shows what is left today:
- Builder runs per day, shared by all users in the workspace (200 by default).
- AI tokens per day, a workspace ceiling that spans every agent run, not only the builder’s.
- Free builder credits, on installations that grant them: tokens the platform’s own AI key pays for. Add your own provider key under AI models in the workspace menu and building stops drawing on them; see Choose AI models.
At a limit the line turns red, and a new message gets a warning naming the limit instead of a turn; what you typed stays in the message box.


Limits are checked before a turn starts, never in the middle of one, so a running build always finishes. Only a new build is refused at the limit: mid-build continuations, such as approving a plan or answering a question, always go through, and notes are not runs at all. Each turn is separately bounded by its own step budget, with the Continue handoff described above.
Related
Section titled “Related”- Quickstart: build an agent with AI: a guided first build.
- Flows & the canvas: what the builder is creating for you.
- Add human approval: the approval modes in full.
- Secrets: where credentials you provide are stored.
- Build an agent: build agent flows yourself on the canvas.