Ontic is a browser-first, local-first ontology and simulation tool for modeling a situation, asking questions about it, and mutating world state over time.
- Turn a scenario into a structured ontology graph.
- Ask natural-language questions against the current world state.
- Apply interventions as versioned mutations.
- Compare snapshots and probability shifts over time.
- Persist worlds, history, and settings locally in the browser.
flowchart LR
UI["React App Shell"] --> Store["Zustand Store"]
Store --> Graph["React Flow Graph Canvas"]
Store --> Panels["Query / Results / Mutation / History Panels"]
Store --> Persistence["Dexie + IndexedDB"]
Store --> QueryFlow["Query Flow"]
Store --> MutationFlow["Mutation Flow"]
Store --> WorldCreation["World Creation Flow"]
QueryFlow --> OpenRouter["OpenRouter Client"]
MutationFlow --> OpenRouter
WorldCreation --> OpenRouter
Store --> Simulation["Simulation Engine / Worker Client"]
Simulation --> Results["Query Results + Drivers"]
- React
- TypeScript
- Vite
- Tailwind CSS
- Zustand
- Dexie / IndexedDB
- React Flow
- Zod
pnpm install
pnpm devpnpm dev
pnpm build
pnpm lint
pnpm test
pnpm preview