Macha

Creating and Configuring AI Agents in Macha: A Complete Guide

Abbas, Customer Support & AI, Macha

Written by

Ankeet Guha, Co-founder & CTO, Macha

Reviewed by

Published July 25, 2026

Updated July 25, 2026

Most guides on building a support AI agent stop at the strategy layer — define your purpose, feed it knowledge, pick a model, test, monitor. That advice is fine, but it leaves you staring at a blank configuration screen with no idea which knob does what. This guide is the opposite. It walks through exactly how an agent is assembled in Macha: the fields you fill, the model you pick, the tools you grant, the knowledge you attach, and the guardrails that keep it from doing something you'll regret.

Creating and Configuring AI Agents in Macha: A Complete Guide

A quick framing first, because it changes how you should think about the whole thing. Macha is an AI agent layer that sits on top of the helpdesk you already run — Zendesk, Freshdesk, Gorgias, Front — not a replacement for it. An agent here isn't a standalone chatbot bolted to your website; it's a configured specialist that reads tickets, looks up orders, drafts replies, and takes real actions through the tools you connect. You keep your helpdesk. You add agents that work inside it.

Let's build one.

What an agent actually is

In Macha, an agent is a saved bundle of configuration: a name and handle, a set of instructions (its system prompt), a model, the connectors and tools it's allowed to use, the data sources it can search, optional sub-agents it can delegate to, and the triggers that decide when it runs. Think of each agent as a specialist with a tightly scoped job — one handles billing questions, one triages incoming tickets, one looks up order status — rather than a single do-everything bot.

That scoping is the whole point. A narrow agent with three tools and one clear instruction set outperforms a sprawling one with twenty tools every time, because the model has fewer ways to get confused about what you actually want.

Three ways to create an agent

There isn't one path in — there are three, and which you pick depends on how much you already know about what you want.

1. Build with AI. Click Build with AI, describe the agent in plain language ("a frontline Zendesk support agent that looks up orders in Shopify and drafts replies, escalating anything about refunds"), and the builder configures the name, instructions, tools, triggers, and even sub-agents based on the integrations you've already connected. This is the fastest way from idea to working draft.

Describing an agent in plain language in the Build with AI flow.
Describing an agent in plain language in the Build with AI flow.

2. Create manually. Start from a blank configuration and set every field yourself. Slower, but it's the right call when you have an exact spec in your head and don't want the AI guessing.

3. Start from a template. Browse pre-built configurations for common jobs — ticket triage, customer replies, escalation handling — and adapt one. Templates are the shortcut when your use case is a well-trodden one.

Macha's pre-built agent templates for common support workflows.
Macha's pre-built agent templates for common support workflows.

Whichever path you take, you can later open any agent and Edit with AI — describe the change in conversation and let the builder apply it — or hand-edit the fields directly. The two modes aren't exclusive; most teams scaffold with AI and then hand-tune.

Configuring the core fields

Name and handle

Give the agent a name that says what it does — "Zendesk Support Agent," "Billing Specialist," "Order Lookup." Your team sees this name when they pick an agent to chat with. Each agent also gets a handle for @mentions in chat (e.g. @billingSpecialist); it auto-generates in camelCase as you type the name, and you can override it.

Instructions: the single most important field

Instructions are the system prompt — the text that tells the agent who it is, how to respond, and what rules to obey. This is where most of an agent's quality comes from, so it's worth more than a one-line description. Four things to nail:

  • The role. Not "help with support" but "You are a Tier 1 support agent for Acme Corp. You handle incoming Zendesk tickets, look up customer orders, and draft helpful replies."
  • The persona. Tone, length, formality. "Friendly and professional. Keep replies to 2–3 short paragraphs unless the question needs more."
  • The boundaries. What it must not do — this matters as much as what it should. "Never promise a refund without checking with billing. Never share internal notes with customers. If a policy is unclear, say so rather than guess."
  • The workflow. If there's a process, spell it out as numbered steps: read the ticket → look up the order → draft a reply → escalate by tagging needs-escalation if required.

One underrated tip: name your tools in the instructions. If the agent has a search_tickets tool, telling it when to reach for that tool ("search related tickets before replying") meaningfully improves how reliably it uses it.

Model selection

Macha runs multiple models, and you pick per agent based on the job:

