█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

CORAL

इसे एक codebase और एक grader दें, और coding agents की एक टीम score को लगातार बेहतर करती रहती है

Autonomous Coding Agentsओपन सोर्स
ताज़ा
v0.7.21
अपडेट किया गया
6 सित॰ 2026
भाषा
Python
लाइसेंस
Apache-2.0

नया क्या है

v0.7.216 सित॰ 2026

Added Frontier-SWE example task ports and an optional header_provider hook in the LLM gateway, plus fixes to the CLI, the DeepSeek Harness runtime and gateway request logging.

संक्षेप में

CORAL क्या है?

CORAL इसे एक codebase और एक grader दें, और coding agents की एक टीम score को लगातार बेहतर करती रहती है. यह AI Coding टूल्स की Autonomous Coding Agents श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: coral CLI install करें.

अपडेट किया गया Markdown वर्शन ↗

सारांश

CORAL autoresearch के लिए open-source infrastructure है: आप इसे एक codebase और एक grader देते हैं, जो code को score में बदलता है, और यह autonomous coding agents का एक समूह चलाता है, जो तब तक code को बदलते, test करते और अपनी सीखी हुई बातें साझा करते रहते हैं जब तक आप उन्हें रोक न दें। यह Human-Agent-Society group का Python command-line tool (`coral`) है, जो Apache 2.0 के तहत जारी हुआ है और "CORAL: Towards Autonomous Multi-Agent Evolution for Open-Ended Discovery" नाम के paper में वर्णित है, जिसे COLM 2026 में स्वीकार किया गया है।

CORAL architecture diagram: initialization creates shared state and per-agent workspaces, each agent loops through reading, editing, evaluating and sharing notes, while a manager watches attempts and triggers heartbeats
How a CORAL run is organized: per-agent workspaces, a shared .coral/public/ directory, the eval loop and the manager's heartbeats.CORAL README ↗

हर agent अपने अलग git worktree में काम करता है, इसलिए agents एक-दूसरे की फ़ाइलें कभी overwrite नहीं करते। Shared state (पिछली कोशिशें, notes और दोबारा इस्तेमाल होने वाले skills) `.coral/public/` directory में रहता है, जो हर worktree में symlink की जाती है, ताकि हर agent real time में देख सके कि दूसरों ने क्या आज़माया है। एक grader daemon हर commit को, जिसे कोई agent `coral eval` से submit करता है, score करता है, और एक manager process समय-समय पर agents को `reflect`, `consolidate` और `pivot` जैसे heartbeat prompts भेजकर उन्हें बीच में रोकता है।

CORAL अपना model या agent नहीं देता। यह आपके पहले से install और sign in किए हुए coding agents को चलाता है: Claude Code (डिफ़ॉल्ट), Codex, OpenCode, Cursor Agent, Kiro, DeepSeek Harness और Pi, और custom models के लिए LiteLLM gateway। Repo के उदाहरण tasks circle packing और एक math conjecture से लेकर GPU kernel optimization, MNIST और Kaggle competitions तक फैले हैं।

यह क्या करता है

  • Parallel agents, हर एक अपने git worktree में अलग-थलग, और attempts, notes और skills के लिए एक shared `.coral/public/` directory, जिसे हर agent पढ़ और लिख सकता है।
  • Pluggable graders, जो छोटे Python projects के रूप में पैक होते हैं: `TaskGrader` को subclass करें, एक float या score bundle लौटाएँ, और CORAL हर `coral eval` submission को उसके आधार पर score करता है; hidden answer keys `.coral/private/` में रखी जाती हैं।
  • `agents.runtime` से चुने जाने वाले कई coding-agent runtimes के साथ काम करता है: `claude_code`, `codex`, `opencode`, `cursor`, `kiro`, `dsh` और `pi`।
  • एक manager जो सभी attempts पर नज़र रखता है और heartbeat prompts (`reflect`, `consolidate`, `pivot`) भेजता है, साथ ही multi-island runs जो agents को अलग-अलग समूहों में बाँटते हैं और उनके बीच migration होता है।
  • पूरे run के लिए CLI (`coral init`, `validate`, `start`, `status`, `log`, `stop`) और एक web dashboard (`coral ui`) जो score curves, हर agent की प्रगति और हाल की attempts दिखाता है।
  • Claude Code और Codex के लिए skills-first plugin, जो आपकी अपनी repo में एक task का ढाँचा बनाता है, grader लिखता है और task launch के लिए तैयार होने तक `coral validate` चलाता रहता है।

शुरू करें

आपको Python 3.11+, git और कम से कम एक supported coding agent चाहिए जो install और authenticated हो (डिफ़ॉल्ट Claude Code है)। tmux की सिफ़ारिश की जाती है, क्योंकि CORAL runs को tmux session में चलाता है। ये steps CORAL docs के README और Quick Start का पालन करते हैं।

coral CLI install करें

