Skip to content

Latest commit

 

History

475 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Nexis

Nexis

Open-source lightweight cross-platform AI-native terminal (ADE)

latest release license release platforms

Wiki · Downloads · Changelog · Roadmap · Contributing


Nexis is a lightweight, AI-first terminal and developer environment built on Tauri 2, Rust, and React 19. Native PTY backend, multi-tab terminals, a full code editor, file explorer, source control, and an AI panel that runs on your own API keys or entirely offline with a local model server. The current Windows build is roughly a 32 MiB native executable and a 10 MiB NSIS installer. API keys are stored in the OS keychain, and Nexis has zero telemetry.

This README is the short version. The wiki has the full story: installation, quick start, features, keybindings, AI provider setup, and troubleshooting.

Highlights

  • Terminal: xterm.js with WebGL rendering, unlimited tabs and split panes, native PTY (zsh, bash, pwsh, fish, cmd, WSL). Shell integration (cwd tracking, prompt markers, live tab titles), fuzzy shell-history search, private terminals the AI can't read, session recording, and read-only live sharing over LAN.
  • Editor: CodeMirror 6 with highlighting for 20+ languages, AI inline autocomplete, per-hunk approval of AI-proposed edits, minimap, Vim mode, formatting on save, snippets, project-wide search and replace, and a fuzzy file picker.
  • Language tooling: real LSP servers (go-to-definition, hover, completion, diagnostics, rename, refactors), a DAP step-through debugger, and a problems panel.
  • Source control: stage, commit, and branch without leaving the app; commit graph, stash manager, merge-conflict resolver, worktrees, and AI-generated commit messages and PR descriptions.
  • AI: 18 provider backends, including OpenAI, Anthropic, Google, Groq, xAI, Cerebras, DeepSeek, Mistral, OpenRouter, Z.ai, Hugging Face, any OpenAI-compatible endpoint, and local servers through LM Studio, MLX, Ollama, vLLM, xLLM, or SGLang. Multi-agent workflows include tool approval, an agent task queue, codebase grep/glob/file search, voice input, prompt templates, and a context inspector that shows exactly what the model sees.
  • ML Lab: train small models on your own data, locally, with live charts, an inference playground, and run comparison. The AI / ML preset puts its reusable workbench tab in the titlebar alongside the required code, AI, monitoring, and benchmark tools. See docs/ML_LAB_GUIDE.md.
  • Atlas: a permanent companion window for every git repo on your machine — a status list (branch, ahead/behind, dirty counts, stashes, last commit) and an isometric map where repos are plots, files are buildings, and height is lines of code. It also makes project scale tangible with source-line totals, density, and clearly-labelled playful effort estimates. One scan, two views, one shared selection; open any repo as a workspace or terminal tab.
  • Benchmark: a permanent companion window for measuring local models across inference backends. Drop in .onnx or .gguf files, run the model x backend matrix, and compare throughput, latency, peak memory and accuracy side by side — real inference through ONNX Runtime and llama.cpp, real training throughput through nexis-ml, and a simulated backend for everything else. Every result says which it was. ONNX Runtime ships on Windows and Apple Silicon; Linux and Intel macOS mark it unavailable because upstream's prebuilts do not match those release targets.
  • SVG Studio: the Art pack promotes the vector workbench into the top titlebar, where it opens one reusable Nexis tab for source editing, direct canvas manipulation, generators, presets, optimization, preview, and export. The launcher appears for Art, Everything, and custom configurations with Art enabled.
  • Themes: 22 built-in themes (17 Nexis palettes and five credited community palettes), custom .nexis-theme files with live preview, and background images with opacity and blur.
  • Workbench: file explorer, web preview for local dev servers, and sidebar panels for background jobs, ports, SSH connections, tests, databases, build tasks, and releases.
  • Private by design: API keys live in the OS keychain (never on disk), AI tools use an approval-gated, workspace-confined surface with secret and system-path defenses, outbound HTTP has SSRF and DNS-rebinding protection, and there is no telemetry. This is defense in depth, not an OS sandbox.

Install

