Agent harness
Bring the agent framework you trust, and keep MonoChat in control
An AI harness is the engine that runs an agent’s loop of model and tool calls. Choose MonoChat’s own, an agent SDK, a hosted agent service or your own server for each AI Agent node, while MonoChat keeps the budget, the tools and the conversation.
-
MonoChat Native and agent SDKs
MonoChat Native and the OpenAI Agents SDK run inside MonoChat; the Claude Agent SDK and pi run on MonoChat’s agent runner. All of them think with the AI models you choose.
-
Hosted agent services
Add the OpenAI Agents API or Claude Managed Agents with your own API key, list the models your agents may use, and the runs happen in the provider’s cloud.
-
Your own endpoint
A Custom Endpoint harness posts each run to your server with the instructions, the conversation, the budget and three URLs: a model gateway, an MCP server with the run’s tools and an events URL for the result.
-
The same tools on every harness
Whatever runs the loop, the agent calls your AI scopes, AI Tool functions and connected MCP servers in your workspace, so changing the harness does not mean rebuilding your tools.
-
A budget on every run
Each AI Agent node sets the maximum model calls, tool calls, tokens, duration and retries, with an optional soft limit that switches to a cheaper fallback model.
-
Every run recorded
AI Agent Runs shows each run with its status, usage, steps and result. Budget Exceeded, Timed Out and On Fail outputs let a flow hand the conversation to your team.
In the UAE
Choose where your agents run
Some UAE enterprises want their agents on infrastructure they already approve. Run the loop on your own endpoint, think with your own model keys, and keep the conversation, the tools and the hand-over in MonoChat, which can also run on your own servers.
Getting started
-
Open AI Harnesses
Go to Settings › Automation › AI Harnesses to see the harnesses MonoChat offers.
-
Add your own if you need one
Add the OpenAI Agents API or Claude Managed Agents with your key, or a Custom Endpoint with its URL and secret.
-
Add an AI Agent node
In a flow, add an AI Agent node, choose the harness, its models, its tools and its budget.
-
Read the runs
Follow every run in AI Agent Runs and route Budget Exceeded, Timed Out and On Fail to your team.
FAQ
Frequently asked questions
Short answers to the questions we hear most.
What is the difference between an AI node and an AI agent?
The Create AI Chat Completion node makes one model call and replies. The AI Agent node can keep calling models and tools, within its budget, until it has an answer, which suits requests with several steps.
Who pays for the model calls?
Calls on your own models are billed by your provider. Calls on models MonoChat provides are billed from your balance, and a harness MonoChat provides can add its own run fees. A harness you add with your own key has no MonoChat fee.
Can I start an agent from my own code?
Yes. Custom functions and API clients start, read and cancel runs with the aiAgentRuns methods, with the same settings as the node.
Does an agent remember earlier runs?
Yes. MonoChat keeps an agent session per conversation, harness and task key. A node can continue it or start a new one, and a task key keeps separate sessions side by side, for example booking and support.
Related pages
More of the product
-
Team inbox
Every channel in one shared inbox, with assignment, roles and reports. -
Flows
Questions, bookings, reminders and payment links, automated without code. -
AI agents
AI that answers in Arabic and English from your own information, and hands over to your team. -
Contact centre
Workgroups, supervisors, routing and working hours for teams that answer together. -
Analytics and reports
Message, customer, template and agent reports, filtered to your workspace. -
Roles and permissions
Your own roles, down to whether an agent sees only their own conversations. -
Appointment booking
Bookings in the chat and WhatsApp reminders customers answer with one tap. -
Custom LLMs
Your own OpenAI, Anthropic, Gemini, Azure or Ollama models, billed by your provider. -
AI function tools
Tools your AI calls to look up orders, check bookings and act on your systems. -
RAG orchestration
Retrieval from your own documents, wired into every AI node and agent. -
Vector databases
MonoChat’s vector database, or your own Chroma server for your embeddings. -
MCP
MCP tools for your AI agents, and the MonoChat MCP Server for Claude, ChatGPT and Cursor. -
Custom functions
Your own code as flow nodes, AI tools, API endpoints and scheduled jobs. -
Custom views
Your own screens, tables, forms and widgets inside MonoChat, next to the chat. -
Developers
API, webhooks, custom functions and the MonoChat MCP Server. -
Payment links
Send a payment link in the chat and carry on once the customer pays. -
AI knowledge base
Files, web pages and Q&A your AI answers from, organised in scopes. -
Broadcasts
Approved WhatsApp templates to the customers you choose, now or later. -
Mobile app
Your team inbox on iPhone and Android, free to download. -
Security
Roles, two-step verification, the UAE storage region and on-premises.
First month of Growth on us
Bring every customer conversation into one place.
Connect your first channel in minutes. Basic is free for 1,000 outgoing messages a month.
One code per business • 30 days to redeem • No card needed