v0.4.0-beta.2 · preview

nxa Nano eXecution Agent. Small by design.

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

~/project — nxa
$ 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
Illustrative session

01 / features

What you can do

connectBring a model

Stream with Chat Completions, OpenAI Responses or Anthropic Messages. Web presets include OpenCode Go, DeepSeek, OpenAI, Ollama, Anthropic and OpenRouter.

workWork in a project

Read, search and edit files, and run sandboxed local commands. Switch to read-only Plan mode to investigate before changing anything.

keepKeep a conversation

Restore saved history in the terminal or in Web and desktop. Restoring never resumes execution or replays tool calls.

steerKeep working while it runs

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.

extendAdd local tools

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.

isolateContainers when needed

Opt-in, experimental container execution with a gateway and workload pair. Local execution stays the default.

02 / surfaces

One runtime, three ways in

nxa terminal interface with a conversation and a composer

Terminal. A keyboard-first workspace for coding and reviewing changes. nxa opens it in an interactive terminal.

03 / numbers

Fast and small, measured

Measured startup and package size
measuredresult
Warm TUI launch to composer input, median32.3 ms macOS arm64 · 12.4 ms Linux x86_64
Local macOS arm64 build, 0.4.0-beta.21.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

A small core with narrow ports

  terminal ──┐
  web ───────┼── commands ──▶ runtime ──▶ provider port ──▶ model APIs
  macOS ─────┘◀── events ────  policy     ──▶ tool port ─────▶ sandboxed tools
                               lifecycle  ──▶ store port ────▶ session history
                               cancel
  • The core defines types and contracts. The runtime owns execution, policy and cancellation.
  • Frontends, providers, tools and storage connect through narrow interfaces.
  • Context estimation and safe reduction keep requests bounded instead of replaying a growing transcript.

05 / trust

Safety, stated plainly

✓

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.

Security policy →

06 / install

Get started

macOS desktop

Download the Apple Silicon DMG and drag nxa to Applications.

latest release

Terminal, from source

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 --locked

Browser

Start the local server, then open http://127.0.0.1:8471/.

nxa server

The current preview ships a macOS build. Native archives can be built for Linux and macOS with scripts/package-release.py. See the Quickstart.