Docs · Install · Quick Start · Releases
Single binary. 50+ built-in tools. Terminal-first.
You give nyzhi a task. It reads your codebase, makes edits, runs commands, verifies changes, and reports back -- in a rich TUI or a one-shot CLI run.
curl -fsSL https://get.nyzhi.com | shOther install paths
# Cargo
cargo install nyzhi
# npm
npm install -g nyzhi
# from source
git clone https://github.com/nyzhi-com/code
cd code
cargo build --releaseSelf-update and rollback
nyz update
nyz update --force
nyz update --list-backups
nyz update --rollback latestnyz login openai # OAuth sign-in (PKCE)
nyz # launch TUI
nyz run "summarize this project" # non-interactive run
nyz --continue # resume last session|
OpenAI, Anthropic, Gemini, Cursor, OpenRouter, DeepSeek, Groq, Together, Ollama, Kimi, MiniMax, GLM -- all through one interface.
File ops, git, shell, LSP/AST, semantic search, browser automation, PR tools, MCP servers, verification, and debug instrumentation. |
8 theme presets, 14 accents, command palette, completion, history search, in-session search, export, notifications, and background task controls. Trust modes ( Custom commands, skills, memory, rules, and notepad support keep the agent aligned with your conventions. |
| Provider | Auth | Notes |
|---|---|---|
openai |
API key / OAuth | GPT-5.3 Codex, GPT-5.2 Codex, GPT-5.2 |
anthropic |
API key / OAuth | Claude Opus 4.6, Sonnet 4.6, Haiku 4.5 |
gemini |
API key / OAuth | Gemini 3.1 Pro Preview, 3 Flash, 3 Pro Preview, 2.5 Flash |
cursor |
Cursor local auth | Reads Cursor credentials from local state DB |
openrouter |
API key | OpenAI-compatible |
deepseek |
API key | OpenAI-compatible |
groq |
API key | OpenAI-compatible |
together |
API key | OpenAI-compatible |
ollama |
local/base URL | OpenAI-compatible local runtime |
kimi / kimi-coding |
API key | Moonshot/Kimi endpoints |
minimax / minimax-coding |
API key | MiniMax endpoints |
glm / glm-coding |
API key | Z.ai endpoints |
claude-sdk / codex |
experimental | Stub/agent integration paths |
See docs/providers.md for model tables and context windows.
nyz # interactive TUI
nyz run "<prompt>" # one-shot run
nyz run -i image.png "<prompt>" # one-shot with image
nyz -p openai -m gpt-5.3-codex # set provider/model
nyz -c # continue most recent session
nyz -s "query" # resume by title/ID
nyz login <provider> nyz logout <provider>
nyz whoami nyz config
nyz init nyz mcp add|list|remove
nyz sessions [query] nyz session delete|rename
nyz export <id> nyz replay <id> [--filter]
nyz stats nyz cost [daily|weekly|monthly]
nyz deepinit nyz skills
nyz teams list|show|delete nyz wait
nyz ci-fix [--format] [--commit] nyz update [--rollback]
nyz uninstall [--yes]
- Global:
~/.config/nyzhi/config.toml - Project:
.nyzhi/config.toml - Local:
.nyzhi/config.local.toml
[provider]
default = "openai"
[provider.openai]
model = "gpt-5.3-codex"
[tui]
theme = "dark" # maps to nyzhi-dark
accent = "copper"
[agent]
max_steps = 100
auto_compact_threshold = 0.8
[agent.trust]
mode = "limited" # off | limited | autoedit | full
allow_tools = ["edit", "write"]
allow_paths = ["src/"]
[[agent.hooks]]
event = "after_edit"
command = "cargo fmt -- {file}"
pattern = "*.rs"Project rules are loaded from AGENTS.md / .nyzhi/rules.md / .nyzhi/instructions.md / CLAUDE.md / .cursorrules.
nyzhi (cli)
/ | \
nyzhi-tui nyzhi-core nyzhi-provider
| / \ |
nyzhi-auth nyzhi-config
| Crate | Role |
|---|---|
crates/cli |
CLI entry, command dispatch, mode selection |
crates/core |
Agent runtime, tools, workspace/session/mcp/teams/autopilot |
crates/provider |
Provider trait + model registry + provider impls |
crates/tui |
ratatui app loop, selectors, command UX, streaming UI |
crates/auth |
API key + OAuth + token store + refresh/rotation |
crates/config |
Config schema/defaults + global/project/local merge |
| What | Path | Updated by installer/update? |
|---|---|---|
| Binary | ~/.nyzhi/bin/nyz |
Yes |
| Config | ~/.config/nyzhi/ |
No |
| Data (sessions/tokens/analytics) | ~/.local/share/nyzhi/ |
No |
| Project config | .nyzhi/ |
No |
| Backups | ~/.nyzhi/backups/ |
Managed/pruned |
Full docs: code.nyzhi.com/docs
- Architecture
- Configuration
- Authentication
- Providers
- Tools
- TUI
- MCP
- Sessions
- Teams
- Autopilot
- Hooks
- Commands
- Skills
- Verification
- Routing
- Notifications
- Self-Update
- Memory
- Building
- Releasing
Contributing · Code of Conduct · Support · Security · Issues