https://github.com/jonfairbanks/agichain
BabyAGI + LangChain w/ Tools
https://github.com/jonfairbanks/agichain
agi babyagi langchain langchain-python
Last synced: 2 months ago
JSON representation
BabyAGI + LangChain w/ Tools
- Host: GitHub
- URL: https://github.com/jonfairbanks/agichain
- Owner: jonfairbanks
- Created: 2023-04-13T16:32:33.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-13T23:24:39.000Z (about 3 years ago)
- Last Synced: 2025-07-12T18:00:08.206Z (12 months ago)
- Topics: agi, babyagi, langchain, langchain-python
- Language: Python
- Homepage:
- Size: 160 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# agichain

BabyAGI + LangChain w/ Tools
### Prerequisites
- An [OpenAI](https://openai.com) API key
- A [SerpAPI](https://serpapi.com) API key
### Setup
Set API key values in .env
Install dependencies:
```
pipenv shell
pipenv install
```
### Usage
**Warning: Using this script can be very expensive!**
```
python index.py "What is the weather expected to be like this weekend in San Jose, CA?"
```
You can also save the output of your run to a text file.
```
python index.py "What is the weather expected to be like this weekend in San Jose, CA?" 2>&1 | tee output.txt
```