Download prebuilt releases from Releases. Release automation publishes Windows x64 NSIS/MSI installers, Linux .AppImage, .deb, and .rpm bundles for amd64 and arm64, and macOS 13+ DMGs for Intel and Apple Silicon. macOS builds use an ad-hoc signature until the repository's Apple Developer signing and notarization secrets are configured, so Gatekeeper may require explicit approval in Privacy & Security.

Per-platform notes (SmartScreen, FUSE, Wayland, WSL) live in the wiki: Linux · Windows · macOS.

Setting up AI

  1. Open Settings → AI
  2. Choose a provider and paste your API key. It is stored in the OS keychain via Rust's keyring crate, never on disk
  3. For local/offline models, point Nexis at LM Studio, MLX, Ollama, vLLM, xLLM, SGLang, or another OpenAI-compatible server; no key is required unless your server expects one

Full provider list and configuration details: AI providers.

Architecture

Nexis is one Tauri 2 desktop application with an explicit dependency direction:

  • src/platform/ owns typed IPC, workspace authorization and scope, filesystem/process access, persistence, windows, dialogs, notifications, and other native policy.
  • src/workbench/ owns contribution lifetimes, panels, commands, shortcuts, and shell composition without importing Tauri implementation details.
  • src/capabilities/ declares feature-owned panels, commands, and native contracts. Existing feature state remains under src/modules/ where moving it would add churn without improving the boundary.
  • src/components/icon.tsx, theme modules, and shared styles form the design seam.
  • Rust keeps process construction, workspace confinement, PTY lifecycle, filesystem policy, and long-lived services behind thin Tauri commands.

Source-level architecture tests prevent platform dependencies from pointing upward, raw Tauri access from spreading, settings/workspace ownership from duplicating, and contribution IDs from colliding. See the architecture boundary map, redesign progress and verification record, and Phase 0 inventory.

Building from source

Prerequisites: Rust (stable), Node 22 LTS with pnpm 11+, and the Tauri platform prerequisites.

pnpm install
pnpm tauri dev        # dev with hot reload
pnpm tauri build      # production build

Tests and checks: pnpm test (Vitest), cargo test in src-tauri/, pnpm exec tsc --noEmit, and cargo clippy. The Windows WebdriverIO suite requires Node 22 and an isolated release build created with pnpm tauri build --config src-tauri/tauri.e2e.conf.json; then run pnpm test:e2e.

Docs

Everything contributor-facing lives in docs/.

Reading the vault in Obsidian

docs/vault/ is an Obsidian-compatible knowledge base: plain markdown with [[wiki-links]] and YAML frontmatter, no plugins required. GitHub renders those links as literal text, so it's worth opening properly: in Obsidian choose Open folder as vault and point it at docs/vault/ inside your checkout (not the repo root). Home.md is the entry point, and the graph view shows how the subsystems connect. Obsidian's per-user config goes in docs/vault/.obsidian/, which is gitignored.

Prefer not to install anything? Every note reads fine in any editor, and the prose guides in docs/architecture/ are plain markdown that renders correctly right here on GitHub.

Credits: built on Terax

Nexis began as a personal fork of terax-ai, an open-source AI-native terminal by @crynta. The foundations Nexis inherited from that project (the PTY session architecture, the shell-integration approach, and the original AI tooling layer) shaped everything that came after, and several later designs (the renderer-pool memory work among them) were informed directly by upstream's own fixes.

Nexis has since taken its own direction, branding, and a substantially expanded feature set, but the lineage is real and worth stating plainly. If you find Nexis useful, go give terax-ai a look and a star.

Nexis is Apache-2.0, as is the upstream work it builds on.

Stack

Tauri 2 · Rust · portable-pty · React 19 · TypeScript · xterm.js · CodeMirror 6 · Vercel AI SDK 7 · Tailwind v4 · shadcn/ui · Zustand

Contributing

PRs and issues are welcome. Check CONTRIBUTING.md before opening anything non-trivial, and see the good-first-issue and help-wanted labels for tracked tasks.

License

Apache-2.0. See LICENSE.

About

Open-source AI-native terminal emulator with integrated editor, file explorer, and multi-provider AI agents. Built on Tauri 2 + Rust + React 19.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages