coral-new-task
Skill1k starsChanged 5 months agoApache-2.0View on GitHub
End-to-end recipe for adding a new task under `examples/` — the three pieces that have to line up (`task.yaml`, `seed/`, and `grader/`), what to put in each, the `TaskGrader` API surface, the `coral validate` → smoke-test loop, and the common mistakes (repo_path pointing at the wrong dir, score direction backwards, hidden answer keys leaking into seed/, grader writing to codebase_path which the daemon force-removes, private-vs-public confusion, missing `run()` signature). Use whenever the user wants to add a new CORAL task or port an existing benchmark into CORAL.
- Installs packages
Trending
Quiet since October.about the whole repository
Who's talking about Human-Agent-Society/CORAL
- weitianxin/Awesome-Agentic-Reasoning“Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery”GitHub · Apr 16, 2026 · 1 reactions
- Andrewzh112/Awesome-LLM-based-MultiAgents“Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery”GitHub · Apr 16, 2026 · 1 reactions
- luo-junyu/Awesome-Agent-Papers“Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery”GitHub · Apr 16, 2026 · 1 reactions
- qianlima-lab/awesome-lifelong-llm-agent“Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery”GitHub · Apr 16, 2026 · 1 reactions
- sudosubin/agents.nix“codex-plugins.github.human-agent-society.coral: init at 0.7.21”GitHub · Oct 4, 2026
The biggest 5 of 36 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 36
Talked about on GitHub (36 times).
On GitHub · 36
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — weitianxin/Awesome-Agentic-Reasoning1 reaction · 1 comment
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — Andrewzh112/Awesome-LLM-based-MultiAgents1 reaction
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — luo-junyu/Awesome-Agent-Papers1 reaction
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — qianlima-lab/awesome-lifelong-llm-agent1 reaction
- Oct 4, 2026codex-plugins.github.human-agent-society.coral: init at 0.7.21 — sudosubin/agents.nix0 reactions
31 more on GitHub
- Oct 4, 2026codex-marketplaces.github.human-agent-society.coral: init at 0.7.21 — sudosubin/agents.nix0 reactions
- Sep 28, 2026agent-skills.github.human-agent-society.coral: init at 0.7.21 — sudosubin/agents.nix0 reactions
- Aug 31, 2026[Example] Run CORAL multi-agent test-time training through Reef and Slime — Human-Agent-Society/reef0 reactions
- Aug 12, 2026Add CORAL to orchestration-level self-improvement — D2I-ai/awesome-recursive-self-improving-agents0 reactions
- Jun 29, 2026feat: add remote runtime state bridge — hvpareja/CORAL0 reactions
- Apr 19, 2026Add CORAL to Implementations & Forks — WecoAI/awesome-autoresearch0 reactions · 1 comment
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — gtzheng/Awesome-Agentic-System-Design0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — priyanshujiiii/awesome_Agentic_AI0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — dongxiangjue/Awesome-LLM-Self-Improvement0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — ch-shin/awesome-self-improving-llm0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — VoltAgent/awesome-ai-agent-papers0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — IBM/awesome-agentic-workflow-optimization0 reactions · 1 comment
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — Kunlun-Zhu/Awesome-Agents-Research0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — hyp1231/awesome-llm-powered-agent0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — lafmdp/Awesome-Papers-Autonomous-Agent0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — AGI-Edgerunners/LLM-Agents-Papers0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — zjunlp/LLMAgentPapers0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — WooooDyy/LLM-Agent-Paper-List0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — taichengguo/LLM_MultiAgents_Survey_Papers0 reactions · 1 comment
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — kyegomez/awesome-multi-agent-papers0 reactions · 1 comment
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — openags/Awesome-AI-Scientist-Papers0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — DavidZWZ/Awesome-Deep-Research0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — ai4s-research/awesome-ai-for-science0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — EvoMap/awesome-agent-swarm0 reactions · 1 comment
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — webfuse-com/awesome-autoresearch0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — jennyzzt/awesome-open-ended0 reactions · 1 comment
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — CharlesQ9/Self-Evolving-Agents0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — XMUDeepLIT/Awesome-Self-Evolving-Agents0 reactions
- Apr 16, 2026Add CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery — ANative-Lab/Awesome-Self-Evolving-Agents0 reactions
- Apr 8, 2026[Feature]: Evaluation tool like in coral — code-yeongyu/oh-my-openagent0 reactions · 3 comments
- Apr 7, 2026[Paper Note] CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery, Ao Qu+, arXiv'26, 2026.04 — AkihikoWatanabe/paper_notes0 reactions · 1 comment
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- plugin/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- coral-debugSkill
- coral-extendSkill
- promoting-dev-to-mainSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 26
Look at these before writing anything new — copy the closest one and edit:
- Very specific: line 45
Put a real, runnable baseline here.
- Very specific: line 47
If the task needs data files at runtime (training data, fixtures), put them under seed/data/ and reference them by relative path from …
- Very specific: line 122
If the grader needs reference files (model weights, ground-truth answers, scoring fixtures), ship them inside the package and load via …
- Very specific: line 134
If the grader wants torch, grelu, etc., put them in optional-dependencies and have the grader fall back gracefully when missing — see …
- Very specific: line 208
If coral validate succeeds, the grader can score the seed.
- Distinctive: line 210
After validation, smoke-test with one agent:
- Very specific: line 219
Add a one-line entry to the table in examples/README.md and a short ### <task> section under "Details" with the bullet points the others …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Creating a new CORAL task
A CORAL task is three things that must line up:
examples/<task>/
├── task.yaml # config: name, description, grader entrypoint, agent count
├── seed/ # starter code agents see when they begin (the repo_path)
│ └── solution.py
└── grader/ # standalone Python package
├── pyproject.toml
└── src/<task>_grader/
├── __init__.py
└── grader.py # class Grader(TaskGrader): ...The packaged form is the only supported form. The package gives the grader its own venv and ships everything the eval needs — grader code, helper modules, and hidden data (see "Hidden data" below).
Reference implementations
Look at these before writing anything new — copy the closest one and edit:
| Reference | When to copy it |
| examples/erdos/ | Minimal packaged grader, single grader file, numpy-only deps |
| examples/dna_design/ | Packaged grader with bundled data files (importlib.resources) and [ml] optional-deps for heavy libs |
| examples/swebench-verified/ | Tiered eval (different instance counts per tier), private answer keys, harbor integration |
| examples/circle_packing/ | Smallest packaged task end-to-end — single solution file, single grader file |
| examples/mnist/ | Packaged grader with a hidden answer key (note: secret data belongs under grader.private in a taskdata/ sibling of grader/, never inside the grader package) |
1. The seed
Whatever lives in seed/ is what the agent sees on first checkout — it's the working directory the grader will later score. The contract between seed/ and the grader is the program file: a Python file with a function the grader imports and calls.
The convention across examples is:
solution.py(orinitial_program.py) defining a top-levelrun()function.- The grader passes
program_file: "solution.py"viagrader.args. run()'s signature is whatever the grader expects — usually() -> resultor(input_path) -> result.
Put a real, runnable baseline here. Agents should be able to coral eval immediately and get a non-zero score, so they have a starting point to improve. A no-op skeleton that crashes is not a good baseline.
If the task needs data files at runtime (training data, fixtures), put them under seed/data/ and reference them by relative path from solution.py. The grader will see them at <codebase_path>/data/....
2. The grader
Packaged grader — the recommended path
grader/
├── pyproject.toml
└── src/<task>_grader/
├── __init__.py
└── grader.pypyproject.toml is a thin Hatchling package. Crib from examples/erdos/grader/pyproject.toml:
[project]
name = "<task>-grader"
version = "0.1.0"
description = "CORAL grader for the <task> task."
requires-python = ">=3.11"
dependencies = ["coral", "numpy"] # Whatever the grader actually imports.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/<task>_grader"]Subclass TaskGrader and implement evaluate():
# grader/src/<task>_grader/grader.py
from coral.grader import TaskGrader
from coral.types import ScoreBundle
class Grader(TaskGrader):
def evaluate(self) -> float | ScoreBundle:
program_file = self.args.get("program_file", "solution.py")
# self.codebase_path — the agent's commit checked out detached
# self.private_dir — .coral/private/ (your hidden answer keys live here)
# self.args — dict from task.yaml grader.args
# self.timeout — grader.timeout in seconds (or None)
# self.eval_logs_dir — write subprocess logs / artifacts the agent should see post-grade
try:
result = run_program_and_score(...)
except TimeoutError:
return self.fail(f"Evaluation timed out after {self.timeout}s")
except Exception as e:
return self.fail(f"Evaluation failed: {e}")
return self.score(result, explanation=f"score={result:.4f}")What you have available on self:
| Attribute / method | Use it for |
self.codebase_path | Path to the commit being graded (detached worktree). Read-only — anything written here is discarded after the eval. |
self.private_dir | .coral/private/. Your answer keys, hidden test data, anything from grader.private lives here. |
self.args | dict from task.yaml::grader.args. Use self.args.get("program_file", "solution.py") etc. |
self.timeout | Eval timeout in seconds (or None if grader.timeout: 0). |
self.eval_logs_dir | Per-attempt directory for logs/artifacts that should outlive the grader. Symlinked into each agent worktree as <shared_dir>/eval_logs/<hash>/. |
self.score(value, explanation=...) | Build a single-task ScoreBundle from a numeric score. |
self.fail(reason) | Return a fail ScoreBundle with reason as feedback. |
self.get_python_command() | List for the python binary inside the codebase's env (uses uv run if a pyproject.toml is present). Always use this instead of sys.executable so task-specific deps are visible. |
self.run_program(filename, *args) | Convenience: runs <codebase_path>/<filename> as a subprocess via get_python_command(). |
Bundling data files with the grader
If the grader needs reference files (model weights, ground-truth answers, scoring fixtures), ship them inside the package and load via importlib.resources:
import importlib.resources
scorer_dir = str(importlib.resources.files("<task>_grader.scorers"))examples/dna_design/grader/src/dna_design_grader/grader.py is the canonical pattern — note the scorers/ subpackage. Add the directory to [tool.hatch.build.targets.wheel] if it has non-Python files.
Heavy / optional dependencies
If the grader wants torch, grelu, etc., put them in optional-dependencies and have the grader fall back gracefully when missing — see examples/dna_design/grader/pyproject.toml. Then grader.setup becomes ["uv pip install -e ./grader[ml]"] for the full version.
Hidden data: put secrets under grader.private
Answer keys, hidden test fixtures, and anything the agent must not see go under grader.private in task.yaml — CORAL copies those paths into .coral/private/<name> (which every agent runtime is denied read access to) and the grader reads them via self.private_dir:
grader:
private:
- "taskdata" # a sibling of grader/ → .coral/private/taskdata, read via Path(self.private_dir) / "taskdata"The single rule: everything inside the grader/ package is visible to agents, and secrets live in grader.private outside grader/. The whole grader source is surfaced read-only to agents at <shared_dir>/grader/ (a symlink to the real package) so they can read how they're scored — so anything under grader/ is readable, including a grader.private path that points inside it (it gets copied to .coral/private/ and leaked through the surfaced source). Keep taskdata/ as a sibling of grader/ (declare it taskdata, resolving to <task_dir>/taskdata); coral validate errors if a private path is inside the package.
Non-secret bundled data (lookup tables, reference configs, helper modules) may live inside grader/ and be read via Path(__file__).parent / ... — just remember it's visible, so never put a secret there. E.g. examples/ADRS/txn_scheduling/ puts helper modules on sys.path that way.
3. The task.yaml
Fields that must be set; everything else has a sensible default.
task:
name: "My Task" # shows up in results/<slug>/
description: | # rendered into CORAL.md, agents read this
What the agent should do.
Reference the program file by name (e.g. solution.py and its run() signature).
tips: | # optional, also rendered into CORAL.md
- Eval timeout is N seconds.
- Constraints / scoring details / known baselines.
grader:
entrypoint: "<task>_grader.grader:Grader" # required
setup:
- "uv pip install -e ./grader" # runs once in .coral/private/grader_venv/
timeout: 600 # seconds; 0 disables, default 300
direction: maximize # or minimize — controls leaderboard ordering
args: # arbitrary dict, read inside grader as self.args
program_file: "solution.py"
private: [] # extra files copied into .coral/private/ (hidden from agents)
parallel:
max_workers: 1 # bump only when the grader is concurrency-safe
max_pending_per_agent: 1 # cap on in-flight submissions per agent
agents:
count: 1 # raise once the task is known to be stable
runtime: claude_code # claude_code | codex | cursor_agent | kiro | opencode
model: sonnet # default depends on runtime; see coral/agent/registry.py
workspace:
results_dir: "./results" # where each run lands
repo_path: "./examples/<task>/seed" # MUST point at the seed/ dir
setup: # runs in each agent worktree before agents start
- "uv pip install numpy" # task-runtime deps go here, NOT in grader/setup
run:
verbose: false
ui: false
session: tmux # local | tmux | dockerThe examples/README.md documents the full schema with every default. When in doubt, look there before adding fields.
4. Validate before running agents
coral validate examples/<task>This:
- Parses
task.yamland reports schema errors. - Bootstraps
.coral/private/grader_venv/and runsgrader.setup. - Copies
seed/into a tempdir and runs the grader against it once. - Prints the resulting score and explanation.
If coral validate succeeds, the grader can score the seed. That's the single most important checkpoint — most "agent stuck" issues trace back to a grader that crashes on the seed.
After validation, smoke-test with one agent:
coral start -c examples/<task>/task.yaml agents.count=1 run.session=local
# Wait for one eval, then:
coral stop5. Wire it into the index
Add a one-line entry to the table in examples/README.md and a short ### <task> section under "Details" with the bullet points the others use (Agents / Timeout / Session). Skip this only for throwaway local tasks.
Common mistakes
| Mistake | Symptom | Fix |
repo_path points at examples/<task>/ instead of examples/<task>/seed/ | Grader sees task.yaml and grader/ in codebase_path | Always point repo_path at the seed dir. |
direction: maximize for a loss / minimize for a benchmark ratio | Leaderboard ordered backwards | Score = "ratio against benchmark, >1 is better" → maximize. Score = "raw error" → minimize. |
Hidden answer key under seed/ or anywhere inside the grader/ package | Agents read it and game the score — seed/ is their repo, and the whole grader/ source is surfaced at <shared_dir>/grader/ | Put it under grader.private outside grader/ (e.g. a sibling taskdata/), read via self.private_dir. coral validate errors on a private path inside grader/. |
Grader writes results under self.codebase_path and reads them later | Files vanish — daemon force-removes the worktree after each eval | Write under self.eval_logs_dir. |
Grader uses sys.executable to run the agent's program | Misses task-specific deps installed via workspace.setup | Use self.get_python_command() (it switches to uv run --project when the codebase has a pyproject.toml). |
Heavy deps in main grader dependencies | coral validate is slow / fails on machines without the GPU stack | Move to optional-dependencies and fall back gracefully. See dna_design's [ml] extra. |
grader.setup tries to install task-runtime deps | The grader venv has them but the agent's worktree doesn't | Task-runtime deps go in workspace.setup. Grader-only deps go in grader.setup. |
parallel.max_workers > 1 with a non-concurrency-safe grader | Sporadic failures when two evals collide on Docker ports / GPU / scratch dirs | Leave at 1 unless the grader is provably safe. |
Forgetting coral validate | Agents start, fail every eval with the same error | Always validate first. |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

