GAIA Agent

Final assignment of the Hugging Face Agents Course (Unit 4): a Gemini agent answering 20 level-1 GAIA questions.

google_searchGemini's built-in grounded web search
fetch_urlReads web pages, tables, PDFs and old Wikipedia revisions as text
run_pythonRuns Python for counting, arithmetic, spreadsheets and code
analyze_youtube_videoGemini watches the video's frames and audio
chess_best_movepython-chess search for forced mates

Images, audio, spreadsheets and code attached to a task go to the model as multimodal input. The code is in Files.