Quickstart
Prerequisites
Section titled “Prerequisites”- Node.js ≥ 22
- pnpm ≥ 10
- Either Docker (for auto-spun Postgres) or a reachable Postgres URL with the
vectorextension installed
1. Scaffold
Section titled “1. Scaffold”pnpm create ahamie my-brainThe wizard prompts for:
- Postgres source (auto-spin Docker / paste a URL)
- AI provider (Anthropic / OpenAI / local Ollama)
- Connectors to scaffold (Slack / GitHub / Linear)
- Whether to add the shadcn UI primitives
- Whether to install Better-Auth
2. Migrate the database
Section titled “2. Migrate the database”cd my-brainpnpm exec ahamie db migrateThe migration installs pgvector + pgcrypto and creates 25 tables (see Database schema).
3. Boot the dev environment
Section titled “3. Boot the dev environment”pnpm devThis launches:
▸ ahamie-proxy listening on http://127.0.0.1:7787 (bearer: $AHAMIE_PROXY_TOKEN)▸ ahamie-app listening on http://127.0.0.1:3000▸ ahamie-runner in-proc (Mastra workflow)✓ first-app health check: greenThe proxy runs as a separate process. Your app calls it over HTTP with a per-launch bearer token.
4. Run the reference automation
Section titled “4. Run the reference automation”pnpm exec ahamie run daily-eng-leadership-summary --shadowShadow mode records the run but does not dispatch deliveries.
5. Run the eval suite
Section titled “5. Run the eval suite”pnpm exec ahamie eval --suite summarizer.suiteYou should see both an observable partition and a hidden_golden partition in the report. The hidden-golden bytes live in a separate object-store prefix that the agent has no IAM access to.
6. Health check
Section titled “6. Health check”pnpm exec ahamie doctorWarns on missing eval suites, default-allow egress, unrotated credentials, and other adoption pitfalls.