TO2D

Architecture Lab

Open Source

Libraries and tools implementing reliability patterns for AI systems.

llm-contract

Runtime for enforcing structured contracts on LLM calls. Handles output cleaning, schema verification, domain invariant checks, failure classification, and repair/retry loops.

TypeScriptMIT LicenseGitHub →

boundary-trace

Structured event system for recording deterministic boundary execution. Captures transitions such as verification failures, repair generation, retry scheduling, and terminal outcomes.

TypeScriptGitHub →

boundary-inspector

Interactive UI for exploring boundary execution traces. Provides run timelines, attempt inspection, failure analysis, and event replay.

TypeScriptGitHub →

BrowserState

A portable, cross-runtime system for capturing, storing, and reusing browser session state. Designed for reliability in automations: canonical state extraction, zero-context snapshots, and env-agnostic portability.

BrowserState Nova Adapter

A lightweight adapter that brings BrowserState to Amazon's Nova automation runtime. Standardizes session reuse and state injection inside Nova workflows, enabling deterministic automations without custom glue code.

GitHub →Adapter layer

BrowserAgent

A zero-context automation engine that avoids the instability of prompt-heavy agents. Instead of reasoning over long, noisy histories, BrowserAgent acts on canonical state slices, enabling predictable, verifiable, and environment-agnostic execution. Built for high-reliability automations that other browser agents struggle with, especially in multi-step workflows. Integrated with BrowserState; trusted by teams with 2,000+ npm downloads per week.