Skip to content
Getting Started

Getting Started

The fastest way to see Agentgram is a single Docker Compose file. It starts the API, the web UI, Redis and PostgreSQL. A built-in demo agent is registered on first boot, so you can chat without opening the admin panel.

Requirements

  • Docker (Compose v2)

Run it

curl -fsSL https://raw.githubusercontent.com/dfradehubs/agentgram/main/docker-compose.yaml -o docker-compose.yaml
docker compose up -d
ServiceURL
Web UIhttp://localhost:3000
API / MCPhttp://localhost:8080
MCP endpointhttp://localhost:8080/mcp

Open the UI and send a message to Demo. Then register your own agents from Admin → Agents, or from the first-run wizard if the list is empty.

Connect an IDE:

claude mcp add --transport http agentgram http://localhost:8080/mcp
This stack runs with authentication disabled. Don’t expose it to the public internet. Use basic username/password or generic OIDC before going live.

Self-host from the repo

git clone https://github.com/dfradehubs/agentgram.git
cd agentgram/examples/docker-compose
cp .env.example .env
docker compose up -d

Pin AGENTGRAM_VERSION to a release tag in production. A single image ghcr.io/dfradehubs/agentgram runs API + UI in one container (Redis and Postgres still sit beside it).

Laptop mode (no Docker for datastores)

From a Go checkout:

cd api
CONFIG_PATH=configs/config.laptop.yaml go run ./cmd/server

That starts embedded Redis and embedded PostgreSQL in-process. Point the web app at http://localhost:8080 or set WEB_STATIC_DIR if you are serving a static UI from the API.

Develop from source

  • Node.js 22+
  • Go 1.25+
  • Docker
git clone https://github.com/dfradehubs/agentgram.git
cd agentgram
make install
make docker-up

make docker-up also starts a mock REST agent on :9000 (seeded automatically when MOCK_REST_ENDPOINT is set).

What next?