OpenAI_Agent_Swarm  by daveshap

Agentic framework for autonomous AI agent swarms

Created 1 year ago
3,084 stars

Top 15.4% 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

Inactive

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

Explore Similar Projects

Starred by Andrew Ng Andrew Ng(Founder of DeepLearning.AI; Cofounder of Coursera; Professor at Stanford), Thomas Wolf Thomas Wolf(Cofounder of Hugging Face), and
4 more.

ag2 by ag2ai

0.7%
4k
AgentOS for building AI agents and facilitating multi-agent cooperation
Created 11 months ago
Updated 3 hours ago
Feedback? Help us improve.