{ "info": { "author": "AgentVerse Team", "author_email": "agentverse2@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "

\ud83e\udd16 AgentVerse \ud83e\ude90

\n\n\n\n

\n \n \"License:\n \n \n \"Python\n \n \n \"Build\"\n \n \n \"Code\n\n \n \"HuggingFace\"\n \n \n \"Discord\"\n \n \n \n

\n\n

\n\n

\n\n

\n \u3010English | Chinese\u3011\n

\n\n**AgentVerse** is designed to facilitate the deployment of multiple LLM-based agents in various applications. AgentVerse primarily provides two frameworks: **task-solving** and **simulation**. \n\n- Task-solving: This framework assembles multiple agents as an automatic multi-agent system ([AgentVerse-Tasksolving](https://arxiv.org/pdf/2308.10848.pdf), [Multi-agent as system](https://arxiv.org/abs/2309.02427)) to collaboratively accomplish the corresponding tasks. \nApplications: software development system, consulting system, etc.\n\n

\n\"Screen\n

\n\n- Simulation: This framework allows users to set up custom environments to observe behaviors among, or interact with, multiple agents. \u26a0\ufe0f\u26a0\ufe0f\u26a0\ufe0f We're refactoring the code. If you require a stable version that exclusively supports simulation framework, you can use [`release-0.1`](https://github.com/OpenBMB/AgentVerse/tree/release-0.1) branch. Applications: game, social behavior research of LLM-based agents, etc.\n\n

\n\"Screen\n

\n\n\n---\n\n\n# \ud83d\udcf0 What's New\n- [2023/10/17] We're super excited to share our open-source AI community hugging face: [`AgentVerse`](https://huggingface.co/spaces/AgentVerse/agentVerse). You are able to try out the two simulation applications, NLP Classroom and Prisoner's Dilemma,with your code of the openai API key and the openai organization. Have fun!\n\n- [2023/10/5] Re-factor our codebase to enable the deployment of both simulation and task-solving framework! We have placed the code for Minecraft example in the paper at the [`minecraft`](https://github.com/OpenBMB/AgentVerse/tree/minecraft) branch. Our tool-using example will soon be updated to the `main` branch. Stay tuned!\n\n- [2023/8/22] We're excited to share our paper [AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors in Agents](https://arxiv.org/abs/2308.10848) that illistrate the task-solving framework \nin detail of AgentVerse.\n\n- [2023/6/5] We are thrilled to present an array of [demos](#-simple-demo-video), including [NLP Classroom](#nlp-classroom), [Prisoner Dilemma](#prisoner-dilemma), [Software Design](#software-design), [Database Administrator](#database-administrator-dba), and a simple [H5 Pokemon Game](#pokemon) that enables the interaction with the characters in Pokemon! Try out these demos and have fun!\n- [2023/5/1] \ud83d\ude80 [AgentVerse](https://github.com/OpenBMB/AgentVerse) is officially launched!\n\n\n\n\n# \ud83d\uddd3 Coming Soon\n- [x] Code release of our [paper](https://arxiv.org/abs/2308.10848)\n- [x] Add support for local LLM (LLaMA, Vicunna, etc.)\n- [ ] Add documentation\n- [ ] Support more sophisticated memory for conversation history\n\n\n\n\n\n\n# Contents\n- [\ud83d\udcf0 What's New](#-whats-new)\n- [\ud83d\uddd3 Coming Soon](#-coming-soon)\n- [Contents](#contents)\n- [\ud83d\ude80 Getting Started](#-getting-started)\n - [Installation](#installation)\n - [Simulation CLI Example](#simulation)\n - [Task-Solving CLI Example](#task-solving)\n- [\ud83c\udf1f Join Us!](#-join-us)\n - [How Can You Contribute?](#how-can-you-contribute)\n- [Social Media and Community](#social-media-and-community)\n- [Star History](#star-history)\n- [Citation](#citation)\n- [Contact](#contact)\n\n\n\n\n# \ud83d\ude80 Getting Started\n\n## Installation\n\n**Manually Install (Recommended!)**\n```bash\ngit clone https://github.com/OpenBMB/AgentVerse.git --depth 1\ncd AgentVerse\npython setup.py develop\n```\nSome users have reported problems installing the `orjson` required by `gradio`. One simple workaround is to install it with Anaconda `conda install -c conda-forge orjson`.\n\n**Install with pip**\n\nOr you can install through pip\n```bash\npip install -U agentverse\n```\n\n\nYou also need to export your OpenAI API key as follows\uff1a\n```bash\n# Export your OpenAI API key\nexport OPENAI_API_KEY=\"your_api_key_here\"\n# Or if you are using Azure\nexport AZURE_OPENAI_API_KEY=\"your_api_key_here\"\nexport AZURE_OPENAI_API_BASE=\"your_api_base_here\"\n```\n\nIf you want use Azure OpenAI services, pleas export your Azure OpenAI key and OpenAI API base as follows\uff1a\n```bash\nexport AZURE_OPENAI_API_KEY=\"your_api_key_here\"\nexport AZURE_OPENAI_API_BASE=\"your_api_base_here\"\n```\n\nIf you want to use the tools provided by BMTools, you need to install BMTools as follows:\n```bash\ngit clone git+https://github.com/OpenBMB/BMTools.git\ncd BMTools\npip install -r requirements.txt\npython setup.py develop\n```\n\n## Simulation\n\n### Framework Required Modules \n```\n- agentverse \n - agents\n - simulation_agent\n - environments\n - simulation_env\n```\n\n### CLI Example\n\nYou can create a multi-agent environments provided by us. Using the classroom scenario as an example. In this scenario, there are nine agents, one playing the role of a professor and the other eight as students.\n\n```shell\nagentverse-simulation --task simulation/nlp_classroom_9players\n```\n\n### GUI Example (Local)\n\nWe also provide a local website demo for this environment. You can launch it with\n\n```shell\nagentverse-simulation-gui --task simulation/nlp_classroom_9players\n```\nAfter successfully launching the local server, you can visit [http://127.0.0.1:7860/](http://127.0.0.1:7860/) to view the classroom environment.\n\n\n## Task-Solving \n\n\n### Framework Required Modules \n```\n- agentverse \n - agents\n - simulation_env\n - environments\n - tasksolving_env\n```\n\n### CLI Example\n\nTo run the experiments with the task-solving environment proposed in our [paper](https://arxiv.org/abs/2308.10848), you can use the following command:\n\nTo run AgentVerse on a benchmark dataset, you can try\n```shell\n# Run the Humaneval benchmark using gpt-3.5-turbo (config file `agentverse/tasks/tasksolving/humaneval/gpt-3.5/config.yaml`)\nagentverse-benchmark --task tasksolving/humaneval/gpt-3.5 --dataset_path data/humaneval/test.jsonl --overwrite\n```\n\nTo run AgentVerse on a specific problem, you can try\n```shell\n# Run a single query (config file `agentverse/tasks/tasksolving/brainstorming/gpt-3.5/config.yaml`). The task is specified in the config file.\nagentverse-tasksolving --task tasksolving/brainstorming\n```\n\nYou can take a look at `agentverse/tasks/tasksolving` for more experiments we have done in our paper.\n\n\n# AgentVerse Showcases\n\n## Simulation Showcases\nRefer to [simulation showcases](README_simulation_cases.md)\n\n## Task-Solving Showcases\nRefer to [tasksolving showcases](README_tasksolving_cases.md)\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n# \ud83c\udf1f Join Us!\nAgentVerse is on a mission to revolutionize the multi-agent environment for large language models, and we're eagerly looking for passionate collaborators to join us on this exciting journey.\n\n## Leaders\n\"Leader\"\n\"Leader\"\n\n## Contributors\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\"Contributor\"\n\n\n## How Can You Contribute?\n- **Issue and Pull-Request**: If you encounter any problems when use AgentVerse, you can propose the issue in English. Beisdes, you can also autonomously ask us to assign issue to you and send the PR (Please follow the [PULL_REQUEST_TEMPLATE](https://github.com/OpenBMB/AgentVerse/blob/main/PULL_REQUEST_TEMPLATE.md)) after you solve it. \n \n- **Code Development**: If you're an engineer, help us refine, optimize, and expand the current framework. We're always looking for talented developers to enhance our existing features and develop new modules.\n\n- **Documentation and Tutorials**: If you have a knack for writing, help us improve our documentation, create tutorials, or write blog posts to make AgentVerse more accessible to the broader community.\n\n- **Application Exploration**: If you're intrigued by multi-agent applications and are eager to experiment using AgentVerse, we'd be thrilled to support your journey and see what you create!\n\n- **Feedback and Suggestions**: Use AgentVerse and provide us with feedback. Your insights can lead to potential improvements and ensure that our framework remains top-notch.\n\nAlso, if you're passionate about advancing the frontiers of multi-agent applications, become core AgentVerse team members, or are eager to dive deeper into agent research. Please reach out [AgentVerse Team](mailto:agentverse2@gmail.com?subject=[GitHub]%AgentVerse%20Project), and CC to [Weize Chen](mailto:chenweize1998@gmail.com?subject=[GitHub]%AgentVerse%20Project) and [Yusheng Su](mailto:yushengsu.thu@gmail.com?subject=[GitHub]%AgentVerse%20Project). We're keen to welcome motivated individuals like you to our team!\n\n\n## Social Media and Community\n\n- Twitter: https://twitter.com/Agentverse71134\n\n- Discord: https://discord.gg/MjG3vzaT.\n\n- Hugging Face: https://huggingface.co/spaces/AgentVerse/agentVerse.\n\n# Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=OpenBMB/AgentVerse&type=Date)](https://star-history.com/#OpenBMB/AgentVerse&Date)\n\n\n## Citation\nIf you find this repo helpful, feel free to cite us.\n```\n@article{chen2023agentverse,\n title={Agentverse: Facilitating multi-agent collaboration and exploring emergent behaviors in agents},\n author={Chen, Weize and Su, Yusheng and Zuo, Jingwei and Yang, Cheng and Yuan, Chenfei and Qian, Chen and Chan, Chi-Min and Qin, Yujia and Lu, Yaxi and Xie, Ruobing and others},\n journal={arXiv preprint arXiv:2308.10848},\n year={2023}\n}\n```\n\n# Contact\n\nAgentVerse Team: agentverse2@gmail.com\n\nProject leaders:\n\n- Weize Chen: chenweize1998@gmail.com\n\n- [Yusheng Su](https://yushengsu-thu.github.io/): yushengsu.thu@gmail.com\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OpenBMB/AgentVerse", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "agentverse", "package_url": "https://pypi.org/project/agentverse/", "platform": null, "project_url": "https://pypi.org/project/agentverse/", "project_urls": { "Homepage": "https://github.com/OpenBMB/AgentVerse" }, "release_url": "https://pypi.org/project/agentverse/0.1.8.1/", "requires_dist": [ "pyyaml", "fastapi ==0.95.1", "uvicorn", "py3langid", "iso-639", "openai ==0.27.8", "opencv-python ==4.8.0.76", "gradio", "httpx[socks] ==0.25.0", "astunparse", "langchain ==0.0.157", "scikit-learn", "pydantic ==1.10.7", "typing-extensions ==4.5.0", "typing-inspect ==0.8.0", "colorlog", "rapidfuzz", "spacy", "colorama ==0.4.6", "fschat[model_worker,webui]" ], "requires_python": ">=3.9", "summary": "A versatile framework that streamlines the process of creating custom multi-agent environments for large language models (LLMs).", "version": "0.1.8.1", "yanked": false, "yanked_reason": null }, "last_serial": 20363985, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "blake2b_256": "cdc835471326cb37933bb7295a34dc5a1b5b65a4df3facdd0990fde02f9cff06", "md5": "7adb697173dfb6c44255ba5e9d5463c9", "sha256": "99d878633ecb4256c3c45d2b5c09daaafada6f48fa1d05ac82deae527fa6fcd5" }, "downloads": -1, "filename": "agentverse-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "7adb697173dfb6c44255ba5e9d5463c9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.9", "size": 116280, "upload_time": "2023-07-04T02:13:59", "upload_time_iso_8601": "2023-07-04T02:13:59.825224Z", "url": "https://files.pythonhosted.org/packages/cd/c8/35471326cb37933bb7295a34dc5a1b5b65a4df3facdd0990fde02f9cff06/agentverse-0.1.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "bb88e7cd15d77203c84de4618f3e31ecc4dfe9f34a685a01593eb224b2064dd7", "md5": "3ba4e1fd922b7d8d28395783650a1017", "sha256": "416e50d84ea689ef89f0240313c40bb7c5ea7b36a2557dd60ea863e201d8604d" }, "downloads": -1, "filename": "agentverse-0.1.3.tar.gz", "has_sig": false, "md5_digest": "3ba4e1fd922b7d8d28395783650a1017", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.9", "size": 71893, "upload_time": "2023-07-04T02:14:02", "upload_time_iso_8601": "2023-07-04T02:14:02.553575Z", "url": "https://files.pythonhosted.org/packages/bb/88/e7cd15d77203c84de4618f3e31ecc4dfe9f34a685a01593eb224b2064dd7/agentverse-0.1.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.4": [ { "comment_text": "", "digests": { "blake2b_256": "4d6156eff659770b707a272c4dcef444779a51b1491744d821c4de23aebdbefb", "md5": "3619a2fb61f0921431c2d898fbcaf708", "sha256": "9e99f703f42f3b81a23c1b014822e6fc503f3f4e17e088954b574a63f5e1ee9d" }, "downloads": -1, "filename": "agentverse-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "3619a2fb61f0921431c2d898fbcaf708", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.9", "size": 112986, "upload_time": "2023-10-10T04:49:22", "upload_time_iso_8601": "2023-10-10T04:49:22.662714Z", "url": "https://files.pythonhosted.org/packages/4d/61/56eff659770b707a272c4dcef444779a51b1491744d821c4de23aebdbefb/agentverse-0.1.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "b267b661d576aa607a75a83e357957d92e981daf71cabc011bce61f2d51926d5", "md5": "898d141104bef2b6ace2dcdf7b827d23", "sha256": "eb010e0a5f37406466cf4452eccbe6f8d7e0f92de494504770e8e7c30c308a51" }, "downloads": -1, "filename": "agentverse-0.1.4.tar.gz", "has_sig": false, "md5_digest": "898d141104bef2b6ace2dcdf7b827d23", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.9", "size": 78842, "upload_time": "2023-10-10T04:49:24", "upload_time_iso_8601": "2023-10-10T04:49:24.851859Z", "url": "https://files.pythonhosted.org/packages/b2/67/b661d576aa607a75a83e357957d92e981daf71cabc011bce61f2d51926d5/agentverse-0.1.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.5": [ { "comment_text": "", "digests": { "blake2b_256": "ae199c7d8c9028b60ac52bf57159c3489582df1790851a00bfb6be94e3671688", "md5": "d008a83b7a4e59fe2d086e4bb50597ff", "sha256": "a80208e8dabc8bc2a8c2db164f056096e816fd5f47a645808cbe5ac18f882bf0" }, "downloads": -1, "filename": "agentverse-0.1.5-py3-none-any.whl", "has_sig": false, "md5_digest": "d008a83b7a4e59fe2d086e4bb50597ff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.9", "size": 123395, "upload_time": "2023-10-10T08:40:28", "upload_time_iso_8601": "2023-10-10T08:40:28.536116Z", "url": "https://files.pythonhosted.org/packages/ae/19/9c7d8c9028b60ac52bf57159c3489582df1790851a00bfb6be94e3671688/agentverse-0.1.5-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "bb8fb677add90934695286894af46aaa40138b1c882fee803e213d194eceb93f", "md5": "f07e36f9e20f71790fb28be37a62f425", "sha256": "8679fb2c839a15f2bd7e5a2c40bfc007fa20deda53d5f737ab4f15631772d292" }, "downloads": -1, "filename": "agentverse-0.1.5.tar.gz", "has_sig": false, "md5_digest": "f07e36f9e20f71790fb28be37a62f425", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.9", "size": 87684, "upload_time": "2023-10-10T08:40:31", "upload_time_iso_8601": "2023-10-10T08:40:31.514952Z", "url": "https://files.pythonhosted.org/packages/bb/8f/b677add90934695286894af46aaa40138b1c882fee803e213d194eceb93f/agentverse-0.1.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.8": [ { "comment_text": "", "digests": { "blake2b_256": "271e238d5aab34df8296ca3d84be4c18e0373b3812418516c001db2dc867e88f", "md5": "8cdfa34d9d2680b506fcc9c409bd7496", "sha256": "6755ae3c385af42c6cdeb81893d33d97d406488c2ae1e3e39205dc8ff70bbc96" }, "downloads": -1, "filename": "agentverse-0.1.8-py3-none-any.whl", "has_sig": false, "md5_digest": "8cdfa34d9d2680b506fcc9c409bd7496", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.9", "size": 295398, "upload_time": "2023-10-12T11:41:53", "upload_time_iso_8601": "2023-10-12T11:41:53.947657Z", "url": "https://files.pythonhosted.org/packages/27/1e/238d5aab34df8296ca3d84be4c18e0373b3812418516c001db2dc867e88f/agentverse-0.1.8-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "9795a531d569bd57f34374194ce0464c2b368d5eaa53b00ca6ea8929be77f97b", "md5": "c4452f164161856e6b070fe73080b34d", "sha256": "f5d6a4133efe8ff39081c3bdfece1895ff6d6308ec28cbd1119a74329eb2b934" }, "downloads": -1, "filename": "agentverse-0.1.8.tar.gz", "has_sig": false, "md5_digest": "c4452f164161856e6b070fe73080b34d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.9", "size": 154394, "upload_time": "2023-10-12T11:41:56", "upload_time_iso_8601": "2023-10-12T11:41:56.356150Z", "url": "https://files.pythonhosted.org/packages/97/95/a531d569bd57f34374194ce0464c2b368d5eaa53b00ca6ea8929be77f97b/agentverse-0.1.8.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.8.1": [ { "comment_text": "", "digests": { "blake2b_256": "2b0a2ae2e091dc482feb31a7ead6a00e646941b3054d8024e8205a91540ffcbc", "md5": "ba5908f493f29d52be75eb65e06ab73f", "sha256": "f424a1622a710caae6fe7ea7f308ceef9d600f95401f556445f7988106cb5cbb" }, "downloads": -1, "filename": "agentverse-0.1.8.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ba5908f493f29d52be75eb65e06ab73f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.9", "size": 300778, "upload_time": "2023-10-27T14:16:53", "upload_time_iso_8601": "2023-10-27T14:16:53.685560Z", "url": "https://files.pythonhosted.org/packages/2b/0a/2ae2e091dc482feb31a7ead6a00e646941b3054d8024e8205a91540ffcbc/agentverse-0.1.8.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "3a427fb7428ac75dad7c20507ddfdd76b1f428e57818fd3e121b908d7783dff4", "md5": "3cffabc4062b20a395f112f3cb9f78be", "sha256": "dbaa47af8a07cd8bdab266ee101d76fb291ba2a7c096b65a746069a7accef26c" }, "downloads": -1, "filename": "agentverse-0.1.8.1.tar.gz", "has_sig": false, "md5_digest": "3cffabc4062b20a395f112f3cb9f78be", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.9", "size": 4364186, "upload_time": "2023-10-27T14:16:57", "upload_time_iso_8601": "2023-10-27T14:16:57.471737Z", "url": "https://files.pythonhosted.org/packages/3a/42/7fb7428ac75dad7c20507ddfdd76b1f428e57818fd3e121b908d7783dff4/agentverse-0.1.8.1.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "blake2b_256": "2b0a2ae2e091dc482feb31a7ead6a00e646941b3054d8024e8205a91540ffcbc", "md5": "ba5908f493f29d52be75eb65e06ab73f", "sha256": "f424a1622a710caae6fe7ea7f308ceef9d600f95401f556445f7988106cb5cbb" }, "downloads": -1, "filename": "agentverse-0.1.8.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ba5908f493f29d52be75eb65e06ab73f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.9", "size": 300778, "upload_time": "2023-10-27T14:16:53", "upload_time_iso_8601": "2023-10-27T14:16:53.685560Z", "url": "https://files.pythonhosted.org/packages/2b/0a/2ae2e091dc482feb31a7ead6a00e646941b3054d8024e8205a91540ffcbc/agentverse-0.1.8.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "blake2b_256": "3a427fb7428ac75dad7c20507ddfdd76b1f428e57818fd3e121b908d7783dff4", "md5": "3cffabc4062b20a395f112f3cb9f78be", "sha256": "dbaa47af8a07cd8bdab266ee101d76fb291ba2a7c096b65a746069a7accef26c" }, "downloads": -1, "filename": "agentverse-0.1.8.1.tar.gz", "has_sig": false, "md5_digest": "3cffabc4062b20a395f112f3cb9f78be", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.9", "size": 4364186, "upload_time": "2023-10-27T14:16:57", "upload_time_iso_8601": "2023-10-27T14:16:57.471737Z", "url": "https://files.pythonhosted.org/packages/3a/42/7fb7428ac75dad7c20507ddfdd76b1f428e57818fd3e121b908d7783dff4/agentverse-0.1.8.1.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }