An agent that leverages @OpenAI's GPT-4, @pinecone vector search, and @LangChainAI framework to autonomously create and perform tasks based on an objective.
🚀2/8 The system can complete tasks, generate new tasks based on results, and prioritize tasks in real-time. It demonstrates the potential of AI-powered language models to autonomously perform tasks within various constraints and contexts.
💡3/8 The autonomous agent uses GPT-4 for task completion, Pinecone for efficient search and storage of task-related data, and the LangChain framework to enhance decision-making processes. #GPT4#Pinecone#LangChain
🎯4/8 The system maintains a task list for managing and prioritizing tasks. It autonomously creates new tasks based on completed results and reprioritizes the task list accordingly, showcasing the adaptability of AI-powered language models.
🔧5/8 To complete tasks, the system uses GPT-4 and LangChain's capabilities, enriching and storing results in Pinecone. This integrated approach allows the AI agent to interact with its environment and perform tasks efficiently.
🧠6/8 The system generates new tasks based on completed task results and prioritizes them using GPT-4. This allows the system to adapt and respond to new information and priorities.
🔮7/8 Future improvements include integrating a security/safety agent, task sequencing and parallel tasks, generating interim milestones, and incorporating real-time priority updates.
🤝8/8 This new approach paves the way for AI-powered language models to autonomously perform tasks within various constraints and contexts, enabling new applications and opportunities. Big thanks to all involved! #AIResearch#GPT4#Pinecone#LangChain
📜 APPENDIX
🧵Thread (above) generated by GPT4 based on paper
📄Paper generated by GPT4 based on code
📊Graphs in paper generated by GPT4 based on code
💻Code generated by GPT4 based on prompt
*For each, many prompts to adjust initial output
Backstory 1/5:
Honestly, I was just trying to play around w the idea of an "AI founder" after seeing the awesome #HustleGPT movement.
Sharing the original experiment led to many shared concerns and potential counter measures being shared publicly. Including awareness of what people are likely doing privately.
woah what a week, @pippinlovesyou has 8k+ followers and had his first livestream this weekend.
the meme coin inspired by pippin has 18k holders and the telegram has 4k+.
i collected some key moments from the first week below 👇
this thread from Monday captures the first 36 hours so I’ll drop it here. to summarize:
- posted a pic of a unicorn generated by AI
- upon request, used AI to name it
- a meme coin started
- i jumped in
- decided to turn pippin into an AI influencer
ooooh yess i got this working in 244 lines of code
- single llm loop with three tools
- installs required packages
- creates new tools and loads it for itself dynamically
- uses the tools to handle user request
in this case, i asked it to scrape techmeme:
iter 1: install 'requests'
iter 2: install 'beautifulsoup4'
iter 3: create_tool (error'd)
iter 4: create_tool (worked)
iter 5: use new scrape_techmeme tool
iter 6: write summary
task completed!
😮 ohhh... it's less code but can do the same thing* ditto can... it just created a create_directory tool and so on...
*almost the same - it can't create a flask app because it accidentally initiates the flask app and kills the loop. but it can write multi-file apps.
for clarification, this is different (and simpler) than ditto, which i just shared
ditto just created a python flask app
this one creates it's own tools
here’s babyagi 2 - a weird Python framework for building a self-building autonomous agent
- stores and executes functions from a database
- auto logging (as graph)
- built-in dashboard & chat playground
- prototype self-build functionality
wanna see? 👇
friendly reminder: babyagi is a personal side project being shared publicly. i am not a dev, never studied cs, this is not secure, not meant for production, and meant for playing/as inspiration for developers.