nexus
Health Warn
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Warn
- network request — Outbound network request in .claude/skills/gpui-dev/scripts/builder.py
- network request — Outbound network request in .claude/skills/gpui-dev/scripts/resolve.py
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Nexus Desktop, a native GPUI app for working with AI agents, with the nexus CLI and the nexus-client Rust crate. MIT licensed.
Nexus Desktop
Nexus Desktop is a native desktop app for working with AI agents. It runs on macOS, Linux and Windows.
It draws its interface on the GPU with GPUI, the UI framework behind the Zed editor.
What it does
- Signs you in with a browser-approved device flow and keeps the token in the operating system's credential store.
- Chats with models, streams answers as Markdown with code highlighting, and lets you pick a model or leave it on Auto.
- Runs coding agent sessions on your computer (Claude Code or Codex) and shows their work.
- Gives each coding session a workbench with a browser, a terminal, files and changes.
- Shows a session's GitHub pull request: checks, reviews and review threads.
- Lives in the tray or menu bar, and opens a small ask window from a global shortcut.
You need a Nexus account to sign in. The app talks to the Nexus Gateway through the nexus-client crate.
Point it at another Gateway with the NEXUS_URL environment variable.
Install
Download a package for your platform from the download page.
Build from source
You need Rust 1.97.
rustup toolchain install 1.97
Then install the system packages for your platform.
| Platform | What to install |
|---|---|
| macOS | Xcode command line tools (xcode-select --install), then brew install cmake ninja |
| Linux (Debian, Ubuntu) | sudo apt install build-essential clang cmake libfontconfig-dev libfreetype-dev libwayland-dev libxkbcommon-dev libxkbcommon-x11-dev libxcb1-dev libvulkan1 ninja-build libasound2-dev libgtk-3-dev libayatana-appindicator3-dev |
| Linux (Arch) | sudo pacman -S base-devel clang cmake fontconfig freetype2 wayland libxkbcommon libxkbcommon-x11 libxcb vulkan-icd-loader ninja alsa-lib gtk3 libayatana-appindicator, plus your GPU's Vulkan driver |
| Windows | Microsoft C++ Build Tools ("Desktop development with C++") and Ninja |
Build and run from the repository root:
cargo +1.97 run -p nexus-desktop-gpui --locked --release
The first build takes several minutes. Use the committed Cargo.lock.
A debug build of GPUI is much slower, so use --release to judge how the app feels.
For a faster edit loop, use the fast profile:
cargo +1.97 run -p nexus-desktop-gpui --locked --profile fast
Two optional settings save time when you build more than once:
CEF_PATH=$HOME/.cache/nexus-cefshares one download of the embedded browser (CEF) between checkouts.NEXUS_BUILD_SHA=localstops each commit from rebuilding the app for its version string.
Architecture
The app is one Rust crate that draws its windows with GPUI. A root Workspace view holds the sidebar, the main area,
the side pane and the overlays. Calls to the Gateway go through nexus-client. Coding sessions, the workbench and
the shared host service live in the nexus-workbench, nexus-host and nexus-remote crates. Embedded web pages run
in CEF, in a separate web host process, so a page crash does not stop the app. Longer
architecture and contributor guides will come later.
The mobile app
apps/mobile is Nexus for iPhone and Android: an Expo (React Native) app on the same Gateway, through the TypeScript
kit in packages/kit. apps/mobile/README.md describes it.
cd apps/mobile
npm ci
npx expo run:ios # needs Xcode; or run:android with Android Studio
The store accounts, the Nexus icon and Nexus's own hosts are not in this repository. app.config.ts reads the
accounts and hosts from the environment (NEXUS_MOBILE_*), so a build from here runs under your own, with Expo's
default icon.
The kit's and the app's tests run at the repository root:
npm ci
npm test # vitest: packages/kit and apps/mobile
npm run typecheck:kit
(cd apps/mobile && npm run typecheck)
Nexus's store builds come from mobile-v* tags (.github/workflows/mobile-release.yml).
The kit as a dependency
Other repositories depend on @nexus/kit at a fixed commit of this repository. Each push to main that changespackages/kit publishes the release kit-<commit sha>, with npm pack of the kit as its asset nexus-kit.tgz
(.github/workflows/kit-release.yml). A repository pins it in its package.json and lets its lockfile record the
asset's integrity:
"@nexus/kit": "https://github.com/nexus-xyz/nexus/releases/download/kit-<commit sha>/nexus-kit.tgz"
To bump a pin, change the sha to a newer kit-* release and run npm install.
Contributing
We welcome bug reports, fixes and features. Read CONTRIBUTING.md first.
All participants follow the Code of Conduct.
To report a security problem, follow SECURITY.md.
What the app sends over the network, and how to turn usage data off, is in PRIVACY.md.
Project decisions are described in GOVERNANCE.md.
License
Nexus Desktop, the command line and the mobile app are licensed under the MIT license.
Third-party code keeps its own license. Its notices are in NOTICE.
The Nexus name and logo are not covered by that license. See TRADEMARKS.md.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found