babyagijs  by ericciarla

AI agent for autonomous task management

Created 2 years ago
382 stars

Top 74.7% on SourcePulse

GitHubView on GitHub
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

Inactive

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

Explore Similar Projects

Starred by Tobi Lutke Tobi Lutke(Cofounder of Shopify), Boris Cherny Boris Cherny(Creator of Claude Code; MTS at Anthropic), and
17 more.

marvin by PrefectHQ

0.2%
6k
Python framework for agentic AI workflows
Created 2 years ago
Updated 2 days ago
Starred by Paul Stamatiou Paul Stamatiou(Cofounder of Limitless), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
5 more.

claude-task-master by eyaltoledano

1.0%
22k
AI-powered task management system for code editors
Created 6 months ago
Updated 1 day ago
Feedback? Help us improve.