import{c as t,Q as a,j as o,m as l}from"./chunks/framework.BPKcPtvA.js";const u=JSON.parse('{"title":"L2a: Multi-Tool Agent","description":"","frontmatter":{},"headers":[],"relativePath":"labs/l2-multi-tool.md","filePath":"labs/l2-multi-tool.md","lastUpdated":1780488246000}'),i={name:"labs/l2-multi-tool.md"};function s(n,e,r,c,h,p){return a(),o("div",null,[...e[0]||(e[0]=[l(`

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

bash
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.

`,12)])])}const b=t(i,[["render",s]]);export{u as __pageData,b as default};