What a support team keeps when it runs the agent itself
Self-host an open-source support agent that keeps the credentials
A self-hosted support agent runs on a server your team controls, so the connections to the helpdesk, the billing system and the codebase are made in your own infrastructure. Kortix is the open-source CompanyOS: your agents, skills, memory, and connectors in one repo you own, which makes it my pick, and I work on Kortix's marketing, so weigh that accordingly. It carries running costs, and they count.
Linux server and Docker Compose · Model key per project · Commands from kortix.com/docs/developers#self-hosting
curl -fsSL https://kortix.com/install | bashkortix self-host init --domain kortix.example.com --admin-email you@example.comkortix self-host startSource: https://kortix.com/docs/developers#self-hosting
The inbox connection, and the three ways to reach the instance
One manifest block that reaches the helpdesk, and the reachability modes each install chooses.
connectors: - slug: helpdesk provider: http base_url: https://helpdesk.example.com/api auth: type: bearer policy_sets: read-only: description: Reads only. policies: - match: "get_*" action: always_run - match: "*" action: blockSource: https://kortix.com/docs/developers#kortixyaml-reference
kortix self-host init --tunnel cloudflarekortix self-host startSource: https://kortix.com/docs/developers#self-hosting
Without a domain, the services publish loopback ports: frontend 13737, API 13738, Supabase 13740.Source: https://kortix.com/docs/developers#self-hosting
Five ways to put an agent on a support queue
Kortix is my pick, and I work on Kortix's marketing, so weigh that accordingly. Every rival price is the vendor's own, checked November 2026.
- Where it runs
- Kortix Cloud, your VPC, or your own on-prem network
- Open source
- Yes
- Works with your helpdesk
- The one you run, reached by connector
- Where the gate is set
- A rule in
kortix.yaml, reviewed in the repo - Price model
- Self-host is free; cloud runs on credits
- Where it runs
- Intercom's cloud
- Open source
- No
- Works with your helpdesk
- Any helpdesk, including Salesforce and Zendesk
- Where the gate is set
- Intercom's dashboard
- Price model
- $0.99 per outcome, $49 a month minimum
- Where it runs
- Zendesk's cloud
- Open source
- No
- Works with your helpdesk
- Zendesk's own helpdesk
- Where the gate is set
- Zendesk admin
- Price model
- €19 to €115 per agent; 5 automated resolutions, 10 on Suite Professional
- Where it runs
- Salesforce's cloud
- Open source
- No
- Works with your helpdesk
- Service Cloud, inside Salesforce
- Where the gate is set
- Salesforce setup
- Price model
- $500 per 100,000 credits; 20 per action
- Where it runs
- Lindy's cloud
- Open source
- No
- Works with your helpdesk
- The inboxes and apps you authorize
- Where the gate is set
- Lindy's dashboard
- Price model
- Per active user: $29.99 for 3,000 credits or $49.99 for 5,000
Prices checked November 2026. Zendesk bills in euros, annually, and gives each agent 5 automated resolutions a month on Support Team and Suite Team, 10 on Suite Professional. More come at €1.50 each as a committed add-on up to 10,000 a year, or €2.00 pay-as-you-go. Ask each vendor what it counts as an outcome, an action or a resolution before comparing. Lindy's page serves one of two entry tiers, $29.99 for 3,000 credits or $49.99 for 5,000.
The connection is the thing you are choosing
A support agent that answers from help center articles needs one connection. An agent that looks up an invoice, changes a plan or fixes a bug needs three connections: the helpdesk, the billing system, the codebase. Each one is a credential that some machine presents on your behalf. Where that credential is kept decides more about the deal than the code does.
Hosted agents, the kind sold alongside a helpdesk, ask you to authorize the vendor once in its dashboard. From then on the token lives in the vendor's infrastructure rather than in yours. The work is real, and some of these integrations are good. Nothing on the rival price pages says where exactly that token is held, who can revoke it, or whose schedule its rotation follows. So it belongs on the call sheet beside the price. Where does the token live, and who can rotate it? Which log shows the call that spent it, and what happens to it when you leave? An answer with a documentation page behind it is worth more than a statement about the code.
That is the shape of a hosted service rather than a fault in any product. Reading the source alone does not settle it. An agent you can read, still run through somebody else's server, leaves the credentials on that server. The stack itself is a separate choice: which open-source support stack to run comes before any install.
Self-hosting moves that one thing, and the code was never the scarce part.
What the instance holds
One Docker Compose stack installs on a Linux server: the web app, the API, the LLM gateway, Postgres and the rest of the Supabase distribution. Caddy covers the domain. Sessions do not run on that server. They run on Platinum sandboxes that call back to the instance's public API.
Four properties matter for a support queue, and each is stated in the product's own terms:
- Hosting. Run it on Kortix Cloud, in your VPC, or on your own on-prem network. Self-host is free.
- Connector credentials. Connector credentials are brokered server-side and never enter the machine. The Gmail token stays with the API, not inside the session that reads the thread.
- Secrets. Secrets are encrypted at rest with a key per project. That key is
API_KEY_SECRETin the instance.env. Lose it and every stored credential becomes unreadable, so copy the file somewhere safe before the first customer writes in. - Sessions. One isolated sandbox per session. Each session has its own isolated machine and branch. Two threads worked at once do not share a checkout.
What self-hosting does not do is remove the network. The instance has to be reachable from the internet, because the sandbox running a session calls back to it, including on-premise.
The block that turns it into a queue worker
A support inbox in a manifest is one connector and one trigger. The connector reaches the helpdesk. The trigger is a webhook, so the helpdesk has to call it: a request to the URL the trigger publishes, carrying a signature the project secret named in on.webhook.secret produces. Each fire opens one session that triages the message in the prompt (automations). It is text in kortix.yaml at the root of the project repo, so a change to it travels through the same review as a change to code.
The pattern comes from Kortix's own support operation. Each inbound thread opens its own session, scoped to the product's knowledge, the codebase and Stripe, and the agent stops at a person for sensitive actions. What matters is that each session's reach is a line in a file somebody reads before it goes live. A rule in the same file can hold a call until a person decides, 24 hours by default and whatever approvals.ttl sets. The session that raised the call decides how long that can last: a webhook trigger starts a session with nobody in it, so if an automated session waits on a person, it waits at most 30 minutes, then stops. A held call still has to land somewhere, so decide where a person sees a write first.
What self-hosting costs
Three bills arrive instead of one invoice, and none of them is small enough to leave out of a pilot.
The machine. A Linux server with a public IP, ports 80 and 443 open, and DNS records for the domain, the API subdomain and a wildcard for previews. Caddy needs those records before the first start, because it fetches the certificate itself. The API reserves 2 GB of memory by default and Postgres a fixed 1.28 GB. One modest box carries a support team's agent, and somebody patches it.
The model bill. A self-hosted instance has no Kortix-managed models. Each project brings a provider key, and inference arrives on that provider's invoice. A support queue is the awkward case. An easy message costs almost nothing, while a thread that reads the repo costs a lot. The bill tracks the mix of work rather than the number of agents.
The upgrade path. kortix-updater checks once a day, migrates the database and rolls the services. A failed migration leaves the previous version serving, and two replicas roll without a gap. Tracking stable rather than latest is a call somebody owns, and so is reading kortix self-host status on the morning it reports degraded.
The work that stays yours either way: writing the agent's instructions, keeping the helpdesk, and answering the queue when the stack is down. That list is worth re-reading once the team outgrows one queue, when what changes when support goes enterprise starts to matter.
Where a vendor's bill is the better buy
None of this makes a hosted agent a bad purchase. Intercom's Fin is $0.99 per outcome, with a $49 a month minimum that includes 50 outcomes (fin.ai/pricing puts it as "$49/month minimum, which includes 50 outcomes"), and no seat costs for Fin. It works with any helpdesk, including Salesforce and Zendesk. If the job is answering from articles on a helpdesk the team already likes, the hosted agent is the shorter buy. It skips the server, the domain and the model key.
The per-agent plans are plain about their shape too. Zendesk charges €19 to €115 per agent a month, paid annually, and each plan already includes a fixed number of automated resolutions for AI agents: 5 per agent a month on Support Team and on Suite Team at €55, and 10 on Suite Professional at €115. More come as a committed add-on at €1.50 a resolution, up to 10,000 a year, or pay-as-you-go at €2.00. Agentforce meters actions in Flex Credits, and Lindy sells credits per active seat. A five-person team can price all three in an afternoon and pay nothing for infrastructure.
The self-hosted route wins on one condition: the agent has to reach something the vendor cannot see. The repo behind the product, the billing account, an admin tool nobody outside the company may touch. At that point the connection is the product, and a monthly fee for a connection you do not hold becomes the expensive option.
Trying it before you commit
kortix self-host init --tunnel cloudflare starts a stack on your own machine with no domain. The web app answers on localhost, cloudflared publishes the API at a temporary public address, and sessions run because the sandbox can reach it. A quick tunnel changes that address on every restart, which breaks any OAuth callback registered against it, so keep a named tunnel.
A local install with neither a domain nor a tunnel publishes nothing. Every port binds loopback, the sandbox cannot reach the API, and no session runs.
What a support lead asks before moving the agent in-house
Short answers, and the one check that decides most of them.
- Do we still need a helpdesk if we self-host the agent?
Yes. The agent works a queue in a helpdesk you keep. Self-hosting changes where the agent runs and who holds the connection, not the inbox your customers write to.
- Where do the tokens to our helpdesk and billing system live?
With your instance. Connector credentials are brokered server-side and never enter the machine. The token stays with your API, not in the session that reads a thread.
- Can the agent reply or refund without a person?
Only if your config allows it. A rule matching the tool with
action: require_approvalholds the call until a person decides, and a project that sets no rule runs the call. An automated session has nobody to ask: if it waits on a person, it waits at most 30 minutes, then stops.- What does it cost to run?
A Linux server, a provider key per project, and the hours to patch the box. Self-host is free, and the model bill is yours.
- Can we try it without a domain?
Yes.
kortix self-host init --tunnel cloudflarepublishes the API through a Cloudflare tunnel and runs sessions. A purely local install publishes nothing, so no session runs.
Run the support agent on a machine you can log in to.
One inbox, one trigger, and a rule in front of the calls that move money.