Note: This project was developed as a simple starter project to learn more about Agents and how to build them using a framework like ADK.
-
Install dependencies: Use the commands listed below to setup the environment.
python3 -m venv venv source venv/bin/activate pip install --upgrade pip pip install -r requirements.txt
-
Configuration:
- Make sure to configure the Environment variables in a
.env
file. - This includes the following API Keys in .env
GOOGLE_GENAI_USE_VERTEXAI=FALSE GOOGLE_API_KEY=YOUR_API_KEY
- Make sure to configure the Environment variables in a
-
Navigate to the agent directory: Make sure you are in the directory where
/venv
and.env
are located. THIS IS NOT INSIDE/study_smart
-
Run the agent using the Agent Development Kit tools: There are three ways to run the agent:
- In your terminal:
adk run study_smart
- Using the built-in ADK UI:
adk web
Once you open the web interface, you can select the agent from the dropdown menu in the top left, and interact with it through the web interface.
- Using a API Server (FastAPI):
adk api_server
-
Interact with the agent: Once running, you can interact with the agent through the interface provided by the Agent Development Kit or the specified communication channels (e.g., a web interface, command line, API).