Spaces:
Sleeping
Sleeping
metadata
title: First Agent
emoji: ⚡
colorFrom: pink
colorTo: yellow
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.
Unit one: Smolagents
Main course GitHub repository HuggingFace agents course.
First hands-on course exercise - create a simple agent using Smolagents.
Running
From you HuggingFace settings dashboard, create a fine-grained access token with inference permissions.
1. HuggingFace spaces
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
Fork a copy of the repository, then add you HuggingFace token as HF_TOKEN
via: settings → Secrets and variables → Codespaces → New repository secret. Start a new codespace on main.