AI agents are becoming operational actors in commerce, marketing, and support. OlonJS introduces a deterministic machine contract for websites — so agents can reliably read and operate any site, without custom glue.
/{slug}.json including nested paths
Every layer is designed for determinism — from file system layout to component contracts to Studio UX.
Core defines empty registries; tenants inject types via module augmentation. Full TypeScript safety, zero Core changes.
Self-contained capsules (View + schema + types) enable automated ingestion and consistent editor generation.
@olonjs/cli projects new tenants from a canonical script — reproducible across every environment.
Mandatory DOM attributes bind the Studio canvas to Inspector fields without coupling to tenant DOM structure.
Shared BaseSectionData and BaseArrayItem enforce anchor IDs and stable React keys across all capsules.
v1.3 strict path semantics eliminate nested array ambiguity. Studio selection is root-to-leaf, always deterministic.
Operational standards are missing. Without a contract layer, teams face high integration cost and low reliability.
A contract layer you can audit, version, and scale — not a one-off adapter for every new agent workflow.
Deterministic structure means AI can scaffold, validate, and evolve tenants with less prompt ambiguity.
Teams that standardize now ship new experiences in hours while others rebuild integration logic repeatedly.
OlonJS dramatically increases AI-assisted development speed. Because structure is deterministic, agents scaffold and evolve tenants faster — with lower regression risk.
Read the full specification or explore the source on GitHub. Zero dependencies to start — one JSON endpoint per page.