AgentCurriculum
Curriculum learning for coding agents — train through progressive difficulty stages.
Overview
AgentCurriculum ranks agent traces by difficulty and builds a 5-stage training curriculum where the model learns basic tool use first, then progressively harder multi-step reasoning and error recovery.
Stages
| Stage | Name | Difficulty | Tools | Errors | LR | LoRA r |
|---|---|---|---|---|---|---|
| 1 | Basic | 0.0–0.2 | <5 | 0 | 2e-4 | 64 |
| 2 | Intermediate | 0.2–0.4 | <15 | ≤2 | 1e-4 | 64 |
| 3 | Advanced | 0.4–0.6 | <30 | ≤5 | 5e-5 | 32 |
| 4 | Expert | 0.6–0.8 | <60 | ≤10 | 3e-5 | 32 |
| 5 | Master | 0.8–1.0 | <100 | ≤20 | 1e-5 | 16 |
Installation
pip install agent-curriculum
Quick Start
from agent_curriculum import DifficultyScorer, StageBuilder, CurriculumTrainer
# Score traces by difficulty
scorer = DifficultyScorer()
scores = scorer.score_file("traces.jsonl")
# Build curriculum stages
builder = StageBuilder(scorer=scorer)
stages = builder.build_stages("traces.jsonl")
builder.generate_configs("configs/")
# Train through the curriculum
trainer = CurriculumTrainer(base_model="Qwen/Qwen2.5-14B")
results = trainer.train_curriculum("traces.jsonl", start_stage=1, end_stage=5)
License
MIT
Ecosystem
Part of the FableForge ecosystem — 21 open-source projects built from 210K real agent traces:
| Project | Description |
|---|---|
| Anvil | Self-verified coding agent |
| VerifyLoop | Plan→Execute→Verify→Recover framework |
| ErrorRecovery | Self-healing middleware (3,725 error patterns) |
| FableForge-14B | The fine-tuned 14B model (4-stage training) |
| ShellWhisperer | 1.5B edge agent (phone/RPi, 50ms) |
| ReasonCritic | Verification model (130 benchmark tasks) |
| TraceCompiler | Compile traces → LoRA skills |
| AgentRuntime | Persistent agent daemon (systemd for AI) |
| AgentSwarm | Multi-agent from real trace transitions |
| AgentTelemetry | Datadog for agents (token tracking, costs) |
| BenchAgent | HumanEval for tool-use (107 tasks) |
| AgentDev | VSCode extension with verification |
| TraceViz | Trace replay visualizer (Next.js) |
| AgentSkills | npm for agent behaviors |
| AgentCurriculum | 5-stage progressive training |
| AgentFuzzer | Adversarial testing for agents |
| AgentConstitution | Safety guardrails from traces |
| CostOptimizer | Token cost reduction (50-80%) |
| AgentProfiler | Behavioral fingerprinting |
| TrajectoryDistiller | Trace→training data pipeline |
| Fable5-Dataset | HuggingFace dataset release |
Metadata
Release files for agent-curriculum 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| agent_curriculum-0.1.0.tar.gz | 9.2 kB | With provenance | Details for agent_curriculum-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent_curriculum-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for agent_curriculum-0.1.0-py3-none-any.whl |
Total release size: 23.0 kB
Release files / agent_curriculum-0.1.0.tar.gz
| Download URL | agent_curriculum-0.1.0.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
788ef65cc2cab1b3c7a64683a4401bfabbfcdc94f7d67a797ff138528c00adc1
|
|
BLAKE2b-256 checksum How to use checksums |
fbc1510033b7b98194fc3529b41c8322b86663b60a5f36754728b2bbe2f4dc5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logRelease files / agent_curriculum-0.1.0-py3-none-any.whl
| Download URL | agent_curriculum-0.1.0-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4bfa2e4e950aa1d84eeae1aa0702dfe14fd98c4b0030db63b36b0a347ef299c3
|
|
BLAKE2b-256 checksum How to use checksums |
a0518029831088a4c75938687da6b364107df9794c115a78b781da4710ce9cff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logSecurity for agent-curriculum 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for agent_curriculum-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 14, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.