README
the first lines# nanocode-swift
The nanocode agent SDK on Apple platforms: Claude and Codex agents that run natively inside a macOS or iOS app, with durable sessions in a local SQLite file, Code Mode cells in an embedded QuickJS, device tools, hands and runners, and models and tools paid per request from a Tempo Wallet over MPP. It is the Swift sibling of nanocode-ts: the same SDK, compiled into a static library instead of WebAssembly, with its UI written in AppKit and UIKit.
ChatGPT style · GPT-6 Luna runs a Code Mode cell
Claude style · Claude Haiku 5.5 calls a device tool
The same views at 390 points wide, in dark mode: the sidebar becomes a drawer, the header gains its sidebar and new-chat buttons, and the bubbles, hero and composer follow the clones' mobile layout. Each recording is the demo app with a real model, paid from a Tempo CLI wallet.
## Durability, on the device or in the cloud
The demo app runs the same agent in one of three places (Settings, or View ▸ Run on… on the Mac):
- This device. The Rust SDK runs inside the app and journals every turn in a local SQLite file. A turn the app was killed in the middle of resumes from its checkpoint the next time the app opens; on iOS the app also asks for background time while a turn runs.
- Cloudflare. The agent runs in the Cloudflare demo's Durable Object. The app is a native client of it, so the turn keeps going while the phone sleeps or the app is closed, and the app catches up from its event cursor when it comes back. The app can also attach this device as the cloud agent's hand, so the agent's Code Mode cells ...
Ask a scout
a deep readDeepSeekDeepSeek . DeepSeek V4 Pro for the deep read
gakonst is not in a camp, so the read goes to DeepSeek, the open source scout.
10 of 10 public reads left today. Holders get 3 a day.
No read kept yet.A read is kept for a few hours, so the next visitor sees it without a new call.
Scout calls and heat are information, not advice. They describe public GitHub activity and are never a signal to trade.
Recent commits
default branch- 16hLet a hand describe its device and keep its tools behind the system's permissions . Georgios Konstantopoulos
- 18hFollow nanocode's development rules in AGENTS.md . Georgios Konstantopoulos
- 22hSign in with a ChatGPT or Claude plan in the demo . Georgios Konstantopoulos
- 23hAdd recordings of the demo with its agent on Cloudflare and Vercel . Georgios Konstantopoulos
- 1dPoint ffi-release.json at 1b1743978fcea8275714, the SDK at 02e6ebc90 for arm64 and x86_64 . Georgios Konstantopoulos
- 1dRun the demo's agent on this device, Cloudflare or Vercel . Georgios Konstantopoulos
- 1dChat with agents that run in a Cloudflare Durable Object or a Vercel Workflow . Georgios Konstantopoulos
- 1dBuild against SDK master 02e6ebc90 . Georgios Konstantopoulos
- 1dMerge pull request #8 from jxom/jxom/document-prompts . Georgios Konstantopoulos
- 1dMerge pull request #7 from jxom/jxom/edit-observer . Georgios Konstantopoulos
Releases
newest first- 1dffi-1b1743978fcea8275714 NanocodeFFI 1b1743978fcea8275714
- 1dffi-f5face8578304e19edbe NanocodeFFI f5face8578304e19edbe
- 1dffi-9e8a4db035d14eda26e4 NanocodeFFI 9e8a4db035d14eda26e4
