File size: 1,337 Bytes
2705160
89f9f33
 
62ad9da
 
2705160
 
 
 
d123508
 
 
2705160
 
89f9f33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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.