Your infra.
Your rules.

Palace Server is distributed as a Docker image and a static binary. No cloud lock-in, no telemetry, no surprise egress fees.

  • Single binary + Postgres — bring your own database or use the Docker Compose starter kit
  • Public Docker image & starter-kit zip included
  • Runs on Linux, macOS, ARM64
  • Data persists in PostgreSQL (pgvector) — standard backups work
  • Config via env vars — 12-factor friendly, migrations run automatically on startup
  • License key is issued here and configured on your Palace Server
# easiest: grab the starter kit (compose + .env template)
curl -fsSLO https://github.com/AncientiCe/public-server-dist/releases/latest/download/palace-server-starter-kit.zip
unzip palace-server-starter-kit.zip && cd starter-kit
 
# paste your license key into .env, then:
cp .env.example .env && $EDITOR .env
docker compose up -d
 
✓ palace-server + postgres ready on :8080

License key invalid or expired

Confirm PALACE_LICENSE_KEY is set with no surrounding quotes or whitespace. Keys are Ed25519-signed and verified on startup; an "expired" error means the embedded expiry has passed — check your subscription status in the billing portal, which re-issues a fresh key.

Database connection fails

Verify DATABASE_URL points at a reachable Postgres with the pgvector extension available. Use only ASCII characters in the password (the URL is parsed as UTF-8), and make sure the database accepts connections from the server's host.

Port 8080 already in use

Another process is bound to :8080. Stop it, or override the bind address via env (for the binary) / remap the published port in your docker-compose.yml.

Migrations on startup

Migrations run automatically and are forward-only (IF NOT EXISTS). If startup fails mid-migration, check that the database user owns the schema and has permission to create tables and extensions.

ARM / Apple Silicon

The Docker image and binary support Linux, macOS, and ARM64. On Apple Silicon, ensure Docker pulls the matching architecture and that your Postgres image is also ARM-compatible.

Still stuck? Reach us through the contact form.

Palace-rs — free & open source forever

The Rust crate at the core of Palace Server is MIT-licensed and always will be. Use it freely in your own projects. Palace Server is the commercial layer on top.

Built for security review

Palace Server is designed for engineering teams that cannot let agent memory become another uncontrolled cloud data store. The deployment stays in your network, embeddings run locally, and licenses verify cryptographically on the server.

Procurement-friendly ownership

Paid tiers use flat team pricing, signed license keys, and standard infrastructure primitives: Postgres with pgvector, environment-variable configuration, Docker or a static binary, and backups you already understand.

Give your agent a
memory today

Free and local in two minutes. Shared across your whole team in ten. No cloud, no lock-in.