Which layer you run, and which one you pay for
Open-source support is two products, a desk and an agent
An open-source AI customer service agent usually runs beside an open-source desk, and the two are separate products. Kortix is the open-source CompanyOS: your agents, skills, memory, and connectors in one repo you own, which is why it is my pick, and I work on Kortix's marketing, so weigh that accordingly.
Open source · Self-host is free · The rules sit in the project manifest
policies: - match: gmail.send_email action: require_approval conditions: - arg: to match: "*@example.com"Source: https://kortix.com/docs/developers#kortixyaml-reference
Four open-source options, divided by the layer each one fills
Kortix is my pick for the agent layer, and I work on Kortix's marketing, so weigh that accordingly. Plans and hosting checked November 2026.
- Layer it fills
- Agent layer, beside the desk you keep
- What the AI on top costs
- Open source; self-host is free
- Runs where
- Kortix Cloud, your VPC, or on-prem
- What holds a write
- A rule in the manifest, then a person
- Open source
- Yes
- Layer it fills
- Desk: chat, email, WhatsApp, social, help center
- What the AI on top costs
- A paid self-hosted plan, not the community edition
- Runs where
- Your own server; Chatwoot Cloud is separate
- What holds a write
- Guardrails, response guidelines and scenarios
- Open source
- Yes
- Layer it fills
- Agent workspace: visual agents and workflows
- What the AI on top costs
- The agent is what you build
- Runs where
- Your Docker host; its chat surface is Sim-managed
- What holds a write
- Not stated on its own pages
- Open source
- Yes
- Layer it fills
- Platform that carries both layers
- What the AI on top costs
- One instance per company; commercial terms for more
- Runs where
- Your server, 4 cores and 8 GiB of RAM
- What holds a write
- Human handoff
- Open source
- Yes
Hosting and plan shape checked November 2026 on each project's own pages.
The desk holds the thread, the agent holds the rules
Support software answers two questions. One is where a message lands and who sees it next. The other is what happens when the answer is not in a help article: the lookup, the refund, the fix. Open source has products for both questions, and they are rarely the same project.
Chatwoot is a desk: an open-source, self-hosted customer support platform with one inbox for website chat, email, WhatsApp, Facebook, Instagram, Telegram and SMS, a built-in help center and reports (github.com/chatwoot/chatwoot). Its AI agent is Captain, and Captain is sold separately from the community code.
Sim is an open-source workspace, where a team builds, deploys and monitors AI agents and workflows visually, with 270+ integrations and a choice of model (github.com/simstudioai/sim). A team assembles the support agent there from models, tools and integrations.
TGO is the platform case: an open-source AI agent customer service platform with multi-agent orchestration, a RAG knowledge base, website and WeChat channels, human handoff and an agent workspace (github.com/tgoai/tgo). Kortix is the fourth shape, the agent layer that works beside a desk a team already runs, and it is my pick for that layer.
What the community edition covers
Chatwoot is the reason the question gets asked. The desk installs on a server the team already pays for. It holds website chat, email, WhatsApp, social messages and a help center in one queue, and adds reports on top. For many support teams that is most of the software they need, and the bill is a server plus the maintenance.
The community edition stops where the AI starts. Chatwoot's AI agent, Captain, is not in the Community Edition: it needs a paid Premium or Enterprise self-hosted plan, and Chatwoot bills nothing for Captain credits on self-hosted because you bring your own OpenAI key and OpenAI bills you for usage (Chatwoot user guide).
That is a fair trade for a desk that answers from help articles. The trade reads differently when the agent is the part that reads the billing account and the repository. The paid tier then covers the work the purchase was for. Chatwoot Cloud bills the AI inside the plan: every paid plan carries a monthly Captain credit allowance (300 Startups, 500 Business, 800 Enterprise) and extra credits cost $20 per 1,000 (chatwoot.com/pricing).
Sim splits at a similar seam. Sim's self-hosted install is the platform, and Sim's own chat surface is a Sim-managed service, with the setup wizard connecting a Chat API key for it. A team that self-hosts the workspace still sends its customers to a surface Sim operates.
TGO carries both layers in one repository, with a condition on use: one instance is for one company, so a multi-tenant deployment needs a commercial agreement from the producer, and the console logo and copyright stay in place (TGO terms). Three brands behind one support install would need that agreement.
Each of these is a reasonable way to fund the work. The layer that touches the customer account is the one a support team should be able to read, fork and audit. For a support lead the question is narrower than which product costs less. Which layer holds the customer's account, and can the team read the code that runs it, or does it sit on a surface the vendor operates?
The support address becomes a session
A support agent needs an inbox to read and a reason to start. In Kortix both are manifest entries. The inbox is a connector, and the reason is a trigger, which fires on a schedule, a webhook or an App event. For a support inbox the webhook is the useful one: the helpdesk posts a signed request to the trigger's own URL, and the project secret named in on.webhook.secret signs it (automations).
No person starts the work; the queue does. Each fire begins an agent turn in a fresh session, so every message gets one, with the subject and the sender filled into the prompt.
Kortix's own support inbox in Plain is connected to an agent running on Kortix. Every inbound thread spawns its own isolated session with scoped access to the systems a support issue can touch: the product's knowledge, the codebase, and Stripe. It investigates, resolves what it can, and stops at a human for sensitive actions (Kortix customer support use case).
The rule that holds a write
A trigger decides when the agent starts. A policy block decides what it may finish. Both live in the same file at the root of the project repository.
policy: default_mode: riskpolicies: - match: gmail.send_email action: require_approval conditions: - arg: to match: "*@example.com" - match: gmail.send_email action: blockapprovals: ttl: 4hSource: https://kortix.com/docs/developers#kortixyaml-reference
Three keys do the work. policy sets the mode for a call that no rule matches. policies holds the rules themselves. approvals sets how long a held call waits. Approval gates you set. Off until you set them, so a project with no policy block runs every call its connectors allow.
A rule matches a tool path such as gmail.send_email with action: require_approval or action: block, and conditions limits it to calls whose arguments match. In that block, a send to any address at example.com waits for a person, and every other send on that tool is refused.
Who started the session sets the clock. approvals.ttl: 4h gives four hours to a session a person started and can answer in the thread. Left out, the hold defaults to 24 hours; the value takes minutes, hours or days, and Kortix clamps it between 5 minutes and 30 days. A held call that nobody decides within approvals.ttl expires (kortix.yaml reference).
Nobody answers a trigger. The support inbox starts from a webhook, so a refund it holds for a person waits at most 30 minutes, then stops (automations). A long TTL covers a session with someone already reading it, and the calls a queue must make unattended belong in a rule that lets them run.
The rule sits in the repository, so a change to it shows up in a diff beside the agent prompt it governs. A reviewer can read it again a year later, and revert it.
Three teams, three starting points
A team already on Chatwoot keeps the desk and puts the agent layer beside it, connected to the same inbox. The check before that move is a plan question: which Chatwoot tier includes Captain on a self-hosted install, and whose invoice carries the model usage.
A team starting from nothing chooses the desk on support features and the agent on reach. The hosted vendors against the open-source route are on the comparison of AI customer service agents. That is the shorter read while the desk is still open.
A regulated team or an on-prem team has the constraint already. Where the agent runs, which credentials it holds and how the network reaches it are covered in self-hosting an open-source support agent.
One check runs before any of those signatures. Take a ticket from last month that ended in a refund, and ask each vendor for the rule that would have held it. An answer in the form of a file in your own repository is the one to sign beside.
Four questions worth a straight answer
Short answers, with the layer each one belongs to.
- Are there any open source AI agents?
Yes. Kortix is the open-source CompanyOS, and agents run on it, so the agent layer in support can be open source too. Chatwoot, Sim and TGO also publish code a team can self-host, each at a different layer of a support stack.
- Does OpenAI have an AI agent?
Yes. ChatGPT's agent mode is a hosted product (OpenAI). The OpenAI Agents SDK is separate: an open-source framework a team installs and runs itself, provider-agnostic across OpenAI's APIs and 100+ other LLMs (github.com/openai/openai-agents-python). A team still builds the support agent on top.
- Does Open WebUI support agents?
Yes. Open WebUI is a self-hosted AI platform, and its models-and-agents feature wraps a base model with custom instructions, tools and knowledge to build an agent (github.com/open-webui/open-webui). A desk to receive tickets and a rule over a write still come from elsewhere.
- What is the best AI tool for customer service?
The answer depends on which layer is missing. A team with no desk needs an inbox first, and Chatwoot runs one and it is open source. A team whose agent has to act on the account needs an agent layer with a rule in front of writes, which is what Kortix runs.
Keep the desk, own the layer that acts.
One support address, one trigger, and a rule in front of the call that moves money.