Install script ज़रूरत पड़ने पर uv सेट करता है और `uv tool install` से `coral` को globally install करता है। किसी release को पिन करने के लिए `CORAL_VERSION=<tag>` सेट करें।

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

एक task का ढाँचा बनाएँ

इससे `my-task/` बनता है, जिसमें `task.yaml`, एक `seed/` folder (जिसमें वह baseline code है जिस पर agents काम करते हैं) और एक `grader/` Python package होता है।

bashbash
coral init my-task

Task और agents का वर्णन करें

`my-task/task.yaml` को edit करके grader की ओर इशारा करें, चुनें कि ज़्यादा score जीतेगा या कम, और तय करें कि कितने agents चलें और वे कौन-सा runtime इस्तेमाल करें।

yamlyaml
task:
  name: my-task
  description: "Optimize the function in solution.py to print a higher score."

grader:
  entrypoint: "my_task_grader.grader:Grader"
  setup:
    - "uv pip install -e ./grader"
  timeout: 300
  direction: maximize
  args:
    program_file: "solution.py"

agents:
  count: 2
  runtime: claude_code
  model: claude-sonnet-4-6

workspace:
  repo_path: "./seed"

Grader लिखें

Scaffold किया गया stub `solution.py` चलाता है और stdout से एक number parse करता है। अपना metric निकालने के लिए `evaluate()` बदलें।

pythonpython
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")
        result = self.run_program(program_file)

        if result.returncode != 0:
            return self.fail(f"Program crashed: {result.stderr[:200]}")

        try:
            return float(result.stdout.strip())
        except ValueError:
            return self.fail("Could not parse output as a number")

Validate करें, फिर agents launch करें

`coral validate` grader को seed code पर एक बार चलाता है और score दिखाता है। फिर `coral start` `.coral/` shared state बनाता है, हर agent के लिए एक git worktree और `CORAL.md` instruction file बनाता है, और agents को spawn करता है।

bashbash
coral validate my-task
coral start -c my-task/task.yaml

प्रगति देखें और run रोकें

हर agent `coral eval -m "description"` से अपने changes submit करता है, score और feedback पढ़ता है, और बाकियों के लिए notes लिखता है। Terminal या web dashboard से नज़र रखें, और काम पूरा होने पर run रोक दें।

bashbash
coral log      # leaderboard
coral status   # agent health and status
coral ui       # web dashboard
coral stop
The CORAL web dashboard for a kernel-builder run, showing a score chart, an attempts table and per-agent status for four agents
The CORAL dashboard during a four-agent kernel-optimization run: score per attempt, the attempts leaderboard and each agent's recent activity.CORAL README demo ↗

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • किसी मापे जा सकने वाले code के हिस्से को optimize करना, जैसे GPU kernel या कोई hot function, जिसमें कई agents रात भर एक ही benchmark के खिलाफ अलग-अलग strategies आज़माते हैं।
  • ML tasks पर autoresearch चलाना, जैसे Kaggle competitions या model training scripts, जहाँ grader हर attempt को अपने-आप score कर सके।
  • खुले-अंत वाली optimization या math problems पर काम करना, जहाँ आप scorer लिख सकते हैं पर solution का तरीका नहीं जानते।
  • CORAL plugin के ज़रिए Claude Code या Codex के भीतर से लंबे multi-agent experiments चलाना, बिना पहले CLI सीखे।

How CORAL compares

CORAL alongside other open-source autonomous coding agents tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
opencode★ 231kआपके टर्मिनल के लिए ओपन सोर्स AI कोडिंग एजेंट
Claude Code★ 158kAnthropic का एजेंटिक कोडिंग टूल, जो आपके टर्मिनल में रहता है, आपके codebase को समझता है और सामान्य काम व git workflows को प्राकृतिक भाषा के निर्देशों से संभालता है
Orca★ 151kकई CLI कोडिंग एजेंट साथ-साथ चलाएं, हर एक अपने अलग git worktree में
OpenAI Codex★ 137kOpenAI का कोडिंग एजेंट: लोकल चलने वाला ओपन सोर्स CLI, और IDE, डेस्कटॉप ऐप व क्लाउड (Codex Web) वाले विकल्प भी
Pi★ 125kएक न्यूनतम टर्मिनल कोडिंग एजेंट, जिसे आप फ़ोर्क करने के बजाय TypeScript में बढ़ा सकते हैं
Gemini CLI★ 110kGoogle का ओपन सोर्स AI एजेंट, जो Gemini को सीधे आपके टर्मिनल में ले आता है
autoresearch★ 101kएक कोडिंग एजेंट को एक GPU और एक ट्रेनिंग फ़ाइल दीजिए, और उसे रात भर प्रयोग करने दीजिए
CORAL★ 1.2kइसे एक codebase और एक grader दें, और coding agents की एक टीम score को लगातार बेहतर करती रहती है