CoolFace
Datasetpublic

narcolepticchicken/agent-cost-traces

Agent Cost Traces: Synthetic Training Data 10,000 synthetic agent traces for training cost-aware model routers and agent optimizers. Schema Field Type Description trace_id string Unique identifier request string User request text task_type string One of 9 task categories difficulty int Estimated difficulty (1-5) model_tier int Model tier used (1-5) model_success bool Whether the model succeeded optimal_tier int Minimum tier that would… See the full description on the dataset page: https://huggingface.co/datasets/narcolepticchicken/agent-cost-traces.

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes52downloads
Dataset Card

Agent Cost Traces: Synthetic Training Data

10,000 synthetic agent traces for training cost-aware model routers and agent optimizers.

Schema

FieldTypeDescription
trace_idstringUnique identifier
requeststringUser request text
task_typestringOne of 9 task categories
difficultyintEstimated difficulty (1-5)
model_tierintModel tier used (1-5)
model_successboolWhether the model succeeded
optimal_tierintMinimum tier that would succeed
tool_callslistTool calls made
verifier_calledboolWhether a verifier was called
retriesintNumber of retries
final_successboolWhether the task ultimately succeeded
total_costfloatTotal cost of the run
failure_tagslistTags describing failures
cheaper_alternativeint/nullCheaper tier that would also work
recovery_actionstringWhat recovery was attempted
verifier_neededboolWhether verification was needed
escalation_neededboolWhether a higher tier was needed

Task Types and Difficulty

Task TypeBase DifficultyFloor Tier
quick_answer11
document_drafting22
tool_heavy22
retrieval_heavy22
research33
coding33
unknown_ambiguous33
long_horizon43
legal_regulated54

Success Model

P(success) = tier_strength^(difficulty × 0.6)

Tier strengths: tiny=0.35, cheap=0.55, medium=0.80, frontier=0.93, specialist=0.97

Use Cases

  • Train model cascade routers
  • Evaluate cost-quality frontiers
  • Benchmark cost-aware agent optimizers
  • Study failure recovery policies
  • Research selective verification strategies

⚠️ Limitations

This is synthetic data. Real execution data produces dramatically better routers. On SWE-bench, the v8 router trained on this synthetic data increased cost by 11.6%, while v10 trained on just 500 real outcomes saved 23.3%. Use this data for prototyping and sanity checks, not for production routing.

For real execution data, see:

License

MIT