Agno v2.8.0: Neue Module agno.scorer und agno.environments
Agno v2.8.0 führt die Module agno.scorer und agno.environments zur Bewertung und wiederholten isolierten Ausführung von Runs ein, erweitert Eval-Cases um Scorer und ergänzt Funktionen in FileGenerationTools, Gmail Tools und Adanos Tools.
Changelog
New Features
agno.scorer— Turn a run into a number:CodeScorer: wraps any callable (bool | float | Score; typed-field comparison underoutput_schemarecommended)JudgeScorer: LLM judge with the model always an explicit choice and numeric verdicts normalized to exact endpoints ((score - 1) / 9)ToolCallScorer: checks tool executions deterministically (refused, errored, or HITL-rejected calls never satisfy an expectation)- All scorers ship sync and async variants.
agno.environments—Environment+Task+run_rollouts(env, k=8): run each task K times in full isolation (fresh db/session/user, no memory/knowledge/learning writes, cache off; knowledge reads still work). Includes a live per-attempt grid, real pass rate per task, drift-vs-policy fingerprints,save/load/diff,learning_zone(), andto_sft_jsonl(...)to export passing attempts as conversational-SFT JSONL with a provenance sidecar. This is the pass@k door.Case.scorer: the eval suite gains a third check — plug any scorer into aCase(withCase.expected), free and exact, no LLM call.SuiteResult.to_dict()gains additivescore_value,score_passed,score_reasonkeys.- FileGenerationTools: Added code file generation for
FileGenerationTools. - Gmail Tools: Added pagination and
max_results_per_request. - Adanos Tools: Added optional Adanos market sentiment tools. …