Skip to main content
gegentic-quickstart is a Docker Compose bundle that brings up every Gegentica service — API, Gateway, Guardian, Tracing, and Portal — along with their infrastructure dependencies (Postgres, SuperTokens, ClickHouse), with a single command. Use it to evaluate Gegentica locally or to self-host it.

Prerequisites

  • Docker Compose
  • The following ports free on localhost: 3002, 4001, 4002, 8787, 8700, 5001
  • No Node, npm, or build tools needed — every service ships as a prebuilt Docker image
  • Network access to the OpenAI API (or an OpenAI-compatible endpoint) — Guardian’s AI-based guardrails call out to it at runtime

Set up your environment

Clone the repo and copy the environment template:
Edit .env and set the following required variables:
Optional variables: SEED_ORG_NAME sets the name of the organization created on first run (defaults to “My Organization”), and GEGENTIC_ALLOWED_SIGNUP_EMAILS restricts email/password signup to a comma-separated allowlist (leave blank to allow anyone).

Start the stack

This pulls and starts all services. The first run also runs database migrations via the api-migration service. Once everything is healthy, open the Gegentica portal:

What gets started

Updating

Stopping

To also remove persisted data (Postgres and ClickHouse volumes):

Troubleshooting

If a service fails to start, check its logs first:
The most common causes are a missing required environment variable, or a Postgres/SuperTokens connection race on first boot despite the healthcheck-gated startup order — retrying docker compose up usually resolves it.

Next steps

Once the portal is up, follow Making Your First Request to create your organization, connect a provider, and generate your first Access Key — all against your local stack instead of app.gegentic-ai.com.