CORAL is a robust, lightweight infrastructure for multi-agent autonomous self-evolution, built for autoresearch. Works with Claude Code, Codex, Cursor, OpenCode, Kiro, and more.
# Add to your Claude Code skills
git clone https://github.com/Human-Agent-Society/CORALLast scanned: 5/10/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-10T06:35:04.502Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}CORAL is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Human-Agent-Society. CORAL is a robust, lightweight infrastructure for multi-agent autonomous self-evolution, built for autoresearch. Works with Claude Code, Codex, Cursor, OpenCode, Kiro, and more. It has 772 GitHub stars.
Yes. CORAL passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/Human-Agent-Society/CORAL" and add it to your Claude Code skills directory (see the Installation section above).
CORAL is primarily written in Python. It is open-source under Human-Agent-Society on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh CORAL against similar tools.
No comments yet. Be the first to share your thoughts!
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.
.coral/private/ (grader venv, answer keys) — not even via Bash. On the host this stays opt-in via agents.isolate_user.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.
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
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.
| Agent | agents.runtime |
|---|---|
| Claude Code — default | claude_code |
| Codex | codex |
| Cursor Agent | cursor |
| Kiro | kiro |
| OpenCode | opencode |
Each agent must be installed and authenticated separately. Per-runtime config — including the LiteLLM gateway for custom models — is documented at Agent Runtimes.
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
Ready-to-run task configurations in examples/:
| Task | Domain | Description |
|---|---|---|
| circle_packing | Optimization | Pack 26 circles into a unit square to maximize sum of radii |
| erdos | Mathematics | Solve a math conjecture |
| kernel_builder | Systems | VLIW SIMD kernel optimization |
| kernel_engineering | Systems | GPU kernel optimization |
| mnist | ML | Handwritten digit classification |
| spaceship_titanic | ML | Kaggle competition |
| stanford_covid_vaccine | Bio/ML | mRNA degradation prediction |
Full catalogue and walkthroughs at Examples docs.
# 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.
Contributions are welcome — bug reports, new tasks under examples/, new agent runtimes, docs, the lot. Start here:
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.
⭐ 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):
@article{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},
journal={arXiv preprint arXiv:2604.01658},
year={2026}
}