OpenAI_Agent_Swarm  by daveshap

Agentic framework for autonomous AI agent swarms

created 1 year ago
3,071 stars

Top 16.0% on sourcepulse

GitHubView on GitHub
Project Summary

The Hierarchical Autonomous Agent Swarm (HAAS) project aims to create a self-organizing, ethically governed ecosystem of AI agents using OpenAI's latest agent APIs. It targets developers and researchers interested in building fully autonomous, self-directing, and self-improving AI systems that can collaborate to solve complex problems. The primary benefit is a structured approach to AI governance and operation, enabling complex task execution through a hierarchical agent structure.

How It Works

HAAS employs a hierarchical architecture with a Supreme Oversight Board (SOB) at the apex, composed of archetypal agents responsible for ethical governance and high-level decision-making. Below the SOB are Executive Agents, which translate directives into actionable plans and oversee specific domains. Specialized Sub-Agents are created by higher tiers to perform specific tasks, with each agent defined by its functions, knowledge files, and instructions. This tiered structure ensures controlled agent instantiation, termination, and privilege inheritance, maintaining system integrity and alignment with core values.

Quick Start & Requirements

  • Install by sourcing a .env file for environment variables.
  • Run python tool_demo.py to create a tool, then interact with a tool-user agent.
  • Requires OpenAI API access and potentially specific Python packages (not explicitly listed but implied by Python scripts).
  • Demo video available for usage examples.

Highlighted Details

  • Leverages OpenAI's latest agent-based APIs.
  • Hierarchical structure with a Supreme Oversight Board (SOB) for governance.
  • Agents can instantiate and terminate sub-agents within strict hierarchical rules.
  • Designed for full autonomy, self-direction, self-correction, and self-improvement.
  • Ethical framework and mission ("Reduce suffering, increase prosperity, increase understanding") are core principles.

Maintenance & Community

  • Public Discord server available: https://discord.gg/mJKUYNm8qY
  • Project is described as a "high velocity hacking group" with a "Move Fast, Break Stuff" principle.

Licensing & Compatibility

  • License is not explicitly stated in the README.

Limitations & Caveats

  • The project is described as "cutting edge" and "high velocity," suggesting potential instability or rapid changes.
  • Reliance on OpenAI's agent APIs means dependency on their availability and terms of service.
  • The "Move Fast, Break Stuff" principle implies a focus on rapid development over stability.
Health Check
Last commit

1 year ago

Responsiveness

1 day

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

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Steven Hao Steven Hao(Cofounder of Cognition), and
6 more.

openai-agents-python by openai

1.6%
13k
Python SDK for multi-agent workflows
created 4 months ago
updated 7 hours ago
Feedback? Help us improve.