$selfhostrecipes.com
·9 min read

agentes.chat: A Self-Hosted Slack Alternative Where AI Agents Are Team Members

A look at agentes.chat, an AGPL-3.0 team chat that runs on Docker Compose and Postgres and treats AI agents as workspace members. Covers the install, the upgrade flow, optional connectors and what to think through before you give agents a computer.

self-hostingdocker-composeaisaas-alternativespostgresql

01What agentes.chat Is (and Isn't)

Most team chat tools that advertise AI do it with a bot bolted onto the side. agentes.chat takes a different approach. Agents are members of the workspace. They sit in channels and DMs next to people, each with a role, an owner and a budget, and they are supposed to work where everyone can see. The project describes itself as an open-source, self-hosted Slack alternative. It is licensed under AGPL-3.0, and the README says self-hosting is free with no license key. The same codebase also powers a paid hosted option, agentes.chat Cloud. There is a separate commercial license for people who want to modify it without publishing the changes or resell it under their own brand. Agents can think with Claude, ChatGPT and Codex, Gemini, Grok or any OpenRouter model. The README also lists DeepSeek, Kimi, Z.ai, MiniMax and Command Code. Each organization adds its own model key inside the app, so the server does not ship with one. Beyond chat, the feature list includes MCP connectors, scheduled routines, memory, a wiki, a drive, a task board and an approvals inbox. I want to be upfront about what this post is. It is a read-through of the project's own repository, README, release notes and docs, written for people deciding whether to put it on a server. It is not a long-term review. The release notes show the project is at v0.1.x and moving fast, and several features, including the agent browser, the phone app and the desktop app, are labeled beta in the README. Treat it accordingly.

Only the project's own repository and docs are authoritative here. Before you commit to anything, read SELF_HOSTING.md in the repo at https://github.com/agentes-chat/agentes-chat, since it covers upgrades, backups and running without Docker in more detail than I can.

02The One-Command Install

The documented quick start for your own Linux server is a single command. According to the README, it installs whatever is missing (Docker, after asking you first) and puts agentes.chat on your Tailscale network. That gives you a private instance with HTTPS, and the README estimates about 10 minutes. If you would rather use a public domain, the self-hosting guide covers that, and the feature table says a public domain setup uses Caddy. Here is the command from the README:
[install.sh (one-liner)]
1curl -fsSL https://agentes.chat/install | sh

Piping a script from the internet into sh runs it with your privileges. That is a normal pattern for installers, but I would rather read the script before running it.

03What You Get on the Server

The README's feature table describes the Docker self-host as one compose file containing the app and Postgres with pgvector. Migrations run when the app boots, so you do not apply schema changes by hand. Postgres is described as the only dependency. The container image is published on GitHub's container registry as ghcr.io/agentes-chat/agentes, which is where the README's Docker badge points. The stack, per the contributing section, is Bun, Hono, Drizzle and PostgreSQL on the server, React with Vite and TanStack on the web, Expo for the phone app and Tauri for the desktop app. That matters mostly for debugging. If something misbehaves, the database is plain Postgres, and your usual tooling for inspecting Postgres containers applies. One detail from the v0.1.11 release notes is worth knowing if you maintain your own compose changes. That release recreated the database container once, with a 1 GB shared-memory ceiling set through shm_size, so that busy installs stop failing heavy queries. If you hand-edit the generated compose file, check that an upgrade does not fight your edits there. File storage is flexible. The Drive can keep files on disk, in Postgres or in an S3-compatible bucket. That choice decides what your backup plan has to cover, so make it deliberately rather than leaving the default and finding out later.

Decide where Drive files live before the team starts uploading. A single Postgres dump is simpler to reason about than a database dump plus a disk directory or a bucket that all have to stay in sync.

04Agent Computers, Approvals and Budgets

The part of this project that deserves the most thought from a self-hoster is the agent computer. The README says agents run commands and code on a computer that runs the runner. That can be the server itself, which the setup makes the agents' computer by default, or another server, VM or laptop that you connect. The agent browser, still beta, works on connected computers too. Agents open sites, fill in forms and read pages, and you can watch live and take over for a login or a captcha. There are guardrails in the design. Merges, deploys, rollbacks and anything a connector marks sensitive wait for the agent's owner or an admin, shown as an approval card in the chat. The README says the approved action then runs once, exactly as approved. Every agent also has a monthly budget that is checked before each model call, and the owner receives budget alerts. Connectors use MCP. An organization connects a server once, and each agent only gets the scopes granted to it. The Postgres connector is marked beta and, per the README, runs one parsed statement in a read-only transaction with time and row limits. Still, the default agent computer is the machine hosting your chat and database. Whether that is acceptable depends on what else lives there and on how much you trust the agents you configure. The release notes for v0.1.12 also say work done in a DM without you asking runs on the workspace's computer, never with your personal logins, which is a sensible boundary.

By default the setup makes the server itself the agents' computer. If that host also runs other services, consider connecting a separate VM as the agents' computer instead, and think about what that machine can reach on your network.

05Optional Social and Ads Connectors

Some integrations need you to register apps with third parties. The repo has a checklist for whoever runs a server. Each service turns on when its variables are set, and the checklist says to set them in the server's environment only, with secrets going nowhere else. All the OAuth apps share one redirect URI: the value of your PUBLIC_URL followed by /api/app/connectors/oauth/callback. Telegram is the easy case. The server needs nothing, because each workspace creates its own bot through BotFather and pastes the token into Settings. X is different. You register an app at the X developer console, choose OAuth 2.0, and then set the client id and secret as variables. The checklist notes these are the OAuth 2.0 credentials, not the API key. The variables for X look like this, with placeholder values:
[server environment (X connector)]
1CONNECTOR_X_CLIENT_ID=your-oauth2-client-id
2CONNECTOR_X_CLIENT_SECRET=your-oauth2-client-secret
3CONNECTOR_X_CALLS_PER_MONTH=0

CONNECTOR_X_CALLS_PER_MONTH caps calls per workspace, and 0 means no cap. The checklist says X bills pay-per-use credits, so I would set a real cap rather than leave it unlimited while you are testing.

06Upgrades, Backups and Licensing

Upgrading follows the usual Compose routine. Every release note in the repo repeats the same instruction for self-hosted servers: pull the new image, bring the stack back up, and migrations run on start. The command is:
[upgrade]
1docker compose pull && docker compose up -d

Take a database backup before every upgrade while the project is at v0.1.x. Migrations run automatically on start, so the safest rollback is a restore you have already tested.

07Who Should Run It, and Licensing Notes

Here is where I land after reading everything. If your team already wants AI agents in the same conversations as people, and you want the data on your own hardware, this is an interesting project. The install is short, the dependency list is just Postgres, and the approvals and budgets show the authors thought about the failure modes of agents that act on their own. There are reasons to be careful, too. It is early, with several beta pieces. The desktop builds are not yet notarized on macOS or signed on Windows, so first launch needs a manual confirmation. And if you give agents a computer, you have taken on a real security decision. Licensing deserves a quick read before you adopt it for anything beyond internal use. The code is AGPL-3.0-only. A NOTICE file adds a permission to distribute the phone and desktop apps through app stores, plus an attribution term: copies and modified versions must keep the "Based on agentes.chat by AGENTESCHAT, LLC" line in their About screen. The name, logo and icons are trademarks and are not covered by the AGPL. Contributions require signing the project's Contributor License Agreement. For plain self-hosting for your own team, none of that should get in your way, but if you plan to fork it, read those files first.

About the Author

Frank Pegasus

Pen name of the Selfhost Recipes editors. Guides are written for people running their own services with Docker Compose and are checked against the official documentation of the tools they cover.