A comprehensive financial information system built using Google's Agent Development Kit (ADK) that provides current valuation, future outlook, and stock history analysis.
- Python 3.8 or higher
- Google Cloud Platform account
- Google ADK API access
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable billing for your project (required for API usage)
- In the Google Cloud Console, navigate to "APIs & Services" > "Library"
- Search for "Agent Development Kit" or "ADK"
- Click on the ADK API and press "Enable"
- Go to "APIs & Services" > "Credentials"
- Click "Create Credentials" > "API Key"
- Copy the generated API key
- (Optional) Restrict the API key to specific APIs and IP addresses for security
- Navigate to the
parent_folder/financial_information_agent/directory - Create a
.envfile if it doesn't exist - Add your API key to the
.envfile:GOOGLE_ADK_API_KEY=your_api_key_here
-
Clone this repository:
git clone <repository-url> cd CAL_AI_2025
-
Install required dependencies:
pip install -r requirements.txt
-
Set up your environment variables as described above
CAL_AI_2025/
├── parent_folder/
│ └── financial_information_agent/
│ ├── agent.py # Main agent implementation
│ ├── api_functions.py # API integration functions
│ ├── current_valuation_agent/ # Current valuation analysis
│ ├── future_outlook_agent/ # Future outlook predictions
│ ├── stock_history_agent/ # Historical data analysis
│ ├── shared_tools.py # Shared utilities
│ └── .env # Environment variables (create this)
├── scraper/ # Web scraping utilities
├── storage/ # Data storage
└── documentation.md # Project documentation
-
Ensure your
.envfile is properly configured with your Google ADK API key -
Run the main agent:
python parent_folder/financial_information_agent/agent.py
-
For specific functionality, you can run individual agents:
# Current valuation analysis python parent_folder/financial_information_agent/current_valuation_agent/agent.py # Future outlook analysis python parent_folder/financial_information_agent/future_outlook_agent/agent.py # Stock history analysis python parent_folder/financial_information_agent/stock_history_agent/agent.py
- Current Valuation Agent: Analyzes current stock valuations and market conditions
- Future Outlook Agent: Provides predictions and future market analysis
- Stock History Agent: Processes historical stock data and trends
- Web Scraping: Automated data collection from financial websites
- Never commit your
.envfile to version control - Keep your API keys secure and restrict them appropriately
- Monitor your API usage to avoid unexpected charges
- Ensure your API key is correctly formatted in the
.envfile - Verify that the ADK API is enabled in your Google Cloud Console
- Check that billing is enabled for your Google Cloud project
ModuleNotFoundError: Install missing dependencies withpip install -r requirements.txtAPI Key not found: Verify your.envfile exists and contains the correct API keyPermission denied: Check that your API key has the necessary permissions
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
[Add your license information here]
For issues related to Google ADK, refer to the official documentation.