Advanced AI Agent
An agent you can actually put in front of customers.
Most AI builders give you a prompt box and hope. This one gives you a canvas. You lay out the steps a conversation moves through, decide which tools exist inside each step, and put checks in code around anything that matters — so the agent is useful without being trusted further than it should be.
Building blocks
What to do, which tools
Call tools, no AI
Branch on saved info
Pick it up later
Hand over with a summary
Success or not
Main
Agent, personality & rules
Answer from the knowledge base. Keep replies short. Never quote a price that is not in the catalogue.
collect order
start2 tools · uses knowledge base
get_order_statusstage 2
conversation only
refund step
gated tool
handoff
Talk to a human
done
Ending · Success
Fires from every step
A prompt is not a system
One long instruction has no boundaries: every tool is reachable at every moment, the model decides what counts as a valid order number, and a determined customer can talk it into things. The failure is rarely a wrong sentence — it is a refund issued on a number nobody checked, or a booking made against a slot that was never free.
What you get
A canvas, not a prompt box
Build the conversation as steps with paths between them, each step carrying its own instructions, tools and knowledge. Add decisions, waits, webhook triggers, human handoff and endings as blocks.
Tools scoped to the step
A tool only exists where you place it. Lookup helpers can be available everywhere, while anything that moves money or changes a record lives in the one step where it belongs — and can be gated behind confirmation.
Inputs checked in code
Tools declare their required inputs, and those inputs are validated mechanically before the tool runs. Format, range and conditional rules are enforced outside the model, so no amount of persuasion gets past them.
Custom tools and a safety net
Expose any API-enabled system as a tool of your own. A safety net catches conversations that stall or go off-script from any step, and hands them to a person with the context intact.
Available in every step
search_knowledgereadget_order_statusreadOnly in · refund step
check_refund_eligibilityreadissue_refundwrite Gatedissue_refund · required inputs
order_idstring^ORD-[0-9]{5}$
amountnumber≤ order.total
reasonenumone of 6 values
A tool will not run until every required input passes its rule.
A tool only exists where you put it
Scope is the difference between an assistant and a liability. Read-only lookups can sit in every step, because the worst case is a wasted call. Anything that issues a refund, changes an address or takes a payment belongs to one step and nowhere else — and can be gated so it waits for a confirmation before it runs.
- Global tools for lookups, step-scoped tools for actions
- Gates require confirmation before a write executes
- Any API-enabled system can be added as a custom tool
Same tool, two attempts
"Refund order 12, it was 900 dirhams""Refund ORD-48210, AED 249"The agent still judges tone, intent and what to say next. It never judges whether an order number is real, whether an amount is allowed, or whether a policy window has closed.
The checks that matter do not run on the model
When a tool declares an input, that input is validated mechanically before the tool is allowed to execute. A format rule, a numeric range, a condition compared against data you already hold — all of it enforced in code. The model can be persuaded; a regular expression cannot.
- Format, range and conditional rules enforced outside the model
- Conditions can compare against stored values, not just literals
- The model still decides what to say — it just cannot skip the check
Orders & Bookings
One definition · steps, tools, guardrails
Chat
Answers customers directly across your channels.
Voice
Takes and makes WhatsApp calls with the same tools.
Copilot
Drafts in the inbox sidebar for an agent to approve.
Change the agent once and every runtime follows.
One agent, three places it works
The same definition — steps, tools, validation, guardrails — runs wherever you point it. It answers on chat, it picks up the phone, and it sits beside your team as a copilot in the inbox, drafting replies a human approves before they send.
- Chat agent across WhatsApp and your other channels
- Voice agent on WhatsApp calls, with the same tools
- Copilot in the team inbox sidebar, suggesting rather than sending
How it works
- 1
Lay out the steps
Map the conversation on the canvas and give each step its instructions, its tools and its knowledge.
- 2
Set the boundaries
Declare required inputs, add mechanical validation, and gate anything consequential behind confirmation.
- 3
Test, publish, version
Run it against real cases, publish when it holds up, and roll back to a previous version if it does not.
Frequently asked questions
Related features
Keep reading — these work closely with this one.
Build an agent with boundaries
Map the steps, scope the tools, validate the inputs — then let it work on chat, voice and alongside your team.