Simplest self-building autonomous agent
Top 86.9% on sourcepulse
This project provides a simple, self-building autonomous agent designed to iteratively create and register tools to complete user-defined tasks. It's targeted at developers and researchers exploring agent capabilities, offering dynamic tool creation and automatic package management for complex problem-solving without constant human intervention.
How It Works
BabyAGI 2o dynamically generates and registers Python functions as tools based on LLM outputs to accomplish tasks. It automatically installs necessary packages for these tools and handles errors through iteration. The agent's core advantage lies in its self-modification capability, allowing it to adapt and expand its functionality as needed, with the goal of integrating with the BabyAGI 2 framework for tool persistence.
Quick Start & Requirements
pip install litellm
LITELLM_MODEL
(e.g., gpt-4
) and relevant API keys (e.g., OPENAI_API_KEY
).python main.py
Highlighted Details
litellm
(e.g., OpenAI, Anthropic).Maintenance & Community
This is an experimental project. Contributions are welcome, particularly for integration with the BabyAGI framework. Direct contact via X/Twitter is suggested for PRs.
Licensing & Compatibility
MIT License. Permissive for commercial use and closed-source linking.
Limitations & Caveats
Executes LLM-generated code and installs dependencies, requiring a secure execution environment. The project is experimental and may have unpredictable behavior.
9 months ago
Inactive