babyagijs  by ericciarla

AI agent for autonomous task management

created 2 years ago
381 stars

Top 76.0% on sourcepulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

BabyAGI JS is a JavaScript implementation of the BabyAGI AI agent, designed for automated task management. It empowers users to define an objective, and the system autonomously creates, prioritizes, and executes tasks using OpenAI's GPT models (3.5 or 4) to achieve that objective.

How It Works

The system employs a chain-of-thought approach, orchestrating three core components: Task Creation, Task Prioritization, and Execution. Task Creation generates new sub-tasks based on the current objective and prior results. Task Prioritization orders these tasks by relevance and importance. The Execution component then performs the highest-priority task, feeding its results back into the system to inform subsequent task creation and prioritization, creating a continuous loop of intelligent action.

Quick Start & Requirements

  • Install dependencies: npm install
  • Run the agent: npm run start
  • Prerequisites: Node.js, OpenAI API key (set in .env file as OPENAI_API_KEY=).

Highlighted Details

  • Implemented in TypeScript.
  • Core logic resides in src/babyagi.ts with index.ts for initialization.
  • Supports GPT-3.5 and GPT-4 models.

Maintenance & Community

  • Open to contributions via issues and pull requests.

Licensing & Compatibility

  • MIT License.
  • Permissive license suitable for commercial use and integration into closed-source projects.

Limitations & Caveats

The project is a direct JavaScript port of the BabyAGI concept and may require significant configuration and prompt engineering for optimal performance with specific objectives. It relies heavily on the capabilities and cost of the OpenAI API.

Health Check
Last commit

2 years ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Didier Lopes Didier Lopes(Founder of OpenBB), and
4 more.

stagehand by browserbase

1.0%
15k
AI browser automation framework for production
created 1 year ago
updated 1 day ago
Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Didier Lopes Didier Lopes(Founder of OpenBB), and
3 more.

claude-task-master by eyaltoledano

1.8%
20k
AI-powered task management system for code editors
created 5 months ago
updated 1 day ago
Feedback? Help us improve.