CORAL

Human-Agent-SocietyApache-2.0活跃维护

让 Claude Code、Codex 等编码智能体自动跑科研实验的开源框架,带评分、共享知识库和多智能体进化,省去手动调实验的重复劳动。

Open-source autoresearch powered by autonomous coding agents. Run Claude Code, OpenCode, and Codex with grading, shared knowledge, and multi-agent evolution. Accepted at COLM 2026.

v0.7.21发布于 2026-09-06 09:16 UTC1,128star +5 / 7 天144fork同步于 2026-11-10 17:52 UTC

怎么上手

由 README 提炼,执行前请确认
curl -fsSL https://raw.githubusercontent.com/Human-Agent-Society/CORAL/main/install.sh | sh
coral init my-task
cd my-task && coral start -c task.yaml
硬件要求按 README 说明

README 未说明显存或 GPU 型号要求;部分内置 grader(如 SWE-bench、terminal-bench)需借助 Harbor 在 Docker 容器内评测,此时 CORAL 本身不能跑在 Docker 里(不支持 DinD),需直接在宿主机运行。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

给编码智能体一套多智能体自进化基础设施,让它们并行跑实验、共享知识、持续改进方案

让 Claude Code、Codex 等编码智能体自动跑科研实验的开源框架,带评分、共享知识库和多智能体进化,省去手动调实验的重复劳动。

核心能力

  • 每个智能体在独立 git worktree 中运行,互不干扰
  • 共享状态写入 .coral/public/ 并软链到各 worktree
  • grader 守护进程对每次提交自动打分
  • 用 heartbeat 提示触发 reflect、consolidate、pivot
  • 支持多 island 分区运行与 island 间迁移

容易踩的坑

