Skip to content

dacely-cloud/nerva-code-old

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14,950 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nerva Code

🎯 The accuracy engine, in your terminal

Nerva Code brings NERVA's settlement and its verify verdict to your own codebase. Connect a provider, hand it a task, and it works the repo the way an agent should, not by guessing.

engine: NERVA runtime: TypeScript + Bun npm source-available license: BUSL-1.1 Discord


What Nerva Code is

Nerva Code is the coding agent from Dacely, in your terminal. It is the code surface of NERVA, the accuracy engine for open models, and it points the same settlement and the same verify verdict at your own repository.

Connect any provider, the NERVA engine you run on the GPU you already own or any OpenAI compatible endpoint, hand it a task, and it reads and works the codebase the way an agent should, not by guessing at an API it half remembers. Nerva Code is a fork of opencode, so everything opencode already does it does too. What NERVA adds is the discipline that turns a guess into a checked result: a population of reasoning that converges on the right change, and a done that is a verdict, not a feeling.

Bring your own provider

Nerva Code runs where you code and talks to whatever model you point it at. Run the NERVA engine locally for tier one results on hardware you own, or connect any OpenAI compatible provider. There is nothing to rent and nothing to send anywhere you did not choose.

Installation

# YOLO
curl -fsSL https://dacely.ai/install | bash

# Package managers
npm i -g nerva-code@latest           # or bun/pnpm/yarn
scoop install nerva-code             # Windows
choco install nerva-code             # Windows
brew install dacely-cloud/tap/nerva-code # macOS and Linux (recommended, always up to date)
brew install nerva-code              # macOS and Linux (official brew formula, updated less)
sudo pacman -S nerva-code            # Arch Linux (Stable)
paru -S nerva-code-bin               # Arch Linux (Latest from AUR)
mise use -g nerva-code               # Any OS
nix run nixpkgs#nerva-code           # or github:dacely-cloud/nerva-code for latest dev branch

Tip

Remove versions older than 0.1.x before installing.

Desktop App (BETA)

Nerva Code is also available as a desktop application. Download directly from the releases page or dacely.ai/download.

Platform Download
macOS (Apple Silicon) nerva-code-desktop-mac-arm64.dmg
macOS (Intel) nerva-code-desktop-mac-x64.dmg
Windows nerva-code-desktop-windows-x64.exe
Linux .deb, .rpm, or .AppImage
# macOS (Homebrew)
brew install --cask nerva-code-desktop
# Windows (Scoop)
scoop bucket add extras; scoop install extras/nerva-code-desktop

Installation Directory

The install script respects the following priority order for the installation path:

  1. $NERVA_CODE_INSTALL_DIR - Custom installation directory
  2. $XDG_BIN_DIR - XDG Base Directory Specification compliant path
  3. $HOME/bin - Standard user binary directory (if it exists or can be created)
  4. $HOME/.nerva-code/bin - Default fallback
# Examples
NERVA_CODE_INSTALL_DIR=/usr/local/bin curl -fsSL https://dacely.ai/install | bash
XDG_BIN_DIR=$HOME/.local/bin curl -fsSL https://dacely.ai/install | bash

Agents

Nerva Code includes two built-in agents you can switch between with the Tab key.

  • build - Default, full-access agent for development work
  • plan - Read-only agent for analysis and code exploration
    • Denies file edits by default
    • Asks permission before running bash commands
    • Ideal for exploring unfamiliar codebases or planning changes

Also included is a general subagent for complex searches and multistep tasks. This is used internally and can be invoked using @general in messages.

Learn more about agents.

Documentation

For more info on how to configure Nerva Code, head over to our docs.

Contributing

If you're interested in contributing to Nerva Code, please read our contributing docs before submitting a pull request.

License

Nerva Code is source-available, not open source. It is a fork of opencode (MIT, Copyright (c) 2025 opencode); the upstream opencode code stays under the MIT License.

The original code added for the NERVA engine is licensed under the Business Source License 1.1 (SPDX: BUSL-1.1): free for personal and non-commercial use, but commercial use requires a license from Dacely, contact business@dacely.com. Each released version converts to Apache-2.0 on its Change Date (2030-07-10).

See LICENSE, NOTICE, and THIRD-PARTY-NOTICES.md for the full terms and third-party attributions. "NERVA", "Nerva Code", and "Dacely" are reserved marks.

Building on Nerva Code

If you are working on a project that's related to Nerva Code and is using "nerva-code" as part of its name, for example "nerva-code-dashboard" or "nerva-code-mobile", please add a note to your README to clarify that it is not built by the Nerva Code team and is not affiliated with us in any way.


Join our community Discord | X.com

About

Nerva official agentic CLI.

Resources

License

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 71.7%
  • MDX 24.5%
  • CSS 3.3%
  • HTML 0.2%
  • JavaScript 0.1%
  • Astro 0.1%
  • Other 0.1%