OpenAGI
OpenAGI is a Python package for creating AI agents, designed to build agents for the AIOS platform. It provides a structured framework for developing, sharing, and downloading agents, with support for integrating external tools. It is intended for developers who want to build and distribute AI agents within the AIOS ecosystem.
✨ Key features
- Structured agent creation with folder-based templates
- Support for external tool integration
- Upload and download agents for sharing
- Configuration via config.json and dependencies via meta_requirements.txt
- Compatible with AIOS platform
🎯 Use cases
- Develop custom AI agents for AIOS
- Integrate external tools into agents
- Share agents with the community
- Download and reuse agents built by others
📦 Installation
🧰 Requirements: Python environment with pip; no specific OS or API keys mentioned.
pip install pyopenagigit clone https://agiresearch/OpenAGI
cd OpenAGI
pip install -e .🚀 Usage
To add a new agent, create a folder under pyopenagi/agents with the structure:
- pyopenagi/agents
- author
- agent_name
- agent.py
- config.json
- meta_requirements.txt
To upload an agent:
python pyopenagi/agents/interact.py --mode upload --agent <agent_name>
To download an agent:
python pyopenagi/agents/interact.py --mode download --agent <agent_name>
⚠️ Good to know
The README notes that for building agents in AIOS, users should migrate to Cerebrum, the latest SDK, implying OpenAGI may be deprecated for that purpose.
❓ FAQ
How do I install OpenAGI?
You can install it from PyPI with pip install pyopenagi or clone the repository and run pip install -e ..
How do I create a new agent?
Create a folder under pyopenagi/agents with the structure: author/agent_name containing agent.py, config.json, and meta_requirements.txt.
How can I share my agent?
Use the command python pyopenagi/agents/interact.py --mode upload --agent <agent_name> to upload your agent.
Is OpenAGI still recommended for building AIOS agents?
No, the README advises migrating to Cerebrum, the latest SDK for connecting with the AIOS kernel.
📊 Repository
🤖 Overview, features, install steps and FAQ were generated from the project's README on Sep 4, 2026. Always check the original source before running commands.