https://github.com/gperdrizet/unit-one-introduction
HuggingFace Agents Course Unit 1: Introduction to Agents
https://github.com/gperdrizet/unit-one-introduction
agents ai huggingface llms smolagents
Last synced: 3 months ago
JSON representation
HuggingFace Agents Course Unit 1: Introduction to Agents
- Host: GitHub
- URL: https://github.com/gperdrizet/unit-one-introduction
- Owner: gperdrizet
- Created: 2025-06-18T18:59:53.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-21T15:58:53.000Z (4 months ago)
- Last Synced: 2025-06-21T16:34:47.697Z (4 months ago)
- Topics: agents, ai, huggingface, llms, smolagents
- Language: Python
- Homepage: https://huggingface.co/learn/agents-course/unit1/introduction
- Size: 134 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
title: Unit one - first agent
colorFrom: green
colorTo: gray
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
tags:
- smolagents
- agent
- smolagent
- tool
- agent-course
---Check out the configuration reference at [spaces-config-reference](https://huggingface.co/docs/hub/spaces-config-reference).
# Unit one project: first agent using smolagents
Hands-on tutorial - create a simple agent using smolagents.
- My main GitHub repository for the course: [HuggingFace agents course](https://github.com/gperdrizet/hf-agents-course).
- Unit one tutorial page on HuggingFace: [Let’s Create Our First Agent Using smolagents](https://huggingface.co/learn/agents-course/unit1/tutorial)## Features
1. Multi-turn agent with [Qwen2.5-Coder-32B-Instruct](https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct) using Gradio and smolagents
2. Image generation using [FLUX.1-schnell](https://huggingface.co/black-forest-labs/FLUX.1-schnell) from Black Forest Labs
3. Text to speech using [Chatterbox](https://huggingface.co/ResembleAI/chatterbox) from Resemble AI
4. Web search/site crawling
5. Time-zone look-up## Running
From your HuggingFace settings dashboard, create a fine-grained access token with inference permissions.
### 1. HuggingFace spaces
[Unit one project: smolagents](https://huggingface.co/spaces/gperdrizet/unit-one-smolagents)
Make your own copy of the space and add your HuggingFace token as `HF_TOKEN` via: settings → Secrets and variables → New secret.
### 2. GitHub codespace
[Unit one project: smolagents](https://github.com/gperdrizet/unit-one-introduction/tree/main)
Fork a copy of the repository, then add your HuggingFace token as `HF_TOKEN` via: settings → Secrets and variables → Codespaces → New repository secret. Start a new codespace on main.