各智能体运行时(Claude Code、Codex 等)需单独安装并完成认证;旧版 eval/grader.py 自动发现已移除,需通过 grader.entrypoint 指定打包好的 grader;用 Harbor 跑 Docker 评测时不能在 Docker 内运行 CORAL。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.7.21
  1. v0.7.21最新正式版2026-09-06 · 2026-09-06 09:16 UTC

    What's Changed

    Other Changes

    New Contributors

    Full Changelog: https://github.com/Human-Agent-Society/CORAL/compare/v0.7.20...v0.7.21

  2. v0.7.202026-08-30 · 2026-08-30 15:06 UTC
    查看更新说明

    What's Changed

    Other Changes

    Full Changelog: https://github.com/Human-Agent-Society/CORAL/compare/v0.7.19...v0.7.20

  3. v0.7.192026-08-20 · 2026-08-20 16:50 UTC
    查看更新说明

    What's Changed

    Other Changes

    Full Changelog: https://github.com/Human-Agent-Society/CORAL/compare/v0.7.18...v0.7.19

  4. v0.7.182026-08-15 · 2026-08-15 05:11 UTC
    查看更新说明

    What's Changed

    Other Changes

    Full Changelog: https://github.com/Human-Agent-Society/CORAL/compare/v0.7.17...v0.7.18

  5. v0.7.172026-08-11 · 2026-08-11 09:02 UTC
    查看更新说明

    What's Changed

    Other Changes

    New Contributors

    Full Changelog: https://github.com/Human-Agent-Society/CORAL/compare/v0.7.16...v0.7.17

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    CORAL: Open-Source Autoresearch Powered by Autonomous Coding Agents

    Robust, lightweight infrastructure for multi-agent self-evolution, built for autoresearch.

    Paper Blog Apache 2.0 License Python 3.11+

    English | 中文

    CORAL is infrastructure for autonomous AI agent organizations that run experiments, share knowledge, and continuously improve solutions. Give it a codebase and a grader, and CORAL handles the rest: isolated workspaces, safe evaluation, persistent shared state, and multi-agent collaboration. Natively integrated with Claude Code, OpenCode, Codex, Cursor Agent, and Kiro.

    🔥 News

    • [2026-07-08] CORAL has been accepted to COLM 2026! 🎉
    • [2026-06-24] The Docker session now isolates the agent from the grader: each agent runs as an unprivileged user (manager and grader stay root), so agents can no longer read .coral/private/ (grader venv, answer keys) — not even via Bash. On the host this stays opt-in via agents.isolate_user.
    • [2026-06-13] Legacy eval/grader.py grader auto-discovery is deprecated and removed — wire graders via grader.entrypoint pointing at a packaged grader. See the custom grader guide.
    • [2026-06-06] CORAL v0.6.0 adds multi-island runs: partition agents into isolated islands with scoped attempts, notes, skills, heartbeat state, and migration between islands for broader exploration.
    • [2026-04-24] Rubric judges — two reusable LLM-judge grader packages for open-ended tasks (reports, memos, legal analysis). See the Rubric Judges guide.
    • [2026-04-03] Our paper, "CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery," is now out! Check it out on Arxiv.
    • [2026-03-18] CORAL is released! Check out our blog post.

    CORAL demo — autonomous AI coding agents running in parallel git worktrees, sharing knowledge through a common state directory

    Installation

    curl -fsSL https://raw.githubusercontent.com/Human-Agent-Society/CORAL/main/install.sh | sh
    

    Installs the latest coral release globally via uv tool install. Pin a specific release with CORAL_VERSION=<tag> if you need to. See Installation docs for manual install, dev setup, and prerequisites.

    coral init my-task                       # scaffold a task
    cd my-task && coral start -c task.yaml   # launch agents
    

    Plugin: drive CORAL from your own agent

    Prefer to author and run CORAL tasks from inside your own Claude Code or Codex without memorizing the CLI? Install the CORAL plugin — a skills-first bundle (no MCP) that teaches the workflows (coral setup → init/validate → start/status/log) and checks coral is installed on session start.

    Claude Code:

    /plugin marketplace add Human-Agent-Society/CORAL
    /plugin install coral@coral-marketplace
    

    Codex (v0.117.0+):

    codex plugin marketplace add Human-Agent-Society/CORAL
    codex plugin add coral@coral-marketplace
    

    Both pull from this repo's marketplace manifests; the plugin lives under plugin/.

    Quickstart — point CORAL at code you already have. Once installed, open the repo whose code you want to optimize and just ask:

    use coral to optimize this — make sample() in saga/decode.py faster without changing its output
    

    The plugin scaffolds a gitignored .coral_workspace/, drops your code into a seed/, writes a grader for your metric, and loops coral validate until the task is launch-ready — then hands you the coral start command. On Claude Code a coral-task-author subagent does the whole grind autonomously (and a coral-run-doctor triages a stuck run); on any harness the bundled skills walk the same path.

    Skills: coral-quickstart (install → setup → .coral_workspace/), setting-up-coral (runtime bindings), creating-a-coral-task (grader authoring), running-coral-experiments (operate a run). See the Harness Plugin guide or plugin/README.md for agents, the skills-dir alternative, and other harnesses.

    Supported Agents

    Agentagents.runtime
    Claude Code — defaultclaude_code
    Codexcodex
    DeepSeek Harnessdsh
    Cursor Agentcursor
    Kirokiro
    OpenCodeopencode
    Pipi

    Each agent must be installed and authenticated separately. Per-runtime config — including the LiteLLM gateway for custom models — is documented at Agent Runtimes.

    How It Works

    Each agent runs in its own git worktree. Shared state (attempts, notes, skills) lives in .coral/public/ and is symlinked into every worktree — agents see each other's work in real time. A grader daemon scores every commit. The manager interrupts agents with heartbeat prompts (reflect, consolidate, pivot).

    Deeper dive: Concepts · Multi-agent runs · Eval loop

    Examples

    Ready-to-run task configurations in examples/:

    TaskDomainDescription
    circle_packingOptimizationPack 26 circles into a unit square to maximize sum of radii
    erdosMathematicsSolve a math conjecture
    kernel_builderSystemsVLIW SIMD kernel optimization
    kernel_engineeringSystemsGPU kernel optimization
    mnistMLHandwritten digit classification
    spaceship_titanicMLKaggle competition
    stanford_covid_vaccineBio/MLmRNA degradation prediction

    Full catalogue and walkthroughs at Examples docs.

    Development

    # Install dev dependencies
    uv sync --extra dev
    
    # Run tests
    uv run pytest tests/ -v
    
    # Lint & format
    uv run ruff check .
    uv run ruff format .
    

    [!IMPORTANT] Docker requirement: Some built-in graders (e.g. SWE-bench, terminal-bench) use Harbor to run evaluations inside Docker containers. CORAL itself must not run inside Docker in this case, as Docker-in-Docker (DinD) is not supported. Run CORAL directly on the host machine.

    Contributing

    Contributions are welcome — bug reports, new tasks under examples/, new agent runtimes, docs, the lot. Start here:

    • CONTRIBUTING.md — dev setup, branch & commit conventions, PR workflow, test/lint commands.
    • AGENTS.md — rules for AI-assisted contributions (CORAL is itself agent infrastructure, so we expect agent-authored PRs and have a few specific asks).

    For a deeper dive into the codebase, the architecture notes in CLAUDE.md cover the eval loop, .coral/{public,private}/ split, grader daemon, and runtime registry.

    This project is released under the Apache 2.0 LICENSE.

    Citation

    ⭐ If you find CORAL useful, please consider giving us a Star and/or citing it in your work (Please use the official BibTeX below instead of Google Scholar’s auto-generated citation, which may truncate the author list):

    @inproceedings{qu2026coral,
      title={CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery},
      author={Qu, Ao and Zheng, Han and Zhou, Zijian and Yan, Yihao and Tang, Yihong and Ong, Shao Yong and Hong, Fenglu and Zhou, Kaichen and Jiang, Chonghe and Kong, Minwei and Zhu, Jiacheng and Jiang, Xuan and Li, Sirui and Wu, Cathy and Low, Bryan Kian Hsiang and Zhao, Jinhua and Liang, Paul Pu},
      booktitle={Conference on Language Modeling (COLM)},
      year={2026}
    }
    

    Contact Us

    Acknowledgement

    We thank the TNT Accelerator for their generous support of various API credits that have helped during the development of Coral. We would also like to thank many of the inspiring prior works such as OpenEvolve, autoresearch, TTT Discover, etc., that have led to the ideation of Coral.