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.
★ 4,375⑂ 115👁 12⑃ 212● 487▤ 0
+152
Daily
4,375
stars
115
forks
12
watchers
212
prs
487
issues
0
releases
README
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.
Android and Windows are early and in progress: an app builds and runs on both, and
what each still lacks is under Not yet, or not at all.
Building an app? With the tools installed (Quick start, step 1),
run bun scripts/exact.mjs setup once, make the app with bun scripts/exact.mjs new ,
and read docs/start-here.md (for a website,
docs/start-here-site.md): that guide is the only required
reading. The rest of this page describes Exact for people deciding whether to use it
or working on it.
[!TIP]
Try it with a coding agent. On a Mac with Xcode, Rust, Bun, and Chrome installed,
give Claude Code this prompt:
text
Clone https://github.com/expo/exact and follow its README to make a new Exact
app with exact new. Run bun scripts/exact.mjs setup once first. Make a todo
list where I can add items, check them off, delete them,
and see how many are left. Put the view in Contract and keep the list in app.ts.
Write an app.test.contract, pass it on web, macOS, and the iOS Simulator with
scripts/agent.mjs, then open the app for me on all three.
A fresh agent given the earlier version of this prompt on a clean clone (2026-10-04, Hermes already in the
machine cache, Cargo's cache warm) finished in about 57 minutes, and its tests passed
on all three platforms. About 25 of those minutes were the first macOS and iOS builds,
roughly 13 minutes each; later builds take a minute or two. On a machine that has
lacked Hermes, its source build came first and added time. Current setup downloads and
verifies the pinned host/iOS bundles once instead; ordinary builds stay offline.
Web
iOS
macOS
The browser's own DOM and CSS
UIKit views, native controls and the system's tab bar
AppKit views and native controls
One app.contract, the same screen on three hosts, captured by the agent driver. Softwear is a demonstration store you can generate from exact-templates: it shows Alternative Apparel's catalog, is not affiliated with that brand, and takes no real orders or payments.
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; a plain HTTP read needs neither, as it can be declared in
Contract. 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.
[!NOTE]
Exact is pre-1.0 and changes daily. There is no API stability, no backwards
Top issues
#127Push notifications from a server, including in an app that has Live Activities9 comments · 2026-11-11#508Windows: private bytes reach about 650 MB with two large 2D canvases, one resized by a drag (measurement)8 comments · 2026-11-13#537Android: push from the app's own server (FCM) and local notifications are unsupported7 comments · 2026-11-13#588Android: no over-the-air updates (the APK has no update client), yet a production build asks for an update stream; plan for TypeScript apps?6 comments · 2026-11-14#145Linux / Raspberry Pi 4: Ink rendering performance investigation and improvements6 comments · 2026-11-11#585Android: live reload of app.ts (the dev loop's module card is dropped) and an `android --dev` verb to start the loop5 comments · 2026-11-14#515Android: a right-to-left app keeps the top bar, tab bar, switches and alerts left to right5 comments · 2026-11-13#486macOS: a right-to-left app keeps its window left to right (sidebar, split, toolbar) while the web mirrors it5 comments · 2026-11-13