
sudocode
by sudocode-ai·★ 277·综合分 49
轻量级代理编排开发工具,带有 MCP 服务器集成,支持协作式 AI 开发。
概述
sudocode 是一个基于 TypeScript 的代理编排系统,驻留在您的代码库中,为 AI 编码代理提供上下文管理和任务协调。它实现了四层抽象结构:规范(用户意图)、问题(代理任务)、代理(执行抽象)和工件(状态变化)。该系统提供人类可编辑的 Markdown 格式和机器优化的 JSONL+SQLite 存储方案,并支持自动同步。其 MCP 服务器使 AI 代理能够长期跟踪上下文,并通过 git 原生内存管理系统协作处理复杂需求。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当您需要协调多个 AI 编码智能体并将上下文管理直接集成到 git 工作流中时,选择 sudocode。
什么时候不要选它
如果您更喜欢简单的工具或需要与尚未支持的特定问题跟踪器集成,请不要选择 sudocode,因为它会增加您的工作流程复杂性。
此 server 暴露的工具
从 README 抽取出 12 个工具create_specCreate a new specification in sudocode
list_specsList all specifications in the sudocode system
create_issueCreate a new implementation issue linked to a spec
list_issuesList all issues in the sudocode system
update_specUpdate an existing specification with new requirements
update_issueUpdate an existing issue with new information or status
link_spec_to_issueCreate a bidirectional link between a spec and an issue
execute_issueExecute an issue with a coding agent
create_workflowCreate a workflow to execute multiple issues in topological order
list_agentsList all configured agents in the sudocode system
open_in_editorOpen a spec or issue in the configured editor
get_dependenciesGet dependency graph for specs and issues
说明:Tool names inferred from CLI usage patterns and documentation. The README describes the system's capabilities but doesn't provide a complete API reference. Tool signatures are unknown as they are not explicitly documented.
可对比工具
安装
全局安装 CLI:
npm install -g sudocode初始化 sudocode 项目:
sudocode init对于代理集成(以 Claude Desktop 为例):
- 添加插件:
claude plugin marketplace add sudocode-ai/sudocode - 安装插件:
claude plugin install sudocode
然后启动本地服务器:sudocode server
MCP 服务器配置通常通过 sudocode UI 或 CLI 完成。
FAQ
- 规范(specs)和问题(issues)之间有什么关系?
- 规范代表用户意图和需求(要做什么),而问题是从规范中衍生出的工作项,由代理实现(如何实现)。问题可以使用 [[SPEC-001]] 语法引用特定的规范。
- sudocode 如何处理代理会话之间的上下文持久化?
- sudocode 将上下文存储为 git 跟踪的文件,位于 .sudocode/specs/ 和 .sudocode/issues/ 目录中,同时提供人类可读的 Markdown 和机器优化的 JSONL 格式。这创建了一个版本控制化的记忆系统,可以在会话之间持久保存。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by alexsngai · 2025-11-05
sudocode 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。