An open API service indexing awesome lists of open source software.

https://github.com/mdalamin5/agentic-ai-journey-with-huggingface-and-langchain-academy-course

A comprehensive implementation of the HuggingFace and Langchain-academy Agentic AI course. Explore LLM-powered agents using transformers-agents, custom tools, multi-step reasoning, and real-world deployment workflows across Hugging Face's agent framework and inference APIs.
https://github.com/mdalamin5/agentic-ai-journey-with-huggingface-and-langchain-academy-course

agentic-ai agentic-rag groq-api human-in-the-loop langgraph long-short-term-memory ollama

Last synced: 3 months ago
JSON representation

A comprehensive implementation of the HuggingFace and Langchain-academy Agentic AI course. Explore LLM-powered agents using transformers-agents, custom tools, multi-step reasoning, and real-world deployment workflows across Hugging Face's agent framework and inference APIs.

Awesome Lists containing this project

README

          

# Agentic AI with Hugging Face Course

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)

Welcome to the **Agentic AI with Hugging Face Course** repository! This project contains my hands-on work, notes, and experiments from Hugging Face's [Agentic AI course](https://huggingface.co/learn/agents-course/unit0/introduction), which explores the creation, customization, and deployment of LLM-powered agents.

---

## ๐Ÿ“š Course Overview

The course covers:
- Introduction to LLM Agents
- Creating and using tools with `transformers-agents`
- Planning and multi-step reasoning
- Deploying agents using Hugging Face APIs
- Building your own custom agents

> ๐Ÿ“Ž Link to course: [Hugging Face Agentic AI Course](https://huggingface.co/learn/agents-course/unit0/introduction)

---

## ๐Ÿ“‚ Repository Structure

```
Agentic-Ai-with-HuggingFace-Course/
โ”œโ”€โ”€ notebooks/ # Jupyter notebooks per course unit
โ”œโ”€โ”€ scripts/ # Python scripts and experiments
โ”œโ”€โ”€ assets/ # Images or diagrams
โ”œโ”€โ”€ requirements.txt # Python dependencies
โ”œโ”€โ”€ .gitignore # Ignored files and directories
โ””โ”€โ”€ README.md # This file
```

---

## ๐Ÿ› ๏ธ Setup Instructions

```bash
# Clone the repository
$ git clone https://github.com/MDalamin5/Agentic-Ai-with-HuggingFace-Course.git
$ cd Agentic-Ai-with-HuggingFace-Course

# (Optional) Create and activate a virtual environment
$ python -m venv venv
$ source venv/bin/activate # or venv\Scripts\activate on Windows

# Install dependencies
$ pip install -r requirements.txt
```

> ๐Ÿ” You may need a Hugging Face API token for agent execution. Visit [https://huggingface.co/settings/tokens](https://huggingface.co/settings/tokens) to create one.

---

## ๐Ÿ““ Course Progress & Notebooks

| Unit | Title | Notebook |
|------|----------------------------------|----------------------------------|
| 0 | Introduction | `notebooks/unit0_intro.ipynb` |
| 1 | Your First Agent | `notebooks/unit1_first_agent.ipynb` |
| 2 | Tools & Tool Use | `notebooks/unit2_tools.ipynb` |
| 3 | Planning with Agents | `notebooks/unit3_planning.ipynb` |
| 4 | Custom Agents & Deployment | `notebooks/unit4_custom_agents.ipynb` |

---

## ๐Ÿงช Experiments

This section includes custom tools, workflows, and modified agent architectures that go beyond the course exercises.

- `scripts/custom_tool_example.py`
- `scripts/agent_with_memory.py`

---

## ๐Ÿ“Œ Key Takeaways

- Understand the architecture of agentic systems using LLMs
- Leverage `transformers-agents` to create and register tools
- Use agents for dynamic, multi-step problem-solving
- Customize agents for specific tasks and deployment scenarios

---

## ๐Ÿ“œ License

This project is licensed under the **Apache License 2.0** - see the [LICENSE](LICENSE) file for details.

---

## ๐Ÿ™Œ Acknowledgments

- [Hugging Face](https://huggingface.co) for providing an awesome open-source ecosystem
- Hugging Face team for the Agentic AI course
- All contributors to `transformers` and `transformers-agents`

---

Happy agent building! ๐Ÿค–โœจ