Skip to content
IntelligenzaArtificiale edited this page Apr 28, 2023 · 1 revision

USE AI AGENTs, like AUTO-GPT or BABYAGI, without paids API😤 TOTALLY FOR FREE🤑

Tired of paying for OPENAI, PINECONE, GOOGLESEARCH APIs to try out the latest developments in the AI field? Perfect, this is the repository for you! 🎁

For any problem open an ISSUE 🚬, the project is very simple so any help is welcome💸.

Are you bored reading😴? Do you want to try our project now⏳? Open the notebook on Colab everything is ready!

RUN NOW ON COLAB 😮👉 Open in Colab

image

By the way, thank you so much for Stars and all the support!!

WHY THIS REPOSITORY ? 🤔

Hello everyone 🥰 ,

I wanted to start by talking about how important it is to democratize AI. Unfortunately, most new applications or discoveries in this field end up enriching some big companies, leaving behind small businesses or simple projects. One striking example of this is Autogpt, an autonomous AI agent capable of performing tasks.

Autogpt and similar projects like BabyAGI only work with paid APIs, which is not fair. That's why I tried to recreate a simpler but very interesting and, above all, open-source version of Autogpt that does not require any API and does not need any particular hardware.

I believe that by providing free and open-source AI tools, we can give small businesses and individuals the opportunity to create new and innovative projects without the need for significant financial investment. This will allow for more equitable and diverse access to AI technology, which is essential for advancing society as a whole.


HOW TO GET CHATGPT & HUGGINGFACE TOKEN FREE 🔑🔐

  • HUGGINGFACE🤗 : Visit this simple official guide
  • CHATGPT🖥 : visit this site and copy the "accessToken"

CHATGPT_TOKEN


HOW TO RUN CAMEL 🐫

RUN NOW ON COLAB😮 Open in Colab)

Or use Locally :

  • Dowload the repository FREE AUTOGPT REPOSITORY
  • pip3 install -r requirements.txt
  • streamlit run Camel.py
  • get your free token on this link, paste it in input and start

image|690x441


HOW TO RUN BABY AGI 👶

RUN NOW ON COLAB😮 Open in Colab)

Or use Locally :

  • Dowload the repository FREE AUTOGPT REPOSITORY
  • pip3 install -r requirements.txt
  • Usage: python BABYAGI.py --hf_token YoUrHFtOkEn --chatgpt_token YoUrChATgPTtOkENisSOlOnG
BAbyAGI.mp4

HOW TO RUN AUTOGPT 🤖

RUN NOW ON COLAB😮 Open in Colab)

Or use Locally :

  • Dowload the repository FREE AUTOGPT REPOSITORY
  • pip3 install -r requirements.txt
  • Usage: python AUTOGPT.py --hf_token YoUrHFtOkEn --chatgpt_token YoUrChATgPTtOkENisSOlOnG
AUTOGPT.mp4

HOW IT WORK ? 🔨🔩

To create an open-source version of Autogpt that does not require paid APIs or specific hardware, we performed a reverse engineering process on ChatGPT, a language model developed by OpenAI. By doing so, we were able to use the agents and new technologies of langchain for free.

We then created a custom LLM wrapper with langchain, which can be used as a plug-and-play solution with any langchain function or tool 💡.

from ChatGPTAPI import ChatGPT

# Instantiate a ChatGPT object with your token
llm = ChatGPT(token="YOURTOKEN")

# Generate a response based on the given prompt
response = llm("Hello, how are you?")

# Print the response
print(response)

The code snippet provided above shows how to use our custom ChatGPT LLM class to interact with the language model. It requires a token from the ChatGPT API, which can be obtained from https://chat.openai.com/api/auth/session.

Please note that there is a limit of 50 requests per hour for each account on the ChatGPT API 💣. Therefore, we implemented a call counter in our ChatGPT class to prevent exceeding this limit.

We believe that our open-source version of Autogpt will promote equitable and diverse access to AI technology and empower individuals and small businesses to create innovative AI projects without significant financial investment.

With this "CUSTOM LLM WRAPPER" now u can build or test your LLM APP's WITHOUT PAYing


🤗 Democratize AI 🤗

Star History Chart


LINK :


TODO , I NEED YOUR HELP

  • Create free LLM langchain wrapper based on Reverse Engineered ChatGPT API by OpenAI

  • Create a simple versione of AUTOGPT based on Camel theory

  • Find a way to replace OpenAIEmbeddings()

  • Create a simple version of AUTOGPT based on Baby AGI

  • Add web search agent

  • Add file writer agent

  • Finally AUTOGPT without paids API

  • Add other free Custom LLM wrapper Add this

  • Add long term memory

  • Find a way to replace PINECONE api

  • Find a way to replace official Google API