CoolFace
Apppublic

VoicesColeby/GAIA-Agent-Unit4

sourceHugging Faceapache-2.0updated 3mo agoView on Hugging Face
0likes
App README

Unit 4 — GAIA Level-1 Final Project

Gradio Space that fetches the 20 official GAIA-Level-1 questions from agents-course-unit4-scoring.hf.space, runs a smolagents CodeAgent on each, and submits the answers to the Students leaderboard.

Agent

CodeAgent (Qwen 2.5-Coder-32B via HF Inference Providers) with:

ToolPurpose
web_search (DDG)Fetch external information.
visit_webpageRead & strip a specific URL.
python_interpreterRun sandboxed Python for math / parsing.
download_task_filePull files associated with a task_id.
final_answerEmit the short, exact-match answer.

additional_authorized_imports covers stdlib + pandas / numpy for Level-1 spreadsheet-y questions.

Output format reminder

The submit endpoint compares answers as EXACT MATCH. The agent's system hint enforces:

  • —No "FINAL ANSWER:" prefix.
  • —Numbers as digits, no units unless asked.
  • —Lists comma-separated.
  • —Dates as the question requests.

Deploy

bash
# After cloning the Space repo:
huggingface-cli login
# upload via HfApi.upload_file or git push

Then click Sign in with Hugging Face, then 🚀 Run + Submit. The score and per-question transcript appear inline.

Scoring tier

ScoreStatus
< 30%Try again — debug failure cases in the transcript.
≥ 30%🎓 Certificate of Excellence eligible — claim at https://huggingface.co/spaces/agents-course/Unit4-Final-Certificate