--- title: GAIA Dataset Agent emoji: 🤖 colorFrom: indigo colorTo: indigo sdk: gradio sdk_version: 5.25.2 app_file: app.py pinned: false hf_oauth: true # optional, default duration is 8 hours/480 minutes. Max duration is 30 days/43200 minutes. hf_oauth_expiration_minutes: 480 --- # GAIA Dataset Agent An advanced LangGraph-based agent designed to successfully handle the GAIA dataset challenges. ## Features - **Mathematical Calculations**: Advanced math capabilities using SymPy for symbolic computation - **Web Search**: Real-time information retrieval using Tavily search - **Date/Time Processing**: Comprehensive date and time calculations and queries - **Multi-step Reasoning**: LangGraph workflow for complex problem solving - **Proper Formatting**: Answers formatted according to GAIA dataset requirements ## Environment Setup This agent requires the following environment variables: - `OPENAI_API_KEY`: Your OpenAI API key for GPT-4 - `TAVILY_API_KEY`: Your Tavily API key for web search Set these in your Hugging Face Space settings. ## Usage 1. Log in with your Hugging Face account 2. Click 'Run Evaluation & Submit All Answers' to process all questions 3. View your results and score The agent will automatically detect the type of question (math, web search, date/time) and use appropriate tools and reasoning.