Final Agent — AI skill for Claude Code
AI agent built with smolagents for the Hugging Face Agents Course final assignment.
How to install Final Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open erayozgr/final-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Final Agent does
AI agent built with smolagents for the Hugging Face Agents Course final assignment. Scored 90% (18/20) on a GAIA benchmark subset using web search, Wikipedia, file parsing (Excel, Python, audio, images) and Claude Haiku.
Alternatives in AI
- Humanizer: Remove AI Writing Patterns — You are a writing editor that identifies and removes signs of AI-generated text to make writing sound more nat 10.5k ★
- AI Avatar System — 🎭 AI Avatar / digital human platform — upload a photo, clone a voice, talk to any face in real time with lip 422 ★
- Osint Skill — OSINT Skill for AI agents (Claude Code, OpenClaw, Codex, OpenCode) — from a name to a scored dossier with psyc 114 ★
README
final-agent
An AI agent built with [smolagents](https://github.com/huggingface/smolagents) for the final assignment of the [Hugging Face Agents Course](https://huggingface.co/learn/agents-course).
**Result:** 90% (18/20) on the course's GAIA benchmark subset.
How it works
The script fetches 20 questions from the course scoring API, answers each one with a `CodeAgent`, saves the answers to `answers.json` and can submit them.
The agent writes and runs Python code step by step, using these tools:
- Web search – Claude's built-in web search (or Gemini with Google Search)
- Wikipedia search – reads Wikipedia articles
- Webpage reader – opens a URL and returns its content as markdown
- File handling – reads attached Excel, CSV and Python files; images and audio are described or transcribed by a multimodal model
Answers are graded by exact match, so the agent is instructed to return only the final value in a strict format.
Setup
Requires Python 3.10+.
python3 -m venv .venv
source .venv/bin/activate
pip install "smolagents[litellm]" ddgs markdownify wikipedia-api pandas openpyxl requests
Usage
export ANTHROPIC_API_KEY="..."
export MODEL_ID="anthropic/claude-haiku-5-5"
export HF_TOKEN="..." # optional, to download attached files from the GAIA dataset
python agent.py # answer the questions and save them to answers.json
To submit the answers:
export AGENT_CODE_URL="https://github.com/erayozgr/final-agent"
SUBMIT=1 python agent.py
Already answered questions are skipped, so the script can be stopped and resumed at any time.
Configuration
| Variable | Description |
|---|---|
MODEL_ID |
Main agent model (any LiteLLM model id) |
ANTHROPIC_API_KEY |
Needed for Claude models |
GEMINI_API_KEY |
Needed for Gemini/Gemma models and audio transcription |
HF_TOKEN |
Read token for downloading attached files |
HF_USERNAME |
Hugging Face username used for submission |
Related Skills
AI Trending Papers Digest
You are an autonomous task agent that fetches trending AI papers from Hugging Face and generates a digest.
PyAdvisor
PyAdvisor: AI career advisor CLI that analyzes your GitHub profile and suggests skills, projects and learning
Find Model
Search Hugging Face for a GGUF model by keyword and import it into ccl
Enterprise RAG Copilot
Agentic RAG assistant that answers questions from your PDF, TXT and Markdown files with source citations. Buil
Goal Swarm
Fan out ALL the DTD-declared agents (or an agents= subset) on one thing at once — a workflow when the harness
Autonomous Agentic Workflows
MSc AI Capstone 6. Agentic AI Systems. Python, smolagents, LiteLLM, Claude Haiku 4.5, Pandas, Matplotlib. Cove
Related Agents
Build Pattern Scanner
Scans GitHub, Show HN, Bluesky, cv.inc hackathon galleries, and Hugging Face Spaces for independent small-buil
AI Config Specialist
AI model intelligence, implementation, and infrastructure specialist. Discovers and evaluates models via Huggi
OpenSourceScout
Finds existing open source the contest deliverable can reuse instead of building it from scratch — whole proje