exact
Write an app once. It runs natively on the web, macOS, iOS, and Linux, and an AI agent can build it, run it, see it, and test it on every one of them.
What is exact?
Write an app once. It runs natively on the web, macOS, iOS, and Linux, and an AI agent can build it, run it, see it, and test it on every one of them.
Overview of exact
What it is
Exact is a cross-platform application runtime. You describe your interface in Contract, a small declarative language, and you write your data logic in TypeScript or Rust. The Contract compiler turns the interface into a compact plan. On the web, that plan becomes one ES module over a ~20 KB runtime that drives the real DOM. On macOS, iOS, and Linux, a Rust runner executes the same plan, a Rust layout kernel computes every box with CSS rules, and each platform draws with its own tools: AppKit, UIKit, or a GPU painter. There is no webview and no JavaScript bridge in the UI, and no app JavaScript runs before the first pixel. Exact is pre-1.0 and changes daily. There is no API stability, no backwards compatibility, and no migration guide, by design.
Key features
- Agent native: An agent can make an app, run it, look at it, operate it, and prove it works without a person in the loop. Ten operations (tree, screenshot, tap, type, state, layout, logs, clock, prefer, perf) drive the web, macOS, iOS, and Linux through one script.
- Speed is king: Cold start to interactive first frame targets 100 ms p50. Dev restart, edit to present targets 100 ms p50. No app JavaScript executes before the first pixel.
- Write the web, ship the platform: You write CSS vocabulary and layout model. Unsaid presentation is the platform's (system label colour, system button, system Back). The browser is the parity oracle for layout.
- Contract is small on purpose: A whole app fits in a context window. Every write is declared, every list is keyed, every value is typed. Mistakes are refusals that say what to do.
- Tests are scripts of ten operations: An app.test.contract file runs unchanged on any host, with no second evaluator.
Use cases
- Building a cross-platform app that runs natively on web, macOS, iOS, and Linux from a single codebase.
- Developing apps with AI agents that can build, run, see, and test the app on all platforms automatically.
- Creating apps where the UI is described in a small declarative language (Contract) and data logic is in TypeScript or Rust.
- Applications that need fast cold start (100 ms p50 target) and no JavaScript before first pixel.
Getting started
See the repository README for quick start instructions.
License and pricing
The license is MIT. The pricing type is open source.
Based on the project's public README and repository metadata.