connectBring a model
Stream with Chat Completions, OpenAI Responses or Anthropic Messages. Web presets include OpenCode Go, DeepSeek, OpenAI, Ollama, Anthropic and OpenRouter.
v0.4.0-beta.2 · preview
One Rust runtime powers a native terminal, an Apple Silicon desktop app and an embedded Web client. Stream model responses, work in local projects and pick up saved conversations, without a separate frontend build.
Apple Silicon DMG · MIT licensed · Rust
$ nxa config
provider › OpenCode Go · model › deepseek-v4.1-flash
saved to ~/.config/nxa/config.json
$ nxa tui
› plan explain how sessions are restored
⎿ host_read crates/nxa-session/src/lib.rs
⎿ host_search "restore_session"
Restoring history never replays tool calls.
run finished · completed
01 / features
Stream with Chat Completions, OpenAI Responses or Anthropic Messages. Web presets include OpenCode Go, DeepSeek, OpenAI, Ollama, Anthropic and OpenRouter.
Read, search and edit files, and run sandboxed local commands. Switch to read-only Plan mode to investigate before changing anything.
Restore saved history in the terminal or in Web and desktop. Restoring never resumes execution or replays tool calls.
Queue prompts, steer at the next safe model-request boundary, or ask a standalone /btw question. Eligible sessions can delegate read-only exploration to Helpers.
Import JSON manifests of local commands. They run in the project sandbox and ask for approval by default. Optional tools add Git review, LSP navigation and an MCP bridge.
Opt-in, experimental container execution with a gateway and workload pair. Local execution stays the default.
02 / surfaces
Terminal. A keyboard-first workspace for coding and reviewing changes. nxa opens it in an interactive terminal.
Web. Run nxa server and open http://127.0.0.1:8471/. Projects, conversations and settings in the browser.
macOS. Drag nxa to Applications. The app opens a built-in WebKit workspace backed by its own local server.
03 / numbers
| measured | result |
|---|---|
| Warm TUI launch to composer input, median | 32.3 ms macOS arm64 · 12.4 ms Linux x86_64 |
| Local macOS arm64 build, 0.4.0-beta.2 | 1.14 MiB DMG · 3.47 MiB installed app |
30 runs per reference host, model latency excluded. The macOS first-execution security scan is reported separately. Methodology and evidence →
04 / architecture
terminal ──┐
web ───────┼── commands ──▶ runtime ──▶ provider port ──▶ model APIs
macOS ─────┘◀── events ──── policy ──▶ tool port ─────▶ sandboxed tools
lifecycle ──▶ store port ────▶ session history
cancel
05 / trust
The server binds to loopback. Configured providers and real tools require authentication.
Local commands require an OS sandbox: sandbox-exec on macOS, bwrap on Linux. No unsandboxed fallback.
Development mode asks before external access. --strict-tools also confirms mutations and commands.
Approvals are scoped to one tool, held in memory and never restored from history.
Cancellation is not rollback. Experimental container execution is not an approved isolation boundary.
Beta: the scoped M0–M4 gates are complete; production and security readiness are not claimed.
06 / install
Needs Rust stable. Then set up a provider and model with nxa config.
git clone https://github.com/immane/nxa
cd nxa
cargo run -p nxa-tui --lockedStart the local server, then open http://127.0.0.1:8471/.
nxa serverThe current preview ships a macOS build. Native archives can be built for Linux and macOS with scripts/package-release.py. See the Quickstart.