ProductsCONTEXTURE

Product index

Design the domain once. Generate the contracts.

A source-of-truth domain model for Convex apps built with agents. The schema, validators and agent context come from the same reviewed structure.

A reviewed Contexture domain model connects Household, Recipe and Meal plan entities with no schema drift.

WHY THIS EXISTS

A schema change should not leave five different truths behind.

In an agent-built app, drift compounds quickly. The database accepts one shape, forms accept another, and the agent works from old assumptions. Contexture turns the reviewed model into generated contracts that can be checked before code ships.

One model is reviewed. Every generated surface can prove it matches.

FROM MODEL TO WORKING CONTRACTS

Change the model. Regenerate. Check the drift is gone.

Derived fields can declare who writes them, so forms and agent tools do not accept backend-owned values.

  1. 01

    Model

    .contexture.json

  2. 02

    Generate

    Convex schema

  3. 03

    Validate

    Zod + JSON Schema

  4. 04

    Describe

    MCP tools + AI contracts

HOW IT WAS BUILT

A source file first, then editors and generators around it.

The centre is a readable domain model under version control. The desktop editor helps people shape it, while the runtime and generators turn it into the typed surfaces the app needs.

Desktop editor
Electron · React · TypeScript · React Flow
Application stack
Convex · Zod · JSON Schema
Distribution
Open source · MIT · GitHub releases

WHERE TO GET IT OPEN SOURCE

Inspect the model editor or start with the source.

Contexture is MIT licensed. The web site explains the model, and GitHub has the desktop app, runtime packages and generators.