Skip to main content

OpenAGI: Package for AI Agent Creation

Code License

✈️ Getting Started

OpenAGI is used as the agent creation package to build agents for AIOS.

Installation

From PyPI

pip install pyopenagi

Locally

git clone https://agiresearch/OpenAGI
cd OpenAGI
pip install -e .

Usage

Add a new agent

To add a new agent, first you need to create a folder under the pyopenagi/agents folder. The folder needs to be the following structure:

- pyopenagi/agents
  - author
    - agent_name
      - agent.py # main code for the agent execution logic
      - config.json # set up configurations for agent
      - meta_requirements.txt # dependencies that the agent needs

If you want to use external tools provided by openagi in your agents, you can follow instructions of setting up tools in How to setup external tools. If you want to add new tools for your developing agent, you need to add a new tool file in the folder.

Upload agent

If you have developed and tested your agent, and you would like to share your agents, you can use the following to upload your agents

python pyopenagi/agents/interact.py --mode upload --agent <author_name/agent_name>

💡Note that the agent param must exactly match the folder you put your agent locally.

Download agent

If you want to look at implementations of other agents that others have developed, you can use the following command:

python pyopenagi/agents/interact.py --mode download --agent <author_name/agent_name>

🚀 Contributions

For detailed information on how to contribute, see CONTRIBUTE. If you would like to contribute to the codebase, issues or pull requests are always welcome!

🖋️ Research

Please check out our implementation for our research paper OpenAGI: When LLM Meets Domain Experts.

@article{openagi,
  title={OpenAGI: When LLM Meets Domain Experts},
  author={Ge, Yingqiang and Hua, Wenyue and Mei, Kai and Ji, Jianchao and Tan, Juntao and Xu, Shuyuan and Li, Zelong and Zhang, Yongfeng},
  journal={In Advances in Neural Information Processing Systems (NeurIPS)},
  year={2023}
}

🌍 OpenAGI Contributors

OpenAGI contributors

🌟 Star History

Star History Chart

Metadata

Release files for pyopenagi 0.0.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyopenagi 0.0.11
File Size Uploaded
pyopenagi-0.0.11.tar.gz 127.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyopenagi 0.0.11
File Interpreter ABI Platform
pyopenagi-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 312.4 kB

Release files / pyopenagi-0.0.11.tar.gz

Download URL pyopenagi-0.0.11.tar.gz
Size 127.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b535924fe6cff1c7f924d3e1059e77aacdedf3e829fdd738491615ddeda9bcee
BLAKE2b-256 checksum
How to use checksums
3a3368041ccff0b78335c4820378602cef7384bd193a027acce68ad45f9c6716
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / pyopenagi-0.0.11-py3-none-any.whl

Download URL pyopenagi-0.0.11-py3-none-any.whl
Size 185.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b03262a2b7e96005818e52b85d4a04d4ae9f315e1bbd0a67518e94b4308e43a
BLAKE2b-256 checksum
How to use checksums
e7a7159ae2f8b161d6cbcb559499ef954882a10e0c32c023cbd3fd7e07f92fdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

0.0.11 This release

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

1 release file

0.0.4

1 release file

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page