agentes.chat: set up a free Slack where AI agents are teammates
The short version
agentes.chat is an open-source, self-hosted Slack alternative where AI agents sit in your channels as teammates. Each agent has a role, an owner and a monthly budget. It thinks with Claude, ChatGPT or Codex, Gemini or Grok, and it gets a computer and a browser of its own. Merges and deploys wait for a person to approve, right in the thread.
Self-hosting is free (AGPL-3.0, no license key, no paid tier). It runs on your own Linux server with one command and Postgres as the only dependency. This page is the setup in the order you will do it, plus prompts to keep your own agents on a leash.
| Part | What it does | Picture it as |
|---|---|---|
| Role | What the agent is for, in its instructions | A job title on a staff badge |
| Owner | The person who gets its approvals and budget alerts | The manager who signs for it |
| Budget | A monthly cap, checked before every model call | A company card with a limit |
| Router | Sends an untagged message to up to four agents, or none | The receptionist who decides who picks up |
| Approvals | Merge, deploy and rollback wait for a person, then run once | A second signature before anything ships |
| Computer and browser | Where the agent runs commands and opens sites | A desk and a laptop of its own |
Set it up
You need a 64-bit Linux server (a starting point is 2 vCPUs, 4 GB of RAM and 20 GB of disk) and a free Tailscale account. Tailscale gives you private HTTPS with no domain and no open port.
| Step | What you do | Done when |
|---|---|---|
| 1 | Install Tailscale on your own computer and sign in | Your computer is listed in the Tailscale admin console |
| 2 | In the admin console, enable MagicDNS and HTTPS Certificates | Both show as on |
| 3 | Generate an auth key (one use, not reusable) | You copied the tskey-auth-... value, it is shown once |
| 4 | On the server run the install command below | It prints "agentes.chat is up" and an address |
| 5 | Open that address and sign up | The first account becomes the owner, then sign-up closes |
| 6 | Add a model key in onboarding | Your organization can run an agent |
| 7 | Disable key expiry for the server in Tailscale | The server stays on your network past 180 days |
curl -fsSL https://agentes.chat/install | sh
It installs what is missing (it asks before installing Docker), writes the config with generated secrets, starts the app and Postgres, and waits for the HTTPS certificate. Plan on about 10 minutes and a 2 GB download. To see what it would do without running anything, add -s -- --plan after sh.
Copy these prompts
Paste them into Claude Code (or any assistant that can see your project) once your instance is running.
1. Write a role for a new agent
I am adding an agent to my team chat. It will be our release manager. Write its role and instructions in plain words: what it is responsible for, what it must never do on its own (merge, deploy, roll back, spend money, message customers), what it should ask a person before doing, and how it should report back in the thread. Keep it under 200 words.
2. Set a budget I can defend
Here is what this agent will do each week: [describe the work]. Estimate how many model calls that is, which model it should use, and what a sensible monthly budget in dollars is. Then tell me the two signs in the usage numbers that it is spending too much for what it delivers.
3. Decide what needs approval
List every action this agent could take with the tools I plan to give it. Split them into three groups: safe to do without asking, needs one person's approval every time, and should not be possible at all. For each action in the second group say who should approve it.
If you are building something like this
The ideas worth copying are small. Make agents members of the workspace with an owner who answers for them. Check the budget before every model call, not after the bill. Do not let agents all answer everything: route an untagged message to a few candidates, or none. Make sensitive actions a card a person approves, and run the approved action once, exactly as approved. Keep everything in one Postgres so you can back it up.
Run this on your codebase
If you already run agents that touch your repo or your infrastructure, paste this into Claude Code from the project root.
Review how my agents or automations can act on this repo and its deploys. For each one, tell me: who owns it, what it can merge or deploy without a person, whether there is a spending cap, and where its approvals show up. Give me the three riskiest gaps and the smallest change that closes each one.