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(`<h1 id="l2a-multi-tool-agent" tabindex="-1">L2a: Multi-Tool Agent <a class="header-anchor" href="#l2a-multi-tool-agent" aria-label="Permalink to &quot;L2a: Multi-Tool Agent&quot;">​</a></h1><p><strong>Module</strong>: M2 Architecture<br><strong>Files</strong>: starter.py, solution.py</p><h2 id="objective" tabindex="-1">Objective <a class="header-anchor" href="#objective" aria-label="Permalink to &quot;Objective&quot;">​</a></h2><p>Add file operations AND web search to your agent.</p><h2 id="concepts" tabindex="-1">Concepts <a class="header-anchor" href="#concepts" aria-label="Permalink to &quot;Concepts&quot;">​</a></h2><p>Refer to the corresponding module for full concept explanations.</p><h2 id="starter" tabindex="-1">Starter <a class="header-anchor" href="#starter" aria-label="Permalink to &quot;Starter&quot;">​</a></h2><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">cd</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> course/labs/l2-multi-tool/</span></span>
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"># Open starter file and fill in the TODOs</span></span></code></pre></div><h2 id="checkpoints" tabindex="-1">Checkpoints <a class="header-anchor" href="#checkpoints" aria-label="Permalink to &quot;Checkpoints&quot;">​</a></h2><ol><li>Define a read_file tool schema</li><li>Define a search_web tool (DuckDuckGo or similar)</li><li>Define a write_file tool</li><li>Implement execute_tool for all three</li><li>Run the agent loop with tool result feedback</li></ol><h2 id="solution" tabindex="-1">Solution <a class="header-anchor" href="#solution" aria-label="Permalink to &quot;Solution&quot;">​</a></h2><p>Compare against the solution file after attempting the starter.</p>`,12)])])}const b=t(i,[["render",s]]);export{u as __pageData,b as default};
