GGitHub采集材料
Zero:可控的本地终端编程智能体
发布时间未知 · 北京时间
AI 编程
有实践材料可继续查看
代码仓库安装说明使用说明示例代码
原文与观测指标
1 个来源GGitHub
查看原文 Zero:可控的本地终端编程智能体
Twigpine星标1,749采集时的累计值
每小时增长待观察星标 / 小时 · 观测区间平均值
最近提交10-27 15:29提交时间不是项目发布时间
发布时间:未知 · 首次发现 10-27 15:46 · 北京时间
指标采集:10-27 15:46 · 指标已取得
项目文档有线索安装说明有线索使用说明有线索示例有线索
仅反映文档与示例线索,未实际运行项目。
摘要
Zero 可检查代码仓库、编辑文件和运行命令,适合在终端中处理编程任务;文件写入、Shell 和网络访问受权限及沙箱策略控制。它支持多家模型,也可用 zero exec 运行脚本化任务或接入 CI。
摘要由 AI 生成,请以原文为准。观测历史 · 最近 1 条 展开 / 收起
缺失不计为零;增长只比较同一指标来源的有效记录,按实际间隔折算每小时。上游缓存可能延迟数值更新。
| 采集时间 · 北京时间 | 指标 | 数值 | 来源 | 状态 |
|---|---|---|---|---|
| 10-27 15:46:11 | Star | 1,749 | GitHub 公开页面 | 已取得 |
采集原文 展开 / 收起
zero
The coding agent that answers to you, your model, your machine, your rules.
项目说明 展开 / 收起
A terminal coding agent you own. English | 中文 Zero is an AI coding agent for your local terminal. It can inspect a repository, edit files, run commands, use browser/terminal helpers, and keep durable local sessions while you choose the model and the permission level. zero zero exec "fix the failing test in ./pkg" zero exec --output-format stream-json < turns.jsonl Partners Twigpine Xiaomi MiMo Novita AI Concentrate Exa GMI Cloud Vercel Why Zero Use the model you want. Bring OpenAI, Anthropic, Gemini, Groq, OpenRouter, DeepSeek, Mistral, xAI, Qwen, Kimi, GitHub Models, Ollama, LM Studio, Atomic Chat, or any OpenAI-/Anthropic-compatible endpoint. Stay in control. File writes, shell commands, network access, and out-of-workspace writes go through Zero's permission and sandbox policy. Works in the terminal. The TUI has model/provider pickers, image input, slash commands, live plan/tool rendering, scrollback, themes, and resume/fork support. Works without the TUI. zero exec is scriptable, supports text/JSON/ stream-JSON I/O, isolated worktrees, spec-first runs, and meaningful exit codes for CI. Keeps context local. Sessions are stored on disk, searchable, resumable, and never uploaded as telemetry by Zero. Extensible when you need it. Use MCP servers, skills, plugins, hooks, and specialist subagents from the same CLI. Install npm npm install -g @twigpine/zero zero The npm package is a small wrapper whose platform build (Linux and macOS on x64/arm64, Windows on x64 — including the browser/terminal control helpers) installs as an optional dependency straight from the npm registry — no install scripts, no downloads outside npm. Bun, pnpm, and yarn work the same way with no trust or approval steps. Installs that skip optional dependencies (--omit=optional) still work: the wrapper fetches the binary from the matching GitHub Release whenever it is missing. Windows on ARM runs the x64 build under emulation. See docs/NPM_PACKAGING.md for how the package is put together. Installed Zero as @gitlawb/zero? The package moved to @twigpine/zero in 0.10.0 and the old name gets no further releases. Both packages provide the zero command, so quit any running zero, then remove the old package first: npm uninstall -g @gitlawb/zero npm install -g @twigpine/zero Your config, sessions, and logins are kept; they live outside the package. For Bun, pnpm, and yarn, see docs/INSTALL.md. Install scripts Linux/macOS: curl -fsSL https://raw.githubusercontent.com/Twigpine/zero/main/scripts/install.sh | bash Windows PowerShell: irm https://raw.githubusercontent.com/Twigpine/zero/main/scripts/install.ps1 | iex From source Source builds require Go 1.26.10+. git clone https://github.com/Twigpine/zero.git cd zero go run ./cmd/zero Release installers and the npm wrapper require published GitHub Release assets. If you are testing before the first public release, build from source: go build -o zero ./cmd/zero On Linux, native sandboxing needs Bubblewrap. The main zero binary re-executes itself as the helper when zero-linux-sandbox is absent. A separate helper next to zero or on PATH still takes precedence: go build -o zero-linux-sandbox ./cmd/zero-linux-sandbox # optional go build -o zero-seccomp ./cmd/zero-seccomp # optional compatibility wrapper Put zero on PATH (~/.local/bin is a good default). macOS does not need an extra helper binary. Windows source builds can use the main zero.exe as their sandbox helper; release archives still ship standalone Windows helper executables. More install details: docs/INSTALL.md. First Run Start the TUI: zero The setup wizard helps you pick a provider and model. You can also configure providers from the command line: zero setup zero providers list zero models list zero doctor For API providers, set the matching environment variable before setup or enter the key in the wizard: export OPENAI_API_KEY=sk-... export ANTHROPIC_API_KEY=... export GEMINI_API_KEY=... export AIMLAPI_API_KEY=... export LONGCAT_API_KEY=... export FIREWORKS_API_KEY=... export GMI_API_KEY=... export CONCENTRATE_API_KEY=... export MINIMAX_API_KEY=... export MINIMAXI_API_KEY=... To configure AI/ML API directly, run: zero providers setup aimlapi --set-active To configure Meituan LongCat (LongCat-2.0) directly, run: zero providers setup longcat --set-active To configure Fireworks AI directly, run: zero providers setup fireworks --set-active To configure GMI Cloud directly, run: zero providers setup gmicloud --set-active To configure Concentrate directly, run: zero providers setup concentrate --set-active MiniMax presets use the Anthropic-compatible endpoints for the global and China regions: zero providers add minimax --set-active zero providers add minimaxi-cn --set-active To use the OpenAI-compatible endpoints instead, add a custom compatible profile for the required region: zero providers add custom-openai-compatible \ --name minimax-openai \ --model MiniMax-M3 \ --base-url https://api.minimax.io/v1 \ --api-key-env MINIMAX_API_KEY \ --set-active zero providers add custom-openai-compatible \ --name minimax-cn-openai \ --model MiniMax-M3 \ --base-url https://api.minimaxi.com/v1 \ --api-key-env MINIMAXI_API_KEY \ --set-active For local models, run Ollama, LM Studio, or the Atomic Chat desktop app, then use zero setup or zero providers detect. For Atomic Chat, load a model and enable its local OpenAI-compatible API (default http://127.0.0.1:1337/v1). Choose atomic-chat-local; detection includes the loaded model ID in the add command. If no usable ID is discovered, load a model and retry. Model IDs requiring shell-specific quoting use interactive setup. Daily Use Interactive TUI zero Useful controls: Control Action Enter send the prompt / open slash-command suggestions Ctrl+X then letter common slash commands (e.g. m → /model; Ctrl+X ? for full list) Ctrl+P / Ctrl+N previous / next item in menus (arrows still work) Shift+Tab cycle permission mode Ctrl+B show/hide the sidebar Ctrl+C cancel, exit, or return from a /btw conversation C