Agent 1: Tutor
-
Tutor agent: will try to answer questions according to different needs
- Detailed Explanation
- Quickly revise
- Explain as if i’m 10
-
Concepts:
- Message stream
- Configuring options
- Claude.md
-
What is the expectation ?
- query vs client
- Setting up API keys
- Navigating to api references
Do the above exercise without agents directly on claude
-
Question is
What is difference between function and generator -
Lets create a new project
mkdir claude_demo_agents
cd claude_demo_agents
uv init .
uv add claude-agent-sdk python-dotenv
uv add ipykernel
code .
- Select the python interpretor
- Create a new folder called as tutor
- Ensure your .env file is copied
- in tutor create a file called as
ex1_message_exchange.pywith following code
from dotenv import load_dotenv
import os
if __name__ == "__main__":
# load .env
load_dotenv()
- Refer Here for the changes done so far
