快速开始
提交 Agent 定义与评测集,设定预算与允许进化的层,等待报告。默认只动上下文、技能与记忆三层,权重层需要显式开启。
# 1. 安装 SDKpip install ouro-evolve
# 2. 提交 Agent 定义 + 评测集 + 预算from ouro import Evolvejob = Evolve().submit( agent="./agent.yaml", # 支持 OpenAI / Anthropic / LangGraph / CrewAI 格式 evals="./evals.jsonl", # 私有评测集,只上链哈希 layers=["context", "skills", "memory"], budget_usd=200, rounds=5,)
# 3. 等待进化报告report = job.wait()print(report.score_before, "→", report.score_after) # 0.61 → 0.74print(report.poe_tx) # 链上记录report.export("./agent.v15.yaml")