expo/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 it solves

Exact solves the problem of building cross-platform applications that run natively on the web, macOS, iOS, and Linux without needing to write separate code for each platform. It is specifically designed to be built, tested, and operated by AI coding agents, ensuring that the development loop is fast, reliable, and automated.

How it works

You define your application's interface using a declarative language called "Contract" and write your data logic in TypeScript or Rust. The Contract compiler converts your interface into a compact plan. On the web, this plan runs as a small module that interacts with the browser's DOM. On native platforms (macOS, iOS, Linux), a Rust runner executes the plan, using a layout kernel to calculate positions and native tools (like UIKit or AppKit) to render the interface. This approach avoids webviews and JavaScript bridges in the UI, ensuring native performance.

Who it’s for

It is for developers who want to build high-performance, cross-platform applications and for those leveraging AI coding agents to handle the development, testing, and maintenance of their software. It is particularly suited for those who value fast build times and a unified development loop across multiple operating systems.

Highlights

  • Agent-Native Design: Includes a standardized set of operations (like tap, type, and screenshot) that work identically across all platforms, allowing agents to test and verify apps without human intervention.
  • Native Performance: Apps are rendered using native platform tools (AppKit, UIKit) rather than webviews, ensuring they look and feel like native software.
  • Fast Development Loop: Designed for rapid iteration, with typical edit-to-present times of around 100 milliseconds.
  • Unified Testing: A single test script can be run unchanged across all supported platforms to ensure consistent behavior.
  • Platform-Aware Styling: You define the structure and layout, while the platform handles the specific look and feel of controls, colors, and typography.

Related

  • Project
  • Project
  • Project
  • Project