Skip to content
Ahamie chibi mascot

Ahamie

A TypeScript-first, source-available framework for building closed-loop AI systems inside your company. Self-host-first. Wraps Mastra. Owns the trust boundary.

🎯 The closed loop, primitives-first. RunOutcome, hidden-golden eval, software-factory mode, connector-proxy trust boundary — the four things Mastra deliberately omits, native and typed.

🪞 Wrap-and-hide Mastra. @ahamie/agent, @ahamie/workflow, @ahamie/memory, @ahamie/rag, @ahamie/workspace mirror Mastra and enforce Ahamie’s invariants. The escape hatch — import { Agent } from "@mastra/core" — is forever open.

🏠 Self-host-first. pnpm create ahamie boots Postgres, the proxy, the runner, the app, and the UI primitives in under 90 seconds. No phone-home.

🛡️ Five trust invariants. The connector proxy is a separate process. I1–I5 are unit-testable. Tokens never enter the agent process.

Terminal window
pnpm create ahamie my-brain
cd my-brain
pnpm dev

The reference app examples/company-brain-in-a-box walks you from Slack ingest → automation → eval → outcome attribution in under one hour.