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

    Recommended

    One command brings up every dependency. Needs Docker 24+ with Compose v2.

    docker compose up -d --build
  • Binaries + 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

  1. Get the code

    Clone the repository from GitHub.

    git clone https://github.com/P0achedE99/agent-mate.git
  2. Fill in the config

    Set environment variables from the template. Secrets stay on the server and out of version control.

  3. Start and check

    Bring the services up and confirm every health check passes.

  4. Attach your domain

    Configure nginx and issue a certificate with certbot.

  5. 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”.

About accounts

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.

AgentMate

Your model. Your data.