Build from source
Clone the Amaru repository, install the tools its checks need, run make check, and try the partial amaru serve Platform binary on Linux.
There is no ready-to-install release of Amaru. This page is for exploring the code: running the
repository's checks and the partial amaru binary.
Before you begin
| Tool | Needed for |
|---|---|
| Git | Everything. On Windows, clone with symlinks enabled. |
Go 1.27 or newer (or Go 1.21+ with GOTOOLCHAIN=auto, which downloads 1.27) | All Go targets |
buf (verified with 1.69.0) | make contracts-proto |
| Node.js 22.18 or newer and pnpm | make contracts-ts and make sdk-ts |
| PostgreSQL 16 or newer | make platform-test-pg and amaru serve |
git clone -c core.symlinks=true https://github.com/amaru-oss/amaru.gitRun the checks
make check # every check below, except the PostgreSQL tests
make docs-check # documentation checks onlymake check runs fmt, vet, test, docs-check, the spike checks, contracts-test,
contracts-proto, contracts-ts, sdk-ts and platform-test, so it needs every tool in the
table except PostgreSQL. Each target is described in
Development.
The amaru binary (Linux)
services/platform/cmd/amaru implements amaru serve and amaru open on Linux; other
platforms exit with a static message. From services/platform:
go build -o /tmp/amaru ./cmd/amaru
AMARU_DATABASE_URL='postgres://amaru@127.0.0.1:5432/amaru' /tmp/amaru serveamaru serveruns the compact Platform in the foreground. It reads one setting,AMARU_DATABASE_URL, a PostgreSQL 16 or newer connection string, and never prints or logs it.amaru open, in a Linux desktop session withxdg-open, hands a single-use launch URL to the default browser. It requires a running Instance.
Not production-ready
There is no bundled PostgreSQL child, messaging/outbox or Execution stage, so Steps accepted over
the API stay queued. This is not the Amaru Light amaru serve; see
Compare the projects.
Based on README.md, docs/engineering/validation.md and services/platform/README.md.
Next steps
- Platform core: what the binary contains, and its limits.
- Development: conventions before you change anything.
Terminology
The central Amaru terms, such as Work Item, Workflow, Step, Execution, Capability, Provider, Worker and Policy, with the prototype terms Amaru retired.
Architecture
How Amaru is designed and how its repository is organized, from the Platform and Workers to the Go Platform core, the contracts and the TypeScript SDK.