This repository contains a customizable AI Agent built using the Phidata framework. The agent is designed to integrate with various tools, internal APIs, and databases to enable versatile data retrieval, analysis, and automation. It supports dynamic configuration of data sources and AI models, making it adaptable for a wide range of use cases.
- Integrate various external and internal tools to meet specific business needs.
- Flexibly configure work tools, APIs, and utilities to enhance operational workflows.
- Connect to internal databases for seamless querying and real-time data access.
- Supports structured and unstructured data for comprehensive insights.
- Leverage pre-trained and custom AI models for tasks such as:
- Natural Language Processing (NLP)
- Data analysis and predictions
- Intelligent automation
- Compatible with popular AI frameworks (e.g., OpenAI, Groq).
- Add or replace tools, APIs, and data sources easily.
- Scalable design to handle increased data processing or additional features.
- Framework: Phidata
- Languages: Python
- Tools and Libraries:
- Pandas (Data manipulation)
- Python-dotenv (Environment variable management)
- Custom AI model integrations
- Database: Compatible with relational and NoSQL databases
- Deployment: Docker (optional for containerized setup)
- Python 3.8 or above
- Virtual Environment (Recommended)
- Git
-
Clone the Repository:
git clone https://github.com/your-username/simple-ai-agent.git cd simple-ai-agent
-
Set up Virtual Environment:
python -m venv .venv source .venv/bin/activate # For Linux/Mac .\.venv\Scripts\activate # For Windows
-
Install Dependencies:
pip install -r requirements.txt
-
Add Environment Variables:
- Create a
.env
file in the root directory. - Add the necessary API keys and configuration values. Example:
API_KEY=your-api-key DATABASE_URL=your-database-url
- Create a
-
Run the Agent:
python main.py
- Customize the tools, APIs, and databases in the
config
directory. - Modify or add AI models in the
models
folder for specific use cases. - Use the agent to query data, analyze inputs, or automate tasks.
Query Example:
from agent import SimpleAgent
agent = SimpleAgent()
response = agent.query("Get latest stock prices")
print(response)
Contributions are welcome! To contribute:
- Fork the repository.
- Create a feature branch.
- Submit a pull request with a detailed explanation of changes.
This project is licensed under the MIT License. See the LICENSE file for more details.
- Built with the Phidata framework.
- Inspired by the need for customizable AI solutions.