Robust, lightweight infrastructure for multi-agent self-evolution, built for autoresearch. CORAL is infrastructure for autonomous AI agent organizations that run experiments, share knowledge, and continuously improve solutions.
> /plugin marketplace add Human-Agent-Society/CORAL> /plugin install coral@coral-marketplace
What's inside
Robust, lightweight infrastructure for multi-agent self-evolution, built for autoresearch.
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}
}
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.
.agents/
plugins/
marketplace.json
.claude/
.claude-plugin/
marketplace.json
skills/
coral-debug/
SKILL.md
coral-extend/
SKILL.md
coral-new-task/
SKILL.md
promoting-dev-to-main/
agents/
openai.yaml
SKILL.md
.dockerignore
.github/
ISSUE_TEMPLATE/
bug_report.yml
config.yml
feature_request.yml
PULL_REQUEST_TEMPLATE.md
release.yml
scripts/
tag-promoted-release.sh
workflows/
ci.yml
deploy-blog.yml
main-pr-source.yml
promotion-release.yml
release.yml
.gitignore
.pre-commit-config.yaml
AGENTS.md
assets/
coral_diagram_trans.jpg
coral_diagram_white_bg.jpg
coral_diagram.html
coral_diagram.png
coral_logo_transparent.png
coral_logo.png
demo.gif
logo.png
meta.png
mit_logo.png
mit.png
nus.png
stanford.png
blog/
consensus-screenshot.png
coral_logo.png
cross_referencing.png
erdos_comparison_v2.png
ind_agent_screenshot.png
index.html
kernel_builder_comparison.png
stages.png
stanford_covid_vaccine_comparison.png
CLAUDE.md
CONTRIBUTING.md
coral/
__init__.py
agent/
__init__.py
assignments.py
builtin/
__init__.py
claude_code.py
codex.py
cursor_agent.py
kiro.py
opencode.py
pi_agent.py
exit_classifier.py
heartbeat.py
manager.py
migration.py
nicknames.py
process.py
registry.py
runtime.py
state.py
warmstart.py
cli/
__init__.py
__main__.py
_helpers.py
agents.py
author.py
eval.py
heartbeat.py
query.py
start.py
ui.py
validation.py
config.py
gateway/
__init__.py
config.py
middleware.py
server.py
grader/
__init__.py
base.py
builtin/
__init__.py
function_grader.py
daemon.py
loader.py
protocol.py
subprocess_grader.py
task_grader.py
hooks/
__init__.py
post_commit.py
hub/
__init__.py
_island.py
attempts.py
auto_stop.py
checkpoint.py
heartbeat.py
notes.py
prompts/
consolidate.md
lint_wiki.md
pivot.md
reflect.md
warmstart_research.md
skills.py
steering.py
sandbox/
__init__.py
protocol.py
registry.py
srt.py
template/
__init__.py
agents/
deep-researcher.md
librarian.md
coral_md.py
coral_single.md.template
coral.md.template
presets/
docker-opencode.yaml
local-claude.yaml
multi-island.yaml
sandbox.yaml
role_template.md
skills/
create-notes/
references/
frontmatter-spec.md
worked-example.md
scripts/
lint.py
stamp.py
unattributed.py
SKILL.md
deep-research/
agents/
synthesis-reviewer.md
references/
failure-modes.md
research-note-template.md
source-types.md
scripts/
check_grounding.py
SKILL.md
organize-files/
agents/
dedup-judge.md
references/
edge-cases.md
worked-example.md
scripts/
audit.sh
find_duplicates.py
generate_index.py
move_note.py
resolve_links.py
SKILL.md
skill-creator/
agents/
analyzer.md
comparator.md
grader.md
assets/
eval_review.html
eval-viewer/
generate_review.py
viewer.html
LICENSE.txt
references/
schemas.md
SKILL.md
types.py
user_agents.py
web/
__init__.py
api.py
app.py
events.py
logs.py
run_catalog.py
static/
assets/
index-BQi9Jpme.css
index-CI3RbXHp.js
index.html
workspace/
__init__.py
breadcrumbs.py
grader_env.py
project.py
repo.py
user_isolation.py
worktree.py
demos/
kernel_builder_1103.py
solution_erdos.py
docker/
claude/
Dockerfile
entrypoint.sh
codex/
Dockerfile
entrypoint.sh
opencode/
Dockerfile
entrypoint.sh
docs/
app/
(site)/
blogs/
page.tsx
layout.tsx
page.tsx
api/
search/
route.ts
docs/
[[...slug]]/
layout.tsx
page.tsx
global.css
layout.tsx
opengraph-image.tsx
robots.ts
sitemap.ts
components/
mdx.tsx
content/
docs/
api/
config.mdx
grader.mdx
hub.mdx
index.mdx
meta.json
types.mdx
cli/
index.mdx
meta.json
reference.mdx
concepts/
agents.mdx
architecture.mdx
eval-loop.mdx
index.mdx
meta.json
shared-state.mdx
examples/
index.mdx
meta.json
tasks.mdx
getting-started/
configuration.mdx
index.mdx
installation.mdx
meta.json
quickstart.mdx
guides/
agent-bindings.mdx
agent-runtimes.mdx
benchmarks.mdx
custom-grader.mdx
gateway.mdx
index.mdx
meta.json
multi-agent.mdx
plugin.mdx
rubric-judge.mdx
web-dashboard.mdx
index.mdx
meta.json
tutorials/
build-autonomous-agent-grader.mdx
meta.json
what-is-coral.mdx
lib/
blogs.ts
layout.shared.tsx
metadata.ts
source.ts
next-env.d.ts
next.config.mjs
package-lock.json
package.json
postcss.config.mjs
public/
coral_logo.png
llms.txt
scripts/
sync-blog.mjs
source.config.ts
superpowers/
plans/
2026-07-15-unified-coral-site.md
specs/
2026-07-15-unified-coral-site-design.md
tests/
blog-sync.test.mjs
canonical-links.test.mjs
site-routes.test.mjs
tsconfig.json
examples/
ADRS/
cloudcast/
grader/
pyproject.toml
src/
cloudcast_grader/
__init__.py
grader.py
seed/
initial_program.py
task.yaml
taskdata/
broadcast.py
evaluator.py
examples/
config/
inter_agz.json
inter_gaz2.json
intra_aws.json
intra_azure.json
intra_gcp.json
profiles/
cost.csv
throughput.csv
simulator.py
utils.py
eplb/
grader/
pyproject.toml
src/
eplb_grader/
__init__.py
grader.py
seed/
initial_program.py
task.yaml
taskdata/
evaluator.py
llm_sql/
grader/
pyproject.toml
src/
llm_sql_grader/
__init__.py
grader.py
seed/
initial_program.py
task.yaml
taskdata/
evaluator.py
solver.py
utils.py
prism/
grader/
pyproject.toml
src/
prism_grader/
__init__.py
grader.py
seed/
initial_program.py
task.yaml
taskdata/
evaluator.py
txn_scheduling/
grader/
pyproject.toml
src/
txn_scheduling_grader/
__init__.py
... 1600 moreShowing a partial view of a very large repo.
FAQ
coral is a Claude Code plugin with 12 hand-picked skills for automation work, indexed on Flowy. Install it with the command on its page. It includes coral-debug, coral-extend, coral-new-task. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.