Platform & Open Source

The Symbai Platform

A monorepo where the rules enforce themselves

Role
Architect
Year
2026
Status
In production across every Symbai venture
25
TypeScript packages
16
deployed applications
7
automated architecture gates
3
ventures on one codebase

The problem

Agents write plausible code that quietly violates architecture. Ask one for a feature and it will import across a boundary, widen a type to any, or grow a package past the point where a model can hold it in context. Review does not scale as a defense. Enforcement does.

What we built

Decisions That Mattered

1.

Make boundaries mechanical

Four layers, dependencies downward only, and no cross-domain imports. A domain package for one venture cannot reach into another, so shared logic has to be promoted into a capability package where it belongs.

2.

Enforce at commit, teach on rejection

Seven gates check boundaries, type strictness, package size, naming, required documentation, test coverage, and runtime-data placement. A rejection names what failed, which rule it broke, why the rule exists, and how to fix it, because the reader is often an agent.

3.

Size packages for comprehension

Fifty files and five thousand lines per package, so any single package fits in a context window with room left to think. When a package outgrows the limit, the gate forces the split; it does not merely suggest one.

4.

Make client work compound

Every engagement has to leave a reusable package behind. The client gets their application and the platform gains a capability, which means the second client of a given shape costs materially less to serve than the first.

What this demonstrates

Codebases built for agents to work in safely: mechanical boundaries, teaching errors, and package sizes tuned to a context window.

NxpnpmTypeScriptPrismaPostgreSQLRedisuvVercelFly.io

Get in touch

Start a Project

Tell us what you are trying to build and what is in the way. We will tell you early if we are not the right fit.

starrybodies@gmail.com