Coordination engineering for TypeScript

microfoom

Coordination a single prompt can't express.

Code is in control

Orchestration is ordinary TypeScript. The model is called only for the fuzzy parts and reports back through a typed channel.

Capability security

Methods are unreachable by default. @foom.expose opts a method in — at one of three context-cost tiers.

Schema-validated output

this.agent.value(schema) returns a typed, validated result. Bad output is repaired automatically, then fails loudly.

Typed failures

Every failure is a FoomtimeError subclass — discriminate with instanceof, never parse a string.