32 lines
628 B
Markdown
32 lines
628 B
Markdown
# 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.
|