agentic-ai-engineering/site/labs/l2-multi-tool.md

628 B

L2a: Multi-Tool Agent

Module: M2 Architecture
Files: starter.py, solution.py

Objective

Add file operations AND web search to your agent.

Concepts

Refer to the corresponding module for full concept explanations.

Starter

cd course/labs/l2-multi-tool/
# Open starter file and fill in the TODOs

Checkpoints

  1. Define a read_file tool schema
  2. Define a search_web tool (DuckDuckGo or similar)
  3. Define a write_file tool
  4. Implement execute_tool for all three
  5. Run the agent loop with tool result feedback

Solution

Compare against the solution file after attempting the starter.