Installation
Astonish ships as a single binary for macOS and Linux. Choose the installation method that fits your environment.
Homebrew (macOS and Linux)
brew install SAP/astonish/astonishVerify the installation:
astonish --versionInstall Script
For quick installation without Homebrew:
curl -fsSL https://raw.githubusercontent.com/SAP/astonish/refs/heads/main/install.sh | shThe script detects your OS and architecture, downloads the appropriate binary, and places it in your PATH.
Build from Source
Requirements:
- Go 1.26.0 or later
- Node.js 18+ (for building the Studio UI)
- Make
git clone https://github.com/SAP/astonish.git
cd astonish
make build-allThis builds the Ent ORM client, React frontend, and compiles the Go binary with the UI embedded. The resulting binary is at ./astonish.
To build only the Go binary without the UI:
make buildCloud Deployment Prerequisites
If you plan to deploy Astonish with PostgreSQL (multi-tenant, teams), you need:
- PostgreSQL 15+ with the
pgvectorextension installed - A database user with permissions to create databases (Astonish creates one database per organization)
Install pgvector on your PostgreSQL instance:
CREATE EXTENSION IF NOT EXISTS vector;On managed PostgreSQL services (AWS RDS, GCP Cloud SQL, Azure), pgvector is typically available as a supported extension that can be enabled without manual compilation.
Verify Installation
After installing, confirm everything works:
astonish --version
astonish setup # Interactive configuration wizardThe setup wizard walks you through AI provider configuration. See Quick Start: Local or Quick Start: Cloud for next steps.
Kubernetes with OpenShell (Recommended for Production)
For production deployments on Kubernetes with secure agent sandboxing, see the OpenShell Deployment guide. It provides kernel-level isolation, granular policy enforcement, and full audit trails for autonomous agent execution.