ModelBest forRelative cost
GPT-5.4Hardest, multi-step reasoning; strict "do this exactly once" rules and complex branchingHighest
GPT-5The balanced default — nuanced replies at a workable costMid
GPT-5.4 MiniHigh-volume, everyday tasks; the platform defaultLowest
Anthropic ClaudeNuanced writing and careful instruction-following where detail mattersMid–high
Groq (Llama)Latency-sensitive, high-volume, straightforward tasksLow
The agent Configuration view: Agent Details with the model set to GPT-5 and its 3-credits-per-message cost shown.
The agent Configuration view: Agent Details with the model set to GPT-5 and its 3-credits-per-message cost shown.

Each model shows its credit cost per response right in the picker, so the trade-off is visible at the moment you choose. The honest rule: start everyday agents on GPT-5.4 Mini (default), and only reach for GPT-5 or GPT-5.4 on the agents where a wrong answer actually costs you something. There's no prize for running your WISMO bot on the most expensive model. (One small gotcha worth knowing: changing the model from the top-right dropdown in a chat applies to that conversation only — to change an agent's standing model or your org default, edit the agent or your Settings.)

Granting connectors and tools

Instructions tell an agent how to think; connectors and tools are what let it act. Assign a connector — Zendesk, Shopify, Stripe, Slack, Notion, and the rest of Macha's integrations — and then choose which specific tools from it the agent may call.

Picking individual tools from a connected integration in the agent builder.
Picking individual tools from a connected integration in the agent builder.

This granularity is the safety mechanism. From a Zendesk connector you might enable get_ticket, search_tickets, and add_public_reply but deliberately leave out update_priority so the agent never reshuffles your queue. You grant exactly the verbs you trust it with — nothing more.

Two guardrails sit on top of this:

  • Confirmation-required tools. Write actions (sending a reply, issuing a refund) can be flagged so the agent pauses and asks a human to approve or reject before executing. The model proposes; a person commits.
  • Connector-disabled tools surface visibly. If an admin turns a tool off at the org-wide connector level, every agent that used it shows a clear amber warning state — an amber-dashed pill in the flow summary, a greyed-out row with a Manage button in the Add Tool modal, and an amber banner on the enabled-tools card. The agent silently won't call a disabled tool at runtime, so these cues stop anyone from wasting time toggling something the platform won't actually run.

Attaching knowledge and data sources

An agent's actions come from tools; its answers come from data sources. Attach uploaded documents, crawled website content, or live knowledge from connected services like Google Docs, Notion, and Confluence, and the agent can search them when forming a reply.

When you add a source you can scope it: give the agent all documents in that source, or only specific ones. A billing agent doesn't need your shipping playbook in its context window, and trimming what it can see keeps answers sharper. (For how sources are built and indexed in the first place, see the Data Sources docs.)

Multi-agent setups with sub-agents

Once you have a few focused agents, you can wire them together. A sub-agent is an agent assigned to a parent; it shows up as a callable tool, and the parent decides when to delegate, what task to pass, and how to use what comes back.

An agent's Configuration rail: enabled Tools, a connected Data Source, and the Sub-Agents section where you delegate work to other agents.
An agent's Configuration rail: enabled Tools, a connected Data Source, and the Sub-Agents section where you delegate work to other agents.

The canonical pattern: a frontline Support Agent (connected to Zendesk) handles general questions itself but delegates anything about charges or subscriptions to a Billing Specialist sub-agent (connected to Stripe). The customer experiences one seamless agent; behind the scenes, the right specialist did the work. The one thing you must do is describe each sub-agent in the parent's instructions — the parent can only route well if it knows what each specialist is for.

A few safety facts worth committing to memory:

  • Read-only in chat, write-enabled when autonomous. In interactive chat, sub-agents can fetch and search but can't perform write operations — a human stays in the loop. When the parent runs autonomously via a trigger, sub-agents inherit that context and can take actions.
  • Depth is capped at 3 levels (A → B → C), and circular references are blocked at both save time and runtime, so you can't accidentally build an infinite delegation loop.
  • Every delegation is auditable. Sub-agent runs appear inline under the parent's reply with a green Handed off badge; expand the card to see the exact handoff message, every tool call and result, and the sub-agent's final reply. These runs are kept for 45 days and don't pollute your conversation count.

Full detail lives in the Sub-Agents documentation.

