Open source · Public alpha

Ontahí

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

Name the domain before choosing its surfaces.

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.

01

Entities & relations

Describe the things in your domain and how they connect.

02

Selections & reads

Ask for domain-shaped data without coupling callers to storage.

03

Commands & operations

Name intent and computation as capabilities of the model.

04

Runtimes & interactions

Execute the same model through APIs, UIs, CLIs, or durable workers.

One model in motion

From declaration to execution.

Ontahí is not a code generator or another transport abstraction. It is a shared language between the domain and the runtimes that interpret it.

  1. 01
    Declare

    Define the domain once, in ordinary TypeScript.

  2. 02
    Reflect

    Ontahí turns that declaration into an inspectable application model.

  3. 03
    Execute

    A runtime interprets reads, commands, and operations through adapters.

  4. 04
    Adapt

    Add another interface or runtime without redefining the domain.

Where this can go

Explore the wider Ontahí vision.

See how authorization, interactive operations, native LLM support, portable runtimes, migrations, and a domain language fit around the core.

Open the interactive vision map