An AI-observable distributed commerce engine built on deterministic DAG workflows, a real-time event fabric, and a pluggable module runtime. Every operation is auditable, replayable, and AI-ready.
"Nothing mutates state directly. Everything flows through workflows and events."
In Hyperrr, all state changes go through declarative workflow DAGs. There are no silent mutations, no fire-and-forget side effects, no state you can't trace back to a cause.
Every operation — a checkout, a refund, an inventory update — is a deterministic, replayable sequence. That makes your commerce engine observable to humans, auditable by compliance teams, and legible to AI agents without any extra instrumentation.
This isn't an add-on. It's the architectural primitive everything else is built on.
The engine, the fabric, and the observer. Each layer does one job precisely, and all three are available to every module you build.
One interface. One registration. Your module gets a shared database, event bus, workflow engine, GraphQL gateway, and MCP agent exposure out of the box.
Commerce modules ship out of the box. Each is independently versioned, testable, and replaceable.
package mymodule import "github.com/GoHyperrr/mdk" // Register once in init() func init() { mdk.Register(func() mdk.Module { return &Module{} }) } func (m *Module) Init( ctx context.Context, rt mdk.Runtime, ) error { rt.Workflows().Register(mdk.Workflow{ ID: "mymodule.process.v1", ExposeToAI: true, Steps: []mdk.Step{...}, }) return nil }
Every external dependency is a pluggable module. Develop locally on SQLite and in-memory. Ship to production on Postgres and NATS. Same code, swap config.