SquadAI is a an autonomous agent program based on CrewAI, but it is intended to be used as a standalone program like AutoGPT rather than a package. It uses the open source Llama3 model from Groq API rather than OpenAI's models.
- Llama3 Model Integration: Utilizes the Llama3 model via Groq API, providing a free alternative to other AI models.
- Lightweight Design: Built to be simple and easy to understand, making it accessible for developers at any level.
- Open-Source Focus: Aiming to attract contributors to help develop and enhance the project.
- **Access to LangChain tools
Ensure you have Python installed on your system. You can check by running:
python --version
or
python3 --version
You will also need to go to Groq Cloud and get a Groq API key. Chage the name of env.template to .env and add your API key. Do the same thing for the WolframAlpha API. Also, consider getting a SerpApi API key as well and add it to the .env file. As this project grows more API keys will probably be needed, but I intend to keep everything free and open source. And you will need to get a Firecrawl api key for the webscraper tool.
- Clone the Repository:
git clone https://github.com/SpyderRex/SquadAI.git
cd SquadAI
- Install the Requirements: Install the necessary dependencies using pip:
pip install -r requirements.txt
To run SquadAI, simply execute the following command in your terminal:
python3 main.py
A prompt will appear asking the user to provide a goal. The process toward completing that goal will be executed.
Alternately, you can create a project in the same way that crewAI does:
python3 -m squadai create squad test_squad
The original crewAI program also has a separate package called crewai-tools that must be installed separately. However, I have added this functionality within the project itself, in a module called squadai_tools. This is separate from the tool_reg directory that initializes the LangChain tools for the agents.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Obviously this is a work in project and an experiment with autonomous agent programs using free, open source models. More tools and functionality will be added as the project grows.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Spyder Rex - [email protected]
Project Link: https://github.com/SpyderRex/SquadAI
If you wish to donate financially to this project, you can do so here