CoolFace
Apppublic

mdeep14/gaia-agent-unit4

sourceHugging Faceupdated 23d agoView on Hugging Face
0likes
App README

GAIA Unit 4 — Groq-Powered Agent

A lightweight agent built for the Hugging Face Agents Course — Unit 4 Final Assignment.

This project solves GAIA Level-1 questions using a hybrid approach that combines deterministic logic, web search, and Groq-powered inference.

Overview

The agent is designed to be fast, simple, and reliable without requiring a paid OpenAI API key or a paid Hugging Face compute Space.

It uses:

  • —deterministic routing for structured questions
  • —DuckDuckGo search for factual and research tasks
  • —Groq inference for concise answer generation
  • —checkpointing through results.json
  • —task-specific reruns
  • —Hugging Face leaderboard submission

System Flow

text
GAIA Question
    ↓
Deterministic Router
    ├── reversed text
    ├── table / structured logic
    └── simple deterministic tasks
    ↓
Web Search
    ↓
Groq Inference
    ↓
Exact Answer Formatter
    ↓
Checkpoint / Submission