Python developers choosing an agent course · About 45 minutes
Build a support lookup before an AI agent
Make a five-case support lookup and find out whether your next gap is Python, tool use or answer evaluation.
Use the sample below. No paid model, signup or course purchase is needed for this exercise.
Download the worksheetYour starting material
Public sample catalog: A1 | Trail Lamp | 29 USD | 14-day return | indoor use only B2 | Travel Mug | 18 USD | 30-day return | hand-wash only C3 | Desk Mat | 24 USD | 14-day return | 60 × 30 cm No records contain stock levels, shipping dates or discounts.
Make your first attempt
- Write a Python function that accepts a product ID and returns the matching record or an explicit not-found result. Do not use a model yet.
- Make the answer include the record ID and only fields present in that record. Define what happens when the question cannot be answered.
- Run the five cases below. Save the actual output beside the expected behavior. Only then decide whether you need an agent framework.
Check your result
Try the task before opening these checks. Tick each one after comparing it with your own output.
Checks stay on this page only. Your answers and work are not uploaded.
Choose what to learn next
If the lookup or JSON handling is difficult, practice Python first. If lookup works but answers invent facts, focus on grounding and evaluation before adding more tools.
Hugging Face Agents Course
Free material for learners with Python and basic LLM knowledge; check those prerequisites first.
AI Builders 2027
Consider a structured project route if you want broader guided practice. Check current pricing, course languages and included access.
Some course links may earn us a commission. Check current pricing and access terms before enrolling. Funding disclosure
Course sources
This worksheet is an original practice exercise. The following pages describe the learning options.