mini-agi  by muellerberndt

Simple autonomous agent for GPT-3.5/4

Created 2 years ago
2,894 stars

Top 16.4% on SourcePulse

GitHubView on GitHub
Project Summary

MiniAGI is a Python-based autonomous AI agent designed for general-purpose tasks, leveraging OpenAI's API (GPT-3.5-Turbo and GPT-4). It aims to execute complex objectives by breaking them down into steps, utilizing tools, maintaining short-term memory, and incorporating self-criticism for improved accuracy. The agent is suitable for users who want to automate tasks ranging from coding and content creation to system analysis and strategic planning.

How It Works

MiniAGI operates by receiving a high-level objective and then generating a sequence of actions. It employs a chain-of-thought process, internal monologue, and self-criticism to refine its plans. The agent can execute code (Python, shell), perform web searches, and interact with external APIs. Its memory is managed through summarization, allowing it to retain context over longer task sequences.

Quick Start & Requirements

  • Install: git clone https://github.com/muellerberndt/mini-agi && cd mini-agi && pip install -r requirements.txt && cp .env_example .env
  • Requirements: Python 3.10 or higher, OpenAI API key.
  • Usage: python miniagi.py <objective>
  • Docs: https://github.com/muellerberndt/mini-agi

Highlighted Details

  • Supports GPT-3.5-Turbo and GPT-4 models.
  • Features an optional "critic" module for enhanced accuracy at the cost of more API calls.
  • Demonstrates capabilities in code generation, web scraping, system commands, and even simulated API interactions.
  • Includes examples for complex tasks like penetration testing and world domination planning.

Maintenance & Community

The project appears to be maintained by muellerberndt. No specific community channels or roadmap details are provided in the README.

Licensing & Compatibility

The repository does not explicitly state a license in the provided README. Users should verify licensing for commercial use or integration into closed-source projects.

Limitations & Caveats

The agent may suggest harmful commands or code, requiring user caution. Data shared with third-party API providers like OpenAI is subject to their privacy policies. Some simulated actions (e.g., ordering pizza) do not involve real-world execution due to missing API keys or functionality.

Health Check
Last Commit

2 years ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by Yiran Wu Yiran Wu(Coauthor of AutoGen), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
3 more.

OS-Copilot by OS-Copilot

0.1%
2k
OS agent for automating daily tasks
Created 1 year ago
Updated 1 year ago
Starred by Edward Z. Yang Edward Z. Yang(Research Engineer at Meta; Maintainer of PyTorch), Anton Osika Anton Osika(Cofounder of Lovable), and
3 more.

gptme by gptme

0.3%
4k
CLI tool for terminal agent workflows
Created 2 years ago
Updated 21 hours ago
Feedback? Help us improve.