Welcome to GenAI-Agents — your go-to repository for creating and deploying powerful AI agents with Generative AI. These agents are designed to perform specific tasks such as answering questions, calculations, and retrieving data from external sources (like Wikipedia) in a loop-driven, dynamic, and intelligent way.
- 🌟 Features
- 🔧 System Architecture
- 🚀 Getting Started
- 🧑💻 Contributing
- 📜 License
- 📬 Contact
- 🙌 Acknowledgements
- AI ChatBot Agent: Utilizes GPT-4 to respond to queries, execute calculations, and search for information online.
- Wikipedia Search Agent: Fetches summaries and relevant data from Wikipedia.
- Custom Blog Search Agent: Retrieves relevant blog entries based on user queries.
- Calculation Agent: Safely evaluates mathematical expressions.
GenAI-Agents employs a structured Thought-Action-Observation Loop, ensuring thorough and accurate responses:
- Thought: The agent reasons through the user's question.
- Action: Executes the relevant operation (e.g., API calls or calculations).
- PAUSE: Waits for observations after executing an action.
- Observation: Outputs the refined result or an answer.
This modular design enables expandable actions and seamless integration with new APIs or tasks.
- Python 3.x installed.
- Streamlit for the interactive UI.
- An active OpenAI API Key: Store it in an environment variable (
OPENAI_API_KEY
).
Clone the repository to your local machine:
git clone https://github.com/HabtamuFeyera/GenAI-Agents.git
cd GenAI-Agents
Install the dependencies:
```bash
pip install -r requirements.txt
Start the Streamlit app:
streamlit run app.py
This opens the app in your browser, ready for interaction!
We welcome contributions to make GenAI-Agents even better! Follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add your feature'
). - Push to your branch (
git push origin feature/your-feature
). - Open a Pull Request.
This project is licensed under the MIT License. For more details, see the LICENSE file.
Have questions or suggestions? Reach out anytime:
- Habtamu Feyera
- 📧 Email: [email protected]
- 🌐 LinkedIn: Habtamu Feyera
- 📲 Telegram: @DecodeAI
Special thanks to:
- OpenAI GPT-4 for powering the agents.
- Streamlit for enabling intuitive UI development.
- Wikipedia API for providing accessible and reliable data.
Thank you for exploring GenAI-Agents! We look forward to your contributions and ideas to make AI even more accessible and versatile. 😊