Project 27: To-Do List Assistant
AI Engineer
Current Task
Objective
Review day: build an AgentExecutor like day 14, this time for a to-do list assistant with two tools.
Task: assemble an AgentExecutor with two to-do tools and print the tool names.
index.py
from langchain.agents import AgentExecutor
agent_executor = AgentExecutor(agent=agent, tools=[add_task_tool, complete_task_tool], verbose=False)
print([t.name for t in agent_executor.tools])
* Hint: Correct characters turn green, incorrect ones turn red.
Live Preview
🖼️
Verify your code to see the preview