Entities & relations
Describe the things in your domain and how they connect.
Open source · Public alpha
An executable domain framework and runtime protocol.
Define entities, relationships, selections, commands, operations, and policies as one application model. Ontahí carries that model across storage, APIs, interfaces, and long-running work. Its current TypeScript implementation is published as the @ontahi/* packages.
The application model
Ontahí keeps meaning in the model and infrastructure behind runtime contracts. The same domain can serve a web app today, a CLI tomorrow, and durable or AI-mediated interactions when the application needs them.
Describe the things in your domain and how they connect.
Ask for domain-shaped data without coupling callers to storage.
Name intent and computation as capabilities of the model.
Execute the same model through APIs, UIs, CLIs, or durable workers.
One model in motion
Ontahí is not a code generator or another transport abstraction. It is a shared language between the domain and the runtimes that interpret it.
Define the domain once, in ordinary TypeScript.
Ontahí turns that declaration into an inspectable application model.
A runtime interprets reads, commands, and operations through adapters.
Add another interface or runtime without redefining the domain.
Learn and build
Where this can go
See how authorization, interactive operations, native LLM support, portable runtimes, migrations, and a domain language fit around the core.