When an agent is halfway through a refactor on your computer and you step away to grab coffee or catch a train, you want to check progress or approve a prompt from your phone—without reproducing a Rust toolchain and a gigabyte of dependencies on iOS.

Ait’s architecture starts from that split: execution stays on the working host, and every other device connects as a client.

The working host owns the state

The Rust daemon (bundled in the macOS/Linux desktop app or installed standalone as aitd) and your native agent CLIs run on the working host. Project files, Git state, workspace metadata, and terminals stay on that machine.

Clients—another desktop, Android, iOS, or Web—talk to the host over a shared protocol to view diffs, send prompts, and handle approvals. Connecting from your phone never copies the repository to the phone or moves the agent into a cloud container. As long as the host is online, every screen looks at the same workspace.

Two connection paths: Online Service and direct connection

Different networks call for different setups, so Ait supports two paths:

Platform boundaries stay explicit: phones only act as clients and never publish themselves as hosts; the Windows desktop app connects remotely and does not run a local daemon; hosted Ait for Web at aitapp.cn uses Online Service only, while local dev Web builds support direct connections.

What happens on backgrounding, drops, and reconnects

Mobile networks drop and screens lock constantly. A few implementation details matter in daily use:

For platform details and step-by-step setup, see Platform support and Connections & data.