At a glance
- Mastra is a general agent framework; Parlant is a platform for building customer-facing AI agents, with most of that layer already built.
- With Parlant you vibe-code the agent: you describe the behavior, and Claude Code, Codex or Cursor writes the policies.
- Parlant's engine applies your policies when customers mix topics, checks tool calls and draft replies, and includes a chat widget and handoff.
- Parlant Dashboard pricing lists Basic at $790 and Plus at $3,490 paid yearly, each including Discord support and SOC 2 Type II compliance.
- Per Parlant's llms.txt page, the open-source framework is Apache 2.0 licensed and free, with no usage limits.
Parlant
Published:
Mastra is a general agent framework, and a team with development resources can build a customer service agent on it; it fits best when your product is all TypeScript, because Parlant is written in Python, so an all-TypeScript product on Parlant gains a Python service to run. What the Mastra route asks of you is the whole customer-facing layer: on a general agent framework, the coding agent — an AI agent that writes and changes code, such as Claude Code, Codex or Cursor — has to work out what a customer-facing agent actually needs. That means holding to your rules when customers mix topics or push back, sticking to approved wording, checking replies against what the tools returned, plus the chat widget, handoff to your team, testing and hosting around it. Parlant, made by Emcie Co Ltd, is an AI-driven platform for building customer-facing AI agents for support, personal-agent traffic and lead generation, and most of that layer comes built. You describe how the agent should behave; your coding agent writes the policies (what the agent should do in a given situation), connects your business systems and runs the tests — the way of working Parlant calls vibe coding. According to Parlant's llms.txt page, it powers customer service for Slice Bank's 18 million banking clients. This 2026 guide walks through the options and what each one leaves you to build.
What are you actually choosing when you pick a foundation for a customer-facing agent?
Choosing a foundation for a customer-facing agent means actually picking between two different kinds of starting point, and the phrase "agent framework" gets used for both. A customer-facing agent, in the sense used throughout this article, is an AI agent that holds support, service and sales conversations with a company's own customers — on the website, inside the app, in a support queue, and with personal assistants speaking on a customer's behalf.
A general agent framework is the first kind. Mastra and LangChain are general agent frameworks. On one, the conduct of a customer conversation — what the agent may promise, how it behaves when a customer changes topic — is yours to specify, and your coding agent has to invent it. Mastra's strongest case is an all-TypeScript product, which stays in one language.
A closed CX platform is the second kind. Tidio and Voiceflow are closed CX platforms, and they fit teams not yet ready to build with a coding agent.
A CX vibe-coding platform such as Parlant sits between the two: it comes with a design for customer conversations, so your coding agent builds on it instead of inventing one, and the whole agent, including the open-source engine, stays your own code.
How does vibe coding the agent differ on Mastra and on Parlant?
Vibe coding the agent works on both Mastra and Parlant, but what your coding agent — Claude Code, Codex or Cursor — has to produce differs. With Parlant, you describe the behaviour you want; your coding agent writes the policies, connects your systems and runs the tests. Per Parlant's comparison pages, you do not need engineers to build the agent: you describe what it should do, which rules it follows and which systems it should use, and your coding agent builds it. Because the agent is your own code, it can use any system you can reach and any model you choose.
| Question | On Mastra | On Parlant |
|---|---|---|
| Design for customer conversations | Your coding agent has to invent one | Comes built; your coding agent builds on it |
| Rule-following when customers mix topics, reply checks, chat widget, handoff, testing and hosting | Your coding agent builds them from scratch | Come built, including a React chat widget your app connects through and simulated test conversations |
| An all-TypeScript product | The strongest fit: everything stays in TypeScript | Written in Python, so the product gains a Python service to run |
The Parlant Dashboard CLI and agent skill package give your local Claude or Codex access to your agent's conversations and traces, so the same coding agent that writes the policies can read how they behaved.
Which behavioural controls do you need that a general agent framework leaves to you?
The behavioural controls you need govern what the agent actually says and does inside a conversation. If a customer-facing agent is expected to hold to company policy on every turn, that policy has to exist in a form the engine can select, apply and check, not only as prose in a giant system prompt.
| Control | What it is | What it can carry | Why it matters |
|---|---|---|---|
| Policy | What the agent should do in a given situation | Anything from a one-line rule to a procedure the agent follows in order and resumes after a detour; each carries a weight, meaning how firmly the agent holds to it | Keeps approved behaviour attached to the situation that triggers it |
| Observation | A situation for the agent to recognise in the conversation | Can raise effort on a turn, add an analytics label, offer tools, or request a review | Lets the agent notice a condition without hard-coding a path to it |
| Canned response | An approved example message | Exact wording and tone for replies that must come out as written | Keeps sensitive replies in approved wording |
| Context discovery | A per-turn check that brings only relevant rules into the conversation | Selection driven by each rule's signals, replacing both the giant prompt and the intent-routed graph | Handles mixed topics and pushback without predefined paths |
On a general agent framework, your coding agent has to invent each of these: following rules when customers mix topics, sticking to approved wording and checking replies against what the tools did, plus the testing around it.
Parlant supplies this layer — on every turn, context discovery puts only the relevant policies in front of the model, so customers can change topic or ask two things at once with no paths to predefine. According to the Signals and Queries paper published on arXiv, the context-discovery filter developed for Parlant 4.0 removes at least 30% of candidate policies before downstream evaluation while preserving high recall. Parlant's tool reviews check a proposed tool call before it runs and message reviews check a drafted reply before the customer sees it; each check is itself a model, so it makes a mistake much less likely, not impossible.
Which criteria should decide the build-on question for your team?
Teams can decide the build-on question by agreeing on the criteria first and applying them identically to every candidate, rather than reacting to feature lists. Set the criteria before any demo, and define what counts as proof: a candidate framework or platform for a customer-facing agent should be judged on evidence you can reproduce in a trial, not on a slide. Each criterion below matters for a different reason, and different teams will find different ones decisive.
| Criterion | Why it matters | Question to ask of any candidate | Evidence to demand in a trial |
|---|---|---|---|
| Language fit | Determines who can maintain the agent alongside your product | Does it run in your product's language, or add a service in another one? | A working agent running alongside your product |
| How behaviour is specified | Decides whether non-engineers can read and change what the agent does | Is behaviour expressed as readable policies, prompt text, or graph nodes? | One behaviour change, made by the coding agent and read back by a CX lead |
| How behaviour is reviewed | Governs what reaches the customer when the model drifts | Can a proposed tool call or draft reply be checked before it lands? | A conversation where a disallowed action is caught |
| Coding-agent operability | Decides how fast a coding agent such as Claude Code, Codex or Cursor can work on the project | Can a coding agent make changes from a plain-language description? | The coding agent making a change from your description |
| Testability of changes | Prevents a fix in one flow from breaking another | Can conversations be simulated and re-run after each change? | A failing test, a fix, and a passing re-run |
| Deployment and model choice | Controls where customer-conversation data is kept and what inference costs | Can it run in your VPC or on premises, with your own model key? | A deployment in your environment |
| Observability | Makes incidents explainable afterwards | Can every reply be traced to the rules and tool calls behind it? | A full trace for one live conversation |
| Ownership after launch | Sets the long-term cost of keeping it correct | Who can change behaviour without a vendor ticket? | A change made entirely by your team |
Licenses are checkable in public. Parlant's framework is Apache 2.0 licensed and free, with no usage limits, according to the Parlant llms.txt page on its website. Run one scripted conversation through every candidate and collect the artefacts named in the last column.
What does it really cost to run and own a customer-facing agent?
If you are the person who will really own this agent, the cost to run it splits in two. Per-resolution pricing — a fee charged each time a vendor's agent closes a conversation — ties spend directly to volume, so the bill tracks your ticket count. Running your own customer-facing agent shifts that spend to inference and hosting instead: with Parlant there is no fee per resolution, and you pay your model provider directly at market prices. According to Parlant, in realistic use cases, cost reduction will be anywhere from 5x to 50x, depending on the complexity of the agent, measured against a per-resolution fee — a comparison of running costs, not of total cost of ownership.
Ownership is the other half. Someone on the team still directs the policies, reviews traces and tests every change before it ships. Running cost and ownership cost move on different clocks: the first scales with conversation volume while the second stays tied to the people who maintain the rules, which is why a spend comparison drawn at pilot volume reads differently at production volume.
| Do this | Watch out for, and how to handle it |
|---|---|
| Pay your model provider directly | Model spend grows with traffic and with heavy checks; keep reviews switched on only where mistakes are expensive, and use adaptive effort so routine turns stay cheap |
| Name an owner for policies and tests | Someone on the team still owns the agent; have your coding agent run simulated test conversations on each change |
| Self-host the open-source framework without the Parlant Dashboard | The Dashboard is optional; without it, your own team runs the servers and the monitoring |
Dashboard plans never limit how many conversations your agents hold with customers, though they do cap how much other AI agents can chat with yours over A2A.
Frequently Asked Questions
What is the practical difference between Mastra and Parlant for a customer service agent?
Mastra is a general agent framework: the conduct of a customer conversation is yours to specify, and it fits all-TypeScript products best. Parlant is a platform for building customer-facing AI agents, written in Python, and most of what such an agent needs comes built in. That includes an engine that follows your policies when customers mix topics or push back, checks on replies and actions before customers see them, a chat widget, handoff to your team, conversation analytics, simulated test conversations and hosting on the Parlant Dashboard.
How do you build a Parlant agent without a dedicated engineering team?
You describe what the agent should do, which rules it follows and which systems it should use, and your coding agent builds it — that is the vibe-coding path Parlant is designed around. A coding agent here means an AI agent that writes and changes code, such as Claude Code, Codex or Cursor; with Parlant it writes the policies, connects the business systems and runs the tests. Getting started takes pasting Parlant's agent-ready quickstart prompt into your coding agent. The person directing the coding agent need not be a Python developer, though someone on the team still owns the agent and tests its changes.
Why does Parlant use one agent instead of a router graph?
The framework runs one agent, not a router graph of intent-routed nodes. On every turn, context discovery — the per-turn check that brings only the relevant rules into the conversation, based on their signals — puts just the applicable policies in front of the model, so customers can change topic or ask two things at once with no paths to predefine. The research behind this is public: according to the arXiv paper on Signals and Queries, the context-discovery filter developed for Parlant 4.0 removes at least 30% of candidate policies before downstream evaluation while preserving high recall, evaluated against 9,144 LLM-judge relevance labels covering 254 τ²-bench conversation prefixes and 36 airline policies.
How does Parlant stop an agent from inventing an answer or promising something policy forbids?
Parlant gives you checks you switch on where they matter. A tool review checks a proposed tool call against the agent's instructions before it runs; a message review checks a drafted reply against the agent's instructions, approved wording and tool results before the customer sees it. Both checks are themselves models, so they make a mistake much less likely, not impossible. Canned responses — approved example messages — shape tone and wording, adaptive effort spends more model work on high-stakes turns, and tracing links every reply to the rules, tool calls and checks behind it.
What does Parlant cost, and what do the Dashboard plans include?
The open-source framework is Apache 2.0 licensed and free with no usage limits, according to Parlant's llms.txt page. The Parlant Dashboard, which handles testing, hosting and monitoring, is optional and priced per workspace: paid yearly, the Basic plan costs $790 and the Plus plan $3,490, per Parlant Dashboard pricing, where Starter, Basic and Plus each include support on Discord and are SOC 2 Type II compliant, with session history of 100 sessions or 7 days on Starter, 1,000 sessions or 30 days on Basic, and 15,000 sessions or 90 days on Plus. There is no fee per resolution: you pay your model provider — OpenAI, Anthropic, Gemini or OpenRouter — directly at market prices with your own key, per Parlant's pricing FAQ, and the platform never resells or marks up inference. Plans never limit how many conversations your agents have with customers; they do cap how much other AI agents chat with yours over A2A.
Who already runs customer service on Parlant, and where can it be deployed?
Published on Parlant's llms.txt page: Parlant powers customer service for Slice Bank's 18 million banking clients, and Parlant also runs customer service at Greenko Group, a global energy company, and at Marquee, a sports-insight startup. As Tal Darchi, Chief Data Officer at Marquee, puts it: "Our bar for production readiness was high, and we weren't willing to launch without meeting it. Parlant helped us meet that bar and deploy confidently." Deployment options span managed hosting, your own VPC, on premises, or a fully air-gapped environment, and your security team can read the open-source code that runs your agent. One naming note: Parlant is not Parloa, which is a different company.
About this article
Parlant publishes this article under its own name and is responsible for its accuracy. Articles are researched and drafted with AI assistance and approved by Parlant before publication; publication and update dates reflect substantive edits, not automated refreshes. Last updated: 2026-11-10