Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenAI-Agents 🚀

MIT License Python
Streamlit

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.

📑 Table of Contents

  1. 🌟 Features
  2. 🔧 System Architecture
  3. 🚀 Getting Started
  4. 🧑‍💻 Contributing
  5. 📜 License
  6. 📬 Contact
  7. 🙌 Acknowledgements

🌟 Features

  • 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.

🔧 System Architecture

GenAI-Agents employs a structured Thought-Action-Observation Loop, ensuring thorough and accurate responses:

  1. Thought: The agent reasons through the user's question.
  2. Action: Executes the relevant operation (e.g., API calls or calculations).
  3. PAUSE: Waits for observations after executing an action.
  4. Observation: Outputs the refined result or an answer.

This modular design enables expandable actions and seamless integration with new APIs or tasks.

🚀 Getting Started

Prerequisites

  • Python 3.x installed.
  • Streamlit for the interactive UI.
  • An active OpenAI API Key: Store it in an environment variable (OPENAI_API_KEY).

Installation

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

Running the Application

Start the Streamlit app:

streamlit run app.py

This opens the app in your browser, ready for interaction!

🧑‍💻 Contributing

We welcome contributions to make GenAI-Agents even better! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/your-feature).
  3. Commit your changes (git commit -m 'Add your feature').
  4. Push to your branch (git push origin feature/your-feature).
  5. Open a Pull Request.

📜 License

This project is licensed under the MIT License. For more details, see the LICENSE file.

📬 Contact

Have questions or suggestions? Reach out anytime:

🙌 Acknowledgements

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. 😊

About

Modular AI agent framework powered by GPT-4, designed for answering questions, retrieving information, and performing calculations using a structured thought-action loop.

Topics

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages