gperdrizet's picture
Added note about creating HF token.
3a6252e verified
|
raw
history blame
1.19 kB
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

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: Smolagents

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.