Skip to content

Instantly share code, notes, and snippets.

@bhartner
bhartner / gist:02ba841776326516f6ffd146ac931197
Created November 7, 2025 23:47
LLMs-and-Their-Applications-Module-10-file_assistant_python_script_v02
"""
Task 1-2 Part 2: File Assistant Agent
Create an agent that can use the file tools to perform operations
based on natural language requests. This agent will interpret user
intent and use the appropriate tools.
Complete the TODOs below to implement the file assistant.
"""
import os
from dotenv import load_dotenv
@bhartner
bhartner / gist:820507d215ce2ba7ffc949948dc729a8
Created November 7, 2025 23:22
LLMs-and-Their-Applications-Module-10-file_assistant_python_script_v01
"""
Task 1-2 Part 2: File Assistant Agent
Create an agent that can use the file tools to perform operations
based on natural language requests. This agent will interpret user
intent and use the appropriate tools.
Complete the TODOs below to implement the file assistant.
"""