Going autonomous with triggers

By default an agent waits for someone to chat with it. Triggers flip it to proactive: the agent runs on its own when something happens. There are four kinds —

  • Event triggers fire on helpdesk and tool events: ticket.created, ticket.comment_added, ticket.status_changed and more in Zendesk; ticket events in Freshdesk; app_mention and direct_message in Slack. (For Zendesk, Macha provisions the webhook automatically when you create the trigger.)
  • Custom webhooks let any external service — GitHub, Linear, HubSpot, an internal script — start an agent via a unique signed URL.
  • Scheduled triggers run on a recurring interval for daily reports or periodic checks (minimum 1 hour apart, with guardrails: a 24-runs-per-day cap, three concurrent runs per org, and auto-disable after five consecutive errors).
  • Debounce batches rapid-fire events — a flurry of messages on one ticket — so the agent fires once after the conversation goes quiet rather than once per message.

This is the line between an agent that assists when asked and one that handles tickets the moment they land. Most teams start agents in chat, prove them out, then attach a trigger.

Prompt suggestions and finishing touches

Each agent can show prompt suggestions — starter messages that appear when someone opens a fresh chat, auto-generated from the agent's instructions and capabilities. They double as a sanity check: if the suggested prompts don't match what you intended the agent to do, your instructions probably need tightening. Regenerate them any time you change the config.

When you're done, your agents land on the Agents list, which now shows each agent's model and sub-agent count as columns, so you can scan your whole roster at a glance.

The Agents list showing model and sub-agent columns across the agent roster.
The Agents list showing model and sub-agent columns across the agent roster.

Made a mistake? Deleting an agent is reversible — it moves to a Trash tab for 30 days, and a one-click restore brings back all its triggers, instructions, sub-agent links, and tool config intact.

How credits work (so there are no surprises)

Every complete agent response consumes credits, and the amount depends on the model — roughly 0.5 to 9 credits depending on the model, with the default GPT-5.4 Mini at 1 credit. The details that matter operationally:

  • Credits are deducted once per complete assistant response — not per message, not per tool call. An agent that makes five tool calls inside one reply still bills once.
  • Your whole organization shares one credit balance; all agents draw from it.
  • You get email alerts at 50%, 80%, and 90% of usage, and Enterprise plans bypass credit limits entirely.

The AI Agent Builder itself is a Professional-and-up feature. We don't quote plan prices in posts that go stale — see the pricing page for current tiers and credit allowances, or start a 7-day free trial, no credit card required and build one before you decide.

Watch-outs: where this can bite you

No tool is all upside. A few honest cautions before you ship an agent to live tickets:

  • Over-tooling. The temptation is to grant every tool "just in case." Resist it. More tools means more chances for the model to pick the wrong one. Grant the minimum and expand deliberately.
  • Vague instructions on autonomous agents. An ambiguous prompt is survivable in chat where a human reviews each reply. Behind a trigger, the same ambiguity executes unsupervised. Tighten instructions before you automate, and lean on confirmation-required tools for anything destructive.
  • Write permissions in autonomous mode. Remember that sub-agents go from read-only (chat) to write-capable (triggers). An agent that's safe to talk to isn't automatically safe to let loose — re-read its tool grants through that lens before attaching a trigger.
  • Model overkill. Putting GPT-5.4 on a high-volume, low-stakes agent burns credits for accuracy you don't need. Match the model to the consequence of a wrong answer.
  • Knowledge sprawl. Attaching every document to every agent dilutes its context and slows it down. Scope sources to what each agent's job actually requires.

Where to go next

A good first build is a single, narrow agent — say, an order-status agent on Zendesk + Shopify — run in chat until you trust it, then put behind a ticket.created trigger. From there you layer in a billing sub-agent, scheduled summaries, and the rest. If you're specifically running Zendesk, the Macha on Zendesk page covers the helpdesk-side setup, and there's more across the Macha blog.

FAQ

What's the fastest way to create an agent? Build with AI. Describe what you want in plain language and the builder configures the name, instructions, tools, triggers, and sub-agents from your connected integrations. You can hand-tune anything afterward, or use Edit with AI to revise an existing agent in conversation.

What do I actually configure on an agent? A name and handle, instructions (the system prompt), a model, the connectors and tools it can use, data sources for knowledge, optional sub-agents to delegate to, prompt suggestions, and triggers for autonomous runs.

