Skip to main content

OpenAGI: Package for AI Agent Creation

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aios_tool-0.0.1.tar.gz (63.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aios_tool-0.0.1-py3-none-any.whl (84.8 kB view details)

Uploaded Python 3

File details

Details for the file aios_tool-0.0.1.tar.gz.

File metadata

  • Download URL: aios_tool-0.0.1.tar.gz
  • Upload date:
  • Size: 63.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for aios_tool-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f8cc9719a22a88d6703e8994859467e0a043a43df07c313572f70b1c7d861c8f
MD5 dcd23f25a0e60088b7eef3664b3b8795
BLAKE2b-256 a303b64dd8526ad5deb1594dad271ae83ff51a60b73ee906973bd7537b5e72e0

See more details on using hashes here.

File details

Details for the file aios_tool-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: aios_tool-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 84.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for aios_tool-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d3a519ae52ed93a1b993b0e5d7a6b87c8530c6fd10957ba695049fd60a28cf
MD5 381a216ed6924550bf09c8d87d45603f
BLAKE2b-256 626cb3aabf82cbb08cfa1e4815fee82837f8ffa9256eae818d94641d12861890

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page