Tweet
FreeModular AI agent with skill creation, dynamic task lists, and reflection.
FreeFree tier
Inputs: text, codeOutputs: text, code
LinksX
About Tweet
BabyElfAGI is a significant update to the original babyAGI, modularized into multiple files. It introduces a Skills Class for easy creation of reusable skills, a Dynamic Task List with vector search for adaptive task planning, a beta Reflection Agent for self-improvement, and the ability to read and write its own code to create new skills and task list examples. It includes a Skill Loader, API key optionality with OR logic, and pre-loaded skills like text completion, web search, code reading, skill saving, and objective saving. Built as an open-source framework, it enables extensible and autonomous agent behaviors.
Key Features
Skills Class for easy skill creation with a simple file template
Dynamic Task List example with vector search for adaptive task planning
Beta Reflection Agent for self-improvement and debugging
Can read and write its own code to create new skills and task list examples
Skill Loader to load selected skills and manage API keys centrally
API key optionality with OR statements for model/API flexibility
Pre-loaded skills: text_completion, web_search, code_reader, skill_saver, objective_saver
Dynamic loading of example objectives and task lists from JSON files
Embedding-based selection of relevant examples using ada-002
Pros & Cons
Pros
- Modular design with easy skill creation and loading
- Reflection agent enables iterative improvement of agent performance
- Dynamic task list adaptive to objectives via vector search
- Open-source and free to use
- Can extend its own capabilities by writing new skills and examples
Cons
- Reflection agent is still in beta and may require tuning
- Requires API keys for most skills (e.g., OpenAI, Anthropic, SerpAPI)
- Pre-loaded examples are minimal and meant as templates
- Not a polished product; expects users to experiment and iterate
Best For
Automated task execution and workflow managementResearch and information gathering through web searchCode generation, analysis, and self-modificationCreating new reusable skills for custom agent behaviorsDynamic task planning and adaptation based on vector searchBuilding and testing autonomous AI agent pipelines
FAQ
How do I create a new skill in BabyElfAGI?
Simply add a file in the 'skills' folder following the provided template. In the template, define the name, description, and required API keys. The description is used by the task creation agent to decide when to use the skill.
What is the Reflection Agent?
The Reflection Agent is a beta feature that allows the agent to reflect on its own actions and outputs to improve future performance. By default, REFLECTION is set to False, but can be enabled.
Can BabyElfAGI create new skills autonomously?
Yes. By enabling text_completion, code_reader, and skill_saver skills, you can give an objective like 'Create a new skill that writes a poem' and BabyElfAGI will draft a new skill file.
How does dynamic task list work?
Example objective and task lists are stored as JSON files in the example_objectives folder. Each objective is embedded using ada-002 to find the most relevant example when creating a task list for a new objective.