Install

Installation Overview

Open Astra can be installed in three ways depending on your use case — zero-config via npx, as a full Docker Compose stack, or as a standalone CLI. All methods share the same core runtime; they differ in what infrastructure they bring up alongside it.

System requirements

RequirementMinimumRecommended
Node.js18.x20.x LTS
PostgreSQL14 + pgvector16 + pgvector 0.7+
RAM1 GB4 GB (with knowledge graph)
Docker24.x (for Compose method)

Installation methods

MethodBest forBrings up
npx astraTrying it out, local devGateway + PostgreSQL (SQLite fallback)
Docker ComposeProduction, self-hosted teamsGateway + PostgreSQL + Typesense + Redis
Standalone CLIScripting, CI pipelinesAgent REPL only (no HTTP gateway)

Quick start

The fastest way to get running is npx. It handles database setup and starts the gateway on localhost:3000.

bash
npx astra@latest

For a production-ready setup with full search and caching, use the Docker Compose method:

bash
npx astra@latest init
cd astra
cp .env.example .env   # fill in your API keys
docker compose up -d

Configuration

After installation, Open Astra is configured through two sources:

  • astra.yml — agents, skills, tools, channels, and workspace settings
  • Environment variables — secrets, API keys, and infrastructure connection strings

Next steps