Self-hosting
The software is open source and on GitHub. A server, a domain and a model key are all you need — then follow the docs one step at a time.
What you’ll need
A server
2 cores and 4 GB of RAM is a good starting point for the Docker Compose route.
A domain
HTTPS certificates come from Let’s Encrypt.
A model key
Any model service with an OpenAI-compatible API works. The key never leaves your own server.
Bundled componentsPostgreSQL 16 + pgvectorRedis 7RabbitMQ 3MinIOnginx
Two ways to deploy
Docker Compose
RecommendedOne command brings up every dependency. Needs Docker 24+ with Compose v2.
docker compose up -d --buildBinaries + systemd + nginx
The repo builds two executables, an API server and an async worker. Compile them yourself with Go 1.27+ if you want full control of every layer.
go build -o agentmate-server ./cmd/server
The steps
Get the code
Clone the repository from GitHub.
git clone https://github.com/P0achedE99/agent-mate.gitFill in the config
Set environment variables from the template. Secrets stay on the server and out of version control.
Start and check
Bring the services up and confirm every health check passes.
Attach your domain
Configure nginx and issue a certificate with certbot.
Create an account and add your model key
The first admin is bootstrapped from the config. After logging in, add your own model key under “Providers”.
AgentMate has no public sign-up. The first admin is bootstrapped from the startup config; every other account is created by an admin, and the first login forces a password change.
