Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Terminal-first AI workspace with coding agents, workflows and built-in web UI.
Jump to setup instructionsFetched from the repository for this visit.
An extremely restrained coding + tasks CLI.
Every platform. Every terminal. Minimal by design.
English · 简体中文 · Download · Web UI · Operator Guide · Deployment
下载
Desktop installers for v0.10.1. The desktop app bundles its own runtime, so these installs do not need Node.js. The npm CLI (npm install -g codemini-cli) is separate and still needs Node.js 22.19 or newer.
Buttons below point at the v0.10.1 GitHub Release assets. They start working when that release is published. The asset names are stable: Codemini-Setup-<version>-win-<arch>.exe and Codemini-<version>-mac-<arch>.dmg.
桌面安装包对应 v0.10.1。安装包自带运行时,不需要另外安装 Node.js。npm CLI(npm install -g codemini-cli)是另一条安装路径,仍然需要 Node.js 22.19 或更高版本。
下面的按钮指向 v0.10.1 的 GitHub Release 附件,发布之后即可下载。文件名保持为 Codemini-Setup-<version>-win-<arch>.exe 和 Codemini-<version>-mac-<arch>.dmg。
Unsigned builds: Windows SmartScreen and macOS Gatekeeper warn until signing certificates are added. Details are in DESKTOP.md. All releases: github.com/havingautism/Codemini-CLI/releases.
未签名构建在补上证书之前,Windows SmartScreen 和 macOS Gatekeeper 会提示风险。说明见 DESKTOP.md。全部发布页:Releases。
Codemini is a coding + tasks CLI for Windows, macOS, and Linux. It talks to OpenAI-compatible and Anthropic APIs, and keeps sessions, project state, skills, memories, and indexes on your machine. Model requests go only to the provider you configure.
It can refactor a codebase, drive a Git workflow, run a multi-step pipeline, research a technical question, or process local files.
Codemini provides two interfaces powered by the same runtime:
Codemini keeps the prompt small instead of making every feature part of every turn.
SKILL.md is loaded only when a skill is selected.Requires Node.js 22.19 or newer.
npm install -g codemini-cli
codemini config set gateway.base_url http://127.0.0.1:8000/v1
codemini config set gateway.api_key your_api_key
codemini config set model.name your_model_name
codemini doctor
codemini
Start the Web UI instead:
codemini --web
Or choose a project and port explicitly:
codemini web --project . --port 3456
codemini run turns a natural-language request into a one-off local workflow.
# Interactive session
codemini "Summarize the recent Git history and update CHANGELOG.md"
# One-off task
codemini run "Find stale dependencies and explain the upgrade risks"
# Role-constrained harness
codemini run --harness reviewer "Review the current changes"
# Sequential pipeline
codemini run --pipeline "Run tests, fix failures, and summarize the result"
| Command | Purpose |
|---|---|
codemini / codemini chat | Start an interactive terminal session. |
codemini run <task> | Run a one-off task. |
codemini run --approval auto <task> | Run unattended with the LLM command review (low/medium risk run, high risk is refused). The default review mode refuses every shell command when nobody can approve. |
codemini run --harness <role> <task> | Run with a specific harness role. |
codemini run --pipeline <task> | Run a staged workflow with artifact passing. |
codemini --web / codemini web | Start the local Web UI. |
codemini skill ... | List, install, inspect, enable, disable, or reindex skills. |
codemini config ... | Read or update configuration. |
codemini doctor | Check the local runtime and configured provider. |
| What | Why it matters |
|---|---|
| Project Intelligence | File and symbol indexing, Tree-sitter AST queries, dependency graphs, and project knowledge graphs. |
| Structured Tool Runtime | Validated tool schemas, deferred tools, parallel calls, plans, todos, subagents, and background tasks. |
| OS sandbox | Host confinement on every platform: Seatbelt on macOS, Landlock or bubblewrap on Linux, and Windows Sandbox (srt-win) with PowerShell. No container image. |
| Approvals & Checkpoints | Risk-aware approvals, file-change previews, Git-aware workflows, and checkpoints for non-Git projects. |
| Terminal TUI | Interactive chat, streaming tool output, markdown rendering, and command shortcuts. |
| Web UI | Concurrent sessions, file browsing, diffs, real PTY terminals, syntax-highlighted code, research, and configuration. |
| Deep Research | Parallel scouts, evidence collection, artifacts, research library, Scrapbook, and resource library. |
| Skills, Hooks & MCP | Reusable workflows, Claude-compatible hooks, hook profiles, and external MCP servers. |
| Memory & Self-Evolution | Capture, Dream, and Reflect turn useful work into curated memory and reusable skills. |
| Souls | Change expression and tone without changing execution policy. |
| Local Persistence | Durable sessions, project state, indexes, usage data, and recovery metadata. |
| Provider Flexibility | OpenAI-compatible and Anthropic providers, model-level reasoning controls, and an optional fast model. |
When the sandbox is enabled, Codemini runs commands on the host under OS confinement. macOS uses Seatbelt. Linux requires bwrap and socat to enforce the default network policy and can use the npm Landlock launcher for filesystem confinement when network access is allowed. Windows uses the bundled srt-win helper from @anthropic-ai/sandbox-runtime. Nothing pulls a container image.
sandbox.network is allow-all or a command is approved with network access.workspace-write mode.npx @anthropic-ai/sandbox-runtime windows-install. When the startup probe finds the sandbox unavailable, automatic workspace-write mode can select host PowerShell in Review or Auto approval mode. Read-only mode and an explicitly required sandbox require confinement.When the sandbox is explicitly disabled:
| Host | Shell |
|---|---|
| Windows | Native PowerShell and the original host tools |
| macOS / Linux | Native Bash and the original host tools |
Available modes:
codemini config set sandbox.mode read-only
codemini config set sandbox.mode workspace-write
codemini config set sandbox.mode danger-full-access
codemini config set sandbox.enabled false
codemini config set sandbox.backend auto
Approval mode full_access skips model review and manual confirmation. The selected sandbox limits still apply.
Skills are reusable, reviewable workflows. Codemini keeps lightweight routing metadata in global, coding, and daily indexes, then loads the complete skill only when needed.
codemini skill list
codemini skill install <source>
codemini skill inspect <name>
codemini skill enable <name>
codemini skill disable <name>
codemini skill reindex
Skills can be always active, selected by the agent, or invoked manually. Claude-compatible hooks and Hook Profiles can observe or gate lifecycle events, while MCP connects external tools without hard-coding them into the core runtime.
The terminal and browser use the same session engine.
codemini
codemini --web
The Web UI includes concurrent sessions, file browsing and previews, Git changes, a real PTY terminal, syntax-highlighted code, Deep Research, Scrapbook, resource management, skills, hooks, MCP, Souls, memories, and settings.
Useful Web UI flags include --port, --project, --session, --model, and --no-open. The server binds 127.0.0.1 by default; pass --host 0.0.0.0 to expose it on the LAN (no auth — do this only on trusted networks).
| Command | Purpose |
|---|---|
/inbox | Review pending memory evidence. |
/dream | Consolidate useful evidence into durable memory. |
/reflect | Convert a successful workflow into a reviewable skill. |
/compact | Compress the current conversation context. |
TUI slash commands include /coding, /daily, /tools, /history, and /help. The Web UI also exposes memory actions (Dream, Compact, Capture, Reflect) in the input bar, and a Memory panel with Inbox and Library tabs.
The inbox is temporary by design. Dream promotes useful evidence; Reflect turns a repeatable workflow into an explicit tool that can be inspected and reused.
Codemini incrementally indexes project files and symbols. Tree-sitter-based parsing supports precise AST and symbol queries, while dependency and knowledge graphs connect callers, files, and architectural areas and support change-impact queries before edits.
Deep Research coordinates focused scouts, collects evidence, and produces reviewable artifacts. The Web UI adds a Research library, Scrapbook, and resource library so sources and findings remain attached to the task instead of disappearing into chat history.
| Scope | Path |
|---|---|
| Project state | <project>/.codemini/ |
| Windows global state | %APPDATA%\codemini-global\ |
| macOS global state | ~/Library/Preferences/codemini-global/ |
| Linux with XDG | $XDG_CONFIG_HOME/codemini-global/ |
| Linux fallback | ~/.config/codemini-global/ |
Set CODEMINI_GLOBAL_DIR to override the global base directory.
codemini doctor detects optional local accelerators such as fff-mcp and falls back to built-in search when they are unavailable. search.fff_command may name a PATH program or an absolute executable outside the workspace; relative and workspace paths are rejected.
For JavaScript-heavy web pages, install Chrome or Edge. web_fetch uses that browser through playwright-core and does not download Chromium. Set browser.executable_path when the browser is not on the default path. An existing full Playwright Chromium install is used only when Chrome and Edge are missing.
npm install
npm test
npm start
Build the bundled Web UI:
npm run build:web
Codemini 是一款coding + tasks CLI,支持 Windows、macOS 和 Linux,兼容 OpenAI-compatible 与 Anthropic API。会话、项目状态、Skills、Memory 与索引都保存在本机,只有模型请求会发送到你配置的服务商。
它可以重构代码、驱动 Git 工作流、运行多步骤流水线、研究技术问题,也可以处理本地文件。
Codemini 提供两个共享同一运行时的界面:
Codemini 不会让每项功能都进入每次提示词,而是保持提示词精简。
SKILL.md。需要 Node.js 22.19 或更高版本。
npm install -g codemini-cli
codemini config set gateway.base_url http://127.0.0.1:8000/v1
codemini config set gateway.api_key 你的_API_Key
codemini config set model.name 你的模型名称
codemini doctor
codemini
启动 Web UI:
codemini --web
也可以明确指定项目和端口:
codemini web --project . --port 3456
codemini run 可以把自然语言请求变成一次性本地工作流。
# 交互式会话
codemini "总结最近的 Git 历史并更新 CHANGELOG.md"
# 一次性任务
codemini run "查找过期依赖并说明升级风险"
# 指定 Harness 角色
codemini run --harness reviewer "审查当前改动"
# 分阶段流水线
codemini run --pipeline "运行测试、修复失败并总结结果"
| 命令 | 用途 |
|---|---|
codemini / codemini chat | 启动交互式终端会话。 |
codemini run <task> | 执行一次性任务。 |
codemini run --harness <role> <task> | 使用指定 Harness 角色执行任务。 |
codemini run --pipeline <task> | 执行带产物传递的分阶段工作流。 |
codemini --web / codemini web | 启动本地 Web UI。 |
codemini skill ... | 查看、安装、检查、启用、禁用或重建 Skills 索引。 |
codemini config ... | 读取或更新配置。 |
codemini doctor | 检查本地运行时与模型服务。 |
| 功能 | 说明 |
|---|---|
| 项目智能 | 文件与符号索引、Tree-sitter AST 查询、依赖图与项目知识图。 |
| 结构化工具运行时 | 工具 schema 校验、延迟工具、并行调用、计划、Todo、子 Agent 与后台任务。 |
| 系统沙箱 | 三端都在宿主上隔离,不拉容器镜像:macOS 用 Seatbelt,Linux 用 Landlock 或 bubblewrap,Windows 用 srt-win 跑 PowerShell。 |
| 审批与 Checkpoint | 风险审批、文件变更预览、Git 工作流与非 Git 项目的 checkpoint。 |
| 终端 TUI | 交互式聊天、流式工具输出、Markdown 渲染与命令快捷方式。 |
| Web UI | 并发会话、文件浏览、diff、真实 PTY 终端、代码语法高亮、研究与配置。 |
| Deep Research | 并行 scouts、证据收集、artifact、研究库、Scrapbook 与资源库。 |
| Skills、Hooks 与 MCP | 可复用工作流、Claude-compatible Hooks、Hook Profiles 与外部 MCP 服务。 |
| Memory 与自我进化 | Capture、Dream 和 Reflect 将工作沉淀为记忆与可复用 Skills。 |
| Souls | 只改变表达风格,不改变执行策略。 |
| 本地持久化 | 持久会话、项目状态、索引、用量与恢复元数据。 |
| 模型接入 | OpenAI-compatible 与 Anthropic provider、reasoning 控制和可选 fast model。 |
开启沙箱后,Codemini 在宿主上做系统级隔离。macOS 使用 Seatbelt。Linux 的默认网络策略依赖 bwrap 和 socat,允许联网的命令可以使用 npm 提供的 Landlock 限制文件系统访问。Windows 使用 @anthropic-ai/sandbox-runtime 自带的 srt-win。
sandbox.network 设为 allow-all,或单条命令获批网络访问时才放行。workspace-write 模式下,宿主项目目录是可写工作区。npx @anthropic-ai/sandbox-runtime windows-install。启动探测发现沙箱不可用时,自动启用的工作区可写模式可以在「审阅」或「自动」审批下选择本机 PowerShell。只读模式和显式开启的沙箱要求系统隔离。明确关闭沙箱后:
| 宿主系统 | Shell |
|---|---|
| Windows | 原生 PowerShell 与原版宿主工具 |
| macOS / Linux | 原生 Bash 与原版宿主工具 |
可用模式:
codemini config set sandbox.mode read-only
codemini config set sandbox.mode workspace-write
codemini config set sandbox.mode danger-full-access
codemini config set sandbox.enabled false
codemini config set sandbox.backend auto
审批模式 full_access 跳过模型审阅和人工确认,执行仍受所选沙箱权限约束。
Skills 是可复用、可审阅的工作流。Codemini 将轻量路由元数据保存在 global、coding 和 daily 索引中,只在需要时加载完整 Skill。
codemini skill list
codemini skill install <source>
codemini skill inspect <name>
codemini skill enable <name>
codemini skill disable <name>
codemini skill reindex
Skills 可以始终启用、由 Agent 选择或手动调用。Claude-compatible Hooks 与 Hook Profiles 可以观察或拦截生命周期事件,MCP 则用于连接外部工具,而不需要把它们写死在核心运行时中。
终端与浏览器使用同一套会话引擎。
codemini
codemini --web
Web UI 包含并发会话、文件浏览与预览、Git 变更、真实 PTY 终端、代码语法高亮、Deep Research、Scrapbook、资源管理、Skills、Hooks、MCP、Souls、Memory 与设置。
常用 Web UI 参数包括 --port、--project、--session、--model 和 --no-open。服务器默认绑定 127.0.0.1;传入 --host 0.0.0.0 可暴露到局域网(无鉴权,仅限可信网络)。
| 命令 | 用途 |
|---|---|
/inbox | 查看待整理的记忆证据。 |
/dream | 将有用证据整理成长期记忆。 |
/reflect | 将成功工作流转化为可审阅的 Skill。 |
/compact | 压缩当前会话上下文。 |
TUI 斜杠命令还包括 /coding、/daily、/tools、/history 与 /help。Web UI 在输入栏也提供记忆动作(Dream、Compact、Capture、Reflect),并设有带 Inbox 与 Library 标签的 Memory 面板。
Inbox 被设计为临时区域。Dream 负责晋升有价值的证据;Reflect 将可重复的工作流变成可检查、可复用的明确工具。
Codemini 会增量索引项目文件与符号。基于 Tree-sitter 的解析提供精确 AST 和符号查询,依赖图与知识图则连接调用方、文件和架构区域,并支持在修改前进行变更影响查询。
Deep Research 会协调多个聚焦 scout、收集证据并生成可审阅 artifact。Web UI 提供研究库、Scrapbook 与资源库,让来源和结论继续附着在任务上,而不是消失在聊天记录里。
| 范围 | 路径 |
|---|---|
| 项目状态 | <project>/.codemini/ |
| Windows 全局状态 | %APPDATA%\codemini-global\ |
| macOS 全局状态 | ~/Library/Preferences/codemini-global/ |
| 启用 XDG 的 Linux | $XDG_CONFIG_HOME/codemini-global/ |
| Linux 回退路径 | ~/.config/codemini-global/ |
通过 CODEMINI_GLOBAL_DIR 可以覆盖全局基础目录。
codemini doctor 会检测 fff-mcp 等本地可选加速器;不可用时自动回退到内置搜索。search.fff_command 只能是 PATH 中的程序名,或工作区之外的绝对路径;相对路径和工作区内的文件会被拒绝。
需要渲染 JavaScript 重度网页时,安装 Chrome 或 Edge。web_fetch 通过 playwright-core 使用本机浏览器,安装依赖时不会下载 Chromium。浏览器不在默认路径时设置 browser.executable_path。只有找不到 Chrome 和 Edge 时,才会使用已经安装好的完整 Playwright Chromium。
npm install
npm test
npm start
构建 Web UI:
npm run build:web
GitHub checked 183h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.