Which model should I pick? Start everyday agents on GPT-5.4 Mini (the default, lowest credit cost). Move to GPT-5 or GPT-5.4 only for agents where a wrong answer is expensive, or Claude for nuanced writing. Each model's credit cost is shown in the picker.

How do I stop an agent from taking risky actions? Two ways: grant only the specific tools you trust (e.g. enable add_public_reply but not update_priority), and flag write operations as confirmation-required so the agent pauses for human approval before executing.

Can one agent hand work to another? Yes — assign sub-agents and the parent can delegate to specialists. Sub-agents are read-only in interactive chat and can take write actions only when the parent runs autonomously via a trigger. Delegation nests up to three levels deep, and every run is auditable inline.

How much does running an agent cost? Each complete response costs credits by model (roughly 0.5–9, default GPT-5.4 Mini = 1), deducted once per response — not per tool call. Your org shares one balance with usage alerts at 50/80/90%. See the pricing page for plan details.

Try it

The fastest way to understand agent configuration is to build one. Start a 7-day free trial, no credit card required, connect your helpdesk, and use Build with AI to scaffold your first agent — then tighten the instructions, scope the tools, and watch it work a real ticket. Full walkthroughs live in the Macha docs.


Written by Abbas (Customer Support & AI, Macha) · Reviewed by Ankeet Guha (Co-founder & CTO) · Published 2026-06-24 · Last updated 2026-06-24.

Macha

About Macha

Macha is an AI agent platform that works on top of the help desk you already use — Zendesk, Freshdesk, Gorgias, or Front — and connects to the rest of your stack, even your own internal systems. Its AI agents resolve tickets and automate entire workflows end to end, all set up in plain English, no code. Learn more about Macha →

Zendesk
5.0 on Zendesk Marketplace

Loved by support teams worldwide

See what support teams are saying about Macha AI.

The application seems excellent to me! We are still testing, and we need support for some details and they were extremely efficient too!

Daniela Costa

Daniela Costa

Head of Support, Seabra

Macha has been a great addition to our support toolkit. It generates clear, well-organized responses that fit naturally into our workflow. One feature we particularly appreciate is its ability to automatically reply in the same language as the ticket.

Marius F

Marius F

Support Head, Zentana

We've been using Macha for a little while now and it's been really great addition so far! It's powerful, convenient, and makes getting work done a lot easier for our agents.

Alexander Wedén

Alexander Wedén

Head of Support

Support team is very helpful and responsive. Really enjoy how lightweight this is within Zendesk itself vs other more intrusive tools.

Cathleen Wright

Cathleen Wright

Zendesk Admin, Cortex IO

So far it's pretty good! Our queries are a little nuanced, so we can't always use it, but it's got enough utility for us. It can even incorporate our bilingual country with greetings in a second language.

Jae Oliver

Jae Oliver

Head of Support, Wise

Really enjoying using Macha, it has made a noticeable difference to our support team in a short amount of time. I really like the ticket summary feature, saves us a lot of time.

Harry Jackson

Harry Jackson

Head of Support, Crumb

Macha AI is a great addition to my workspace! It's powerful, convenient, and it really makes productivity so much easier for our agents!

Dave G

Dave G

Head of Support, Cyber Power Systems

Very impressed! AI integration for Zendesk has certainly come a long way and Macha seems to set the standard for now. This will for sure save lot of time in our support team.

Pauli Juel

Pauli Juel

Head of CS, Dokument24

Macha has been working great for us so far! The auto-responses are accurate and our resolution time has dropped significantly.

Lana T

Lana T

Zendesk Admin, Swotzy

Macha AI is a great addition. The knowledge base feature means our agents always have the right answers at their fingertips.

Mischa Wolf

Mischa Wolf

Head of Support, Topi

We're enjoying this integration so far. It's made our support team more efficient and our customers get faster responses.

Paula G

Paula G

Head of Customer Support, Xly Studio

The team enjoys using it. It saves considerable time on common questions and the integration options are excellent.

Kilian Leister

Kilian Leister

Support Head, Didriksons

Ready to supercharge your team with AI?

Get started in minutes. Connect your tools, configure your agents, and let AI handle the rest.

500 free credits · no time limit, no credit card