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.
## Products
| Product | What it is |
| `Nanocode` | The runtime over the Rust library: `NanocodeRuntime`, `Session`, `Chat`, `Wallet` and `WalletMonitor`, hands, runners and the model catalog. |
| `NanocodeKit` | Native AppKit (macOS) and UIKit (iOS) UI from one source: `CloneViewController` with the ChatGPT and Claude skins of nanocode-ts's clone apps, and `NanocodeChatViewController` for a conversation in your own window. |
| `NanocodeCore` | Plain Swift, no Rust: events, the paced `Transcript`, tool cells, turns, the markdown parser and syntax highlighter, for apps that render nanocode events they receive some other way. |
| `NanocodeViews` | SwiftUI views over `NanocodeCore`, for SwiftUI hosts. |
`Package.swift` downloads ...
Ask a scout
a deep readDeepSeekDeepSeek . DeepSeek V4 Pro for the deep read
jxom 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- 1dLet the demo's wallet pill shrink in a narrow header . Georgios Konstantopoulos
- 1dKeep the composer busy while the transcript is still revealing a reply . Georgios Konstantopoulos
- 1dAdd the README with recordings of the ChatGPT- and Claude-style demo apps . Georgios Konstantopoulos
- 1dMeasure the composer with its text view's layout, and script the demo for recordings . Georgios Konstantopoulos
- 1dDrop the SwiftUI NanocodeUI target, replaced by NanocodeKit . Georgios Konstantopoulos
- 1dNative AppKit and UIKit ChatGPT and Claude clones in NanocodeKit . Georgios Konstantopoulos
- 1dAdd Claude- and ChatGPT-like theme presets . Georgios Konstantopoulos
- 1dSay how the iOS apps were checked . Georgios Konstantopoulos
- 1dPublish the arm64 FFI build ffi-9e8a4db035d14eda26e4 . Georgios Konstantopoulos
- 1dConfigure MCP servers per session, paid ones from the wallet, and preconnect sessions . Georgios Konstantopoulos
Releases
newest firstNo releases.This repo has not published a release on GitHub.
