This project implements a multi-agent system using ollama and langchain to interact with various tools, including web search, financial news lookup, code execution, and stock data retrieval. The system utilizes qwen2.5 as the primary language model and integrates multiple APIs and functionalities.
- Natural Language Processing: Utilizes
ollamawith Qwen 2.5 LLM for intelligent responses. - Web Search: Fetches general and financial news using DuckDuckGo Search.
- Stock Market Data: Retrieves real-time stock data via
yfinance. - Code Execution: Runs Python code dynamically within the system.
- Multi-Agent Framework: Enables different agents to handle specialized tasks efficiently.
Ensure you have the following installed:
- Python 3.8+
pip
Clone the repository:
git clone https://github.com/your-username/your-repo.git
cd your-repopip install -r requirements.txt"Fetch the latest stock price of Tesla."
"Run this Python script: print(2+2)."
"Get the latest news on artificial intelligence."