AI Skill Hub 强烈推荐:bernstein MCP工具 是一款优质的AI工具。AI 综合评分 8.0 分,在同类工具中表现稳健。如果你正在寻找可靠的AI工具解决方案,这是一个值得深入了解的选择。
bernstein MCP工具 是一款基于 Python 开发的开源工具,专注于 多智能体、MCP协议、代码生成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
bernstein MCP工具 是一款基于 Python 开发的开源工具,专注于 多智能体、MCP协议、代码生成 等核心功能。作为 GitHub 开源项目,它拥有活跃的社区支持和持续的版本迭代,代码完全透明可审计,支持本地部署以保护数据隐私。无论是个人使用还是集成到企业工作流,都能提供稳定可靠的解决方案。
# 方式一:pip 安装(推荐)
pip install bernstein
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install bernstein
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/sipyourdrink-ltd/bernstein
cd bernstein
pip install -e .
# 验证安装
python -c "import bernstein; print('安装成功')"
# 命令行使用
bernstein --help
# 基本用法
bernstein input_file -o output_file
# Python 代码中调用
import bernstein
# 示例
result = bernstein.process("input")
print(result)
# bernstein 配置文件示例(config.yml) app: name: "bernstein" debug: false log_level: "INFO" # 运行时指定配置文件 bernstein --config config.yml # 或通过环境变量配置 export BERNSTEIN_API_KEY="your-key" export BERNSTEIN_OUTPUT_DIR="./output"
<picture> <source media="(prefers-color-scheme: dark)" srcset="docs/assets/logo-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="docs/assets/logo-light.svg"> <img alt="Bernstein" src="docs/assets/logo-light.svg" width="340"> </picture>
<br>
"To achieve great things, two things are needed: a plan and not quite enough time." - Leonard Bernstein
</div>
Bernstein ships parallel execution + worktree isolation + a janitor that gates merges on tests/lint/types, signed lineage records, MCP server mode, an HMAC-SHA256 audit chain, and 44 CLI adapters out of the box. Pluggable sandbox backends (worktree, Docker, E2B, Modal), pluggable artifact sinks (local, S3, GCS, Azure Blob, R2), progressive-disclosure skill packs, and a lethal-trifecta capability gate round it out.
Full feature matrix: docs/reference/FEATURE_MATRIX.md. Recent features: docs/whats-new.md.
Bernstein deliberately uses no neural embeddings, no vector databases, and no external embedding APIs. There are two retrieval/caching layers, both keyword/lexical:
core/knowledge/rag.py): SQLite FTS5 with BM25 ranking and AST-aware chunking for Python files.core/knowledge/semantic_cache.py): TF (term-frequency) cosine similarity over word counts, not learned embeddings.If you need real semantic retrieval (vector DB, neural embeddings), wire it yourself via the retrieval role/skill in templates/; nothing in core performs vector search.
<details> <summary>More awesome-lists, MCP catalogs, and prior-art citations</summary>
Awesome lists: Jenqyang/Awesome-AI-Agents, jamesmurdza/awesome-ai-devtools, jim-schwoebel/awesome_ai_agents, Piebald-AI/awesome-gemini-cli, ComposioHQ/awesome-codex-skills, punkpeye/awesome-mcp-servers, jxzhangjhu/Awesome-LLM-RAG, rohitg00/awesome-claude-code-toolkit, numtide/llm-agents.nix, andyrewlee/awesome-agent-orchestrators, bradAGI/awesome-cli-coding-agents, milisp/awesome-codex-cli, yaolifeng0629/Awesome-independent-tools, caramaschiHG/awesome-ai-agents-2026, ai-for-developers/awesome-vibe-coding, taishi-i/awesome-ChatGPT-repositories, eudk/awesome-ai-tools, killop/anything_about_game, vinta/awesome-python, Zijian-Ni/awesome-ai-agents-2026, rohitg00/awesome-devops-mcp-servers, Glama MCP Catalog. Mirrors: icopy-site/awesome, icopy-site/awesome-cn, trackawesomelist/trackawesomelist.
Prior-art citations by peer projects: mkb23/overcode, Vintersong/NOVA-Cognition-Framework, AJV009/drupal-contrib-workbench, danielvaughan/codex-blog.
Directories: AlternativeTo.
</details>
pipx install bernstein
bernstein init
bernstein run -g "fix the failing test in tests/test_foo.py"
See installed integrations: bernstein integrations list --installed.
curl -fsSL https://bernstein.run/install.sh | sh # macOS / Linux one-liner
irm https://bernstein.run/install.ps1 | iex # Windows PowerShell
pip install bernstein # pip
uv tool install bernstein # uv
brew tap chernistry/tap && brew install bernstein # Homebrew
See the full install matrix for dnf copr, npx, optional extras, and the wheelhouse path for air-gapped sites.
| Method | Command |
|---|---|
| **One-liner (macOS / Linux)** | curl -fsSL https://bernstein.run/install.sh \| sh |
| **One-liner (Windows)** | irm https://bernstein.run/install.ps1 \| iex |
| **pip** | pip install bernstein |
| **pipx** | pipx install bernstein |
| **uv** | uv tool install bernstein |
| **Homebrew** | brew tap chernistry/tap && brew install bernstein |
| **Fedora / RHEL** | sudo dnf copr enable alexchernysh/bernstein && sudo dnf install bernstein |
| **npm** (wrapper) | npx bernstein-orchestrator |
| **Docker (GHCR)** | docker run --rm -v "$PWD:/work" -w /work -e ANTHROPIC_API_KEY ghcr.io/sipyourdrink-ltd/bernstein:latest run -g "fix tests/test_foo.py" |
The one-liner scripts check for Python 3.12+, bootstrap pipx when it's missing, fix PATH for the current session, and install (or upgrade) bernstein. Script sources: install.sh · install.ps1.
--profile airgap to deny outbound by default. See Air-gap installation.cd your-project
bernstein init # creates .sdd/ workspace + bernstein.yaml
bernstein -g "Add rate limiting" # agents spawn, work in parallel, verify, exit
bernstein live # watch progress in the TUI dashboard
bernstein stop # graceful shutdown with drain
For multi-stage projects, define a YAML plan:
bernstein run plan.yaml # skips LLM planning, goes straight to execution
bernstein run --dry-run plan.yaml # preview tasks and estimated cost
When bernstein run -g "<goal>" is too coarse-grained, bernstein workflow runs a declarative DAG of agent / command / loop nodes. Manifests are plain YAML, validated up-front, dispatched through the same AgentSpawner the rest of Bernstein uses.
bernstein workflow list # bundled + user-installed
bernstein workflow run idea-to-pr -g "Add JWT auth"
bernstein workflow init my-flow # scaffold a starter manifest
bernstein workflow validate path/to/flow.yaml
Stock workflows shipping in the wheel: idea-to-pr, refactor-with-tests, security-review, doc-update, dependency-bump, hot-fix. Loop nodes re-fire until a bash predicate exits 0. fresh_context: true mints a new agent session per iteration. Per-step CLI/model routing: docs/workflows/per-step-routing.md.
Provider SDKs are optional so the base install stays lean.
| Extra | Enables |
|---|---|
bernstein[openai] | OpenAI Agents SDK v2 adapter (openai_agents) |
bernstein[docker] | Docker sandbox backend |
bernstein[e2b] | [E2B](https://e2b.dev) microVM sandbox backend (needs E2B_API_KEY) |
bernstein[modal] | [Modal](https://modal.com) sandbox backend, optional GPU (needs MODAL_TOKEN_ID / MODAL_TOKEN_SECRET) |
bernstein[s3] | S3 artifact sink (via boto3) |
bernstein[gcs] | Google Cloud Storage artifact sink |
bernstein[azure] | Azure Blob artifact sink |
bernstein[r2] | Cloudflare R2 artifact sink (S3-compatible boto3) |
bernstein[grpc] | gRPC bridge |
bernstein[k8s] | Kubernetes integrations |
Combine extras with brackets, e.g. pip install 'bernstein[openai,docker,s3]'.
Editor extensions: VS Marketplace · Open VSX
website · docs · install · first run · glossary · limitations · sponsor
</div>
---
Bernstein is a deterministic Python scheduler that runs a crew of CLI coding agents (Claude Code, Codex, Gemini CLI, and 40 more) against a single goal in parallel git worktrees, with an HMAC-signed audit chain over every step.
Closest neighbours in this category live in docs/compare/README.md. What Bernstein does well is the auditability surface: HMAC-chained audit, signed agent cards, per-artefact lineage, air-gap deploy profile, plus the widest CLI adapter coverage.
---
Bernstein 是一个旨在实现高效工程自动化的智能工具。正如其座右铭所言,它通过严密的计划与高效的执行,帮助开发者在有限的时间内完成伟大的工程目标。它不仅是一个工具,更是开发者在复杂任务中的可靠伙伴。
Bernstein 具备强大的工程能力,支持并行执行、Worktree 隔离以及自动化的测试/Lint/类型检查门禁(Janitor)。它提供 MCP server 模式、HMAC-SHA256 审计链以及 44 种内置 CLI 适配器。通过可插拔的 Sandbox 后端(如 Docker、E2B、Modal)和 Artifact 存储后端(如 S3、GCS、R2),实现了极高的灵活性。值得注意的是,其核心检索机制不依赖向量数据库,而是采用基于 SQLite FTS5 和 BM25 算法的关键词检索,确保了代码库 RAG 的高效与精准。
Bernstein 支持多种快速安装方式,确保开发者能在 30 秒内完成部署。对于 macOS/Linux 用户,可以使用 curl 一键安装;Windows 用户可通过 PowerShell 脚本安装。此外,它完美兼容 pip、pipx、uv 等 Python 包管理工具,并支持通过 Homebrew 进行安装。针对内网隔离(Air-gapped)环境,也提供了完整的 Wheelhouse 路径方案,满足企业级部署需求。
Bernstein 的使用场景非常广泛,从前线工程部署、自我演进项目到 CI 舰队自动化均能胜任。开发者可以通过 `bernstein init` 初始化工作区,使用 `bernstein -g "<goal>"` 直接下达指令,让 Agent 并行工作并自动验证结果。对于需要监控进度的任务,可以使用 `bernstein live` 进入 TUI Dashboard 实时查看。若需执行复杂的多阶段任务,可以通过定义 YAML 计划文件,跳过 LLM 规划阶段直接进入执行流程。
对于更精细化的任务控制,Bernstein 提供了基于 YAML 的工作流清单(Workflow Manifests)。当简单的指令无法满足需求时,可以使用 `bernstein workflow` 来运行声明式的 DAG(有向无环图),其中包含 Agent、命令和循环节点。所有清单均经过预先验证,并通过统一的 AgentSpawner 进行调度,确保了复杂自动化流程的可预测性与稳定性。
Bernstein 提供确定性的多 Agent CLI 编排能力,通过高度集成的接口实现自动化任务流。其架构设计支持通过可选的 Provider SDK 进行扩展,例如安装 `bernstein[openai]` 以启用 OpenAI Agents SDK v2 适配器,或安装 `bernstein[docker]`、`bernstein[e2b]`、`bernstein[modal]` 来切换不同的沙箱后端,从而构建高度定制化的 AI 驱动型开发环境。
aiskill88点评:多智能体编排的专业级工具,审计级质量控制,MCP生态集成深度较好,适合高阶AI工程师。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。
总体来看,bernstein MCP工具 是一款质量优秀的AI工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | bernstein |
| 原始描述 | 开源MCP工具:Audit-grade multi-agent orchestration for CLI coding agents (Claude Code, Codex,。⭐396 · Python |
| Topics | 多智能体MCP协议代码生成编排框架Python |
| GitHub | https://github.com/sipyourdrink-ltd/bernstein |
| License | Apache-2.0 |
| 语言 | Python |
收录时间:2026-05-18 · 更新时间:2026-05-19 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。