CR

cenrax/researchswarm

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

25 stars 质量 47 趋势 11

一个代理系统,能读取研究论文(本地PDF或arXiv)、生成实施计划、编写代码并审核——所有这些都由基于Claude的中央Director代理协调......

概览

一个代理系统,能够阅读研究论文(本地PDF或arXiv)、生成实施计划、编写代码并审核——所有这些都由基于 的中央Director代理协调。 https://drive.google.com/file/d/1_X-twfbmvwykQ3i8JyU2HN_gqcr0T0-S/view?usp=sharing 你给系统一个(例如,“构建一个变换器文本分类器”)和。导向器运行一个五阶段流水线: - Python 3.11+ - 已安装的 Claude 代码 CLI(claude --version)- Anthropic API 密钥 - Docker 桌面(仅限使用 arXiv 模式时) 系统总是自动选择。 Director为每个步骤提供彩色、带时间戳的日志: 颜色编码:- — 导演消息 - — 子代理生成 - — 工具调用 - — 工具结果/成功完成 - — 任务进度 - — 错误 director.py 的can_use_tool回电控制了自动批准的内容:

概述(AI 翻译)

一个代理系统,能读取研究论文(本地PDF或arXiv)、生成实施计划、编写代码并审核——所有这些都由基于Claude代理SDK的中央Director代理进行协调。

文物

用研究群重写了C语言中的变换器

工作视频

https://drive.google.com/file/d/1_X-twfbmvwykQ3i8JyU2HN_gqcr0T0-S/view?usp=sharing

建筑

管道

工作原理

你给系统一个目标(例如,“构建一个变换器文本分类器”)和研究论文。主任运行一个五阶段的流水线:

阶段 代理 它的作用 输出
1. 阅读 论文阅读器或ArXiv阅读器 阅读并总结论文 output/summaries/
2. 计划 规划者 制定逐步实施计划 output/plans/plan.md
3. 代码 ** 程序员** 编写并进行沙盒测试代码 output/code/
4. 评审 评审评审规范的正确性和论文对齐 output/reviews/review.md
5. 交付 导演 呈现最终摘要 终端

每个阶段之间都需要用户批准。

两种输入模式

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Research Swarm - Paper-to-Production AI Pipeline

An agentic system that reads research papers (local PDFs or arXiv), generates implementation plans, writes code, and reviews it — all orchestrated by a central Director agent built on the Claude Agent SDK.

Artifacts

Rewrote transformer in C using research swarm

Working video

https://drive.google.com/file/d/1_X-twfbmvwykQ3i8JyU2HN_gqcr0T0-S/view?usp=sharing

Architecture

graph TB
    User([User: Objective + Papers]) --> Director

    subgraph Orchestration
        Director[Director AgentOpus - Orchestrator]
    end

    subgraph "Stage 1: Read"
        Director -->|local files| PaperReader[Paper ReaderSonnet]
        Director -->|arXiv IDs| ArxivReader[ArXiv ReaderSonnet + MCP]
    end

    subgraph "Stage 2: Plan"
        Director --> Planner[PlannerOpus]
    end

    subgraph "Stage 3: Code"
        Director --> Coder[CoderOpus + Sandbox]
    end

    subgraph "Stage 4: Review"
        Director --> Reviewer[ReviewerSonnet]
    end

    PaperReader -->|summaries| Approval1{User Approval}
    ArxivReader -->|summaries| Approval1
    Approval1 --> Planner
    Planner -->|plan| Approval2{User Approval}
    Approval2 --> Coder
    Coder -->|code| Approval3{User Approval}
    Approval3 --> Reviewer
    Reviewer -->|review| Approval4{User Approval}
    Approval4 --> Deliver([Final Delivery])

    style Director fill:#6366f1,color:#fff
    style PaperReader fill:#06b6d4,color:#fff
    style ArxivReader fill:#06b6d4,color:#fff
    style Planner fill:#8b5cf6,color:#fff
    style Coder fill:#8b5cf6,color:#fff
    style Reviewer fill:#06b6d4,color:#fff
    style Approval1 fill:#f59e0b,color:#000
    style Approval2 fill:#f59e0b,color:#000
    style Approval3 fill:#f59e0b,color:#000
    style Approval4 fill:#f59e0b,color:#000

Pipeline

sequenceDiagram
    participant U as User
    participant D as Director
    participant R as Paper Reader
    participant P as Planner
    participant C as Coder
    participant V as Reviewer

    U->>D: Objective + Papers (PDF/MD or arXiv IDs)
    D->>R: Read & summarize papers
    R-->>D: output/summaries/
    D->>U: Here's what I found. Proceed?
    U->>D: Yes, focus on technique X

    D->>P: Create implementation plan
    P-->>D: output/plans/plan.md
    D->>U: Here's the plan. Approve?
    U->>D: Approved

    D->>C: Implement the plan
    C->>C: Write code + sandbox test each module
    C-->>D: output/code/
    D->>U: Code ready. Review?
    U->>D: Yes

    D->>V: Review code vs paper
    V-->>D: output/reviews/review.md
    D->>U: Review: PASS (score 8/10)

How It Works

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add cenrax/researchswarm
新手?先看 mcpskill.org 教程 →