init
This commit is contained in:
523
AlgoriAgent/src/agentscope.egg-info/PKG-INFO
Normal file
523
AlgoriAgent/src/agentscope.egg-info/PKG-INFO
Normal file
@@ -0,0 +1,523 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: agentscope
|
||||
Version: 0.0.6a3
|
||||
Summary: AgentScope: A Flexible yet Robust Multi-Agent Platform.
|
||||
Home-page: https://github.com/modelscope/agentscope
|
||||
Download-URL: https://github.com/modelscope/agentscope/archive/v0.0.6alpha3.tar.gz
|
||||
Author: SysML team of Alibaba Tongyi Lab
|
||||
Author-email: gaodawei.gdw@alibaba-inc.com
|
||||
License: Apache License 2.0
|
||||
Keywords: deep-learning,multi agents,agents
|
||||
Classifier: Development Status :: 4 - Beta
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: License :: OSI Approved :: Apache Software License
|
||||
Classifier: Operating System :: OS Independent
|
||||
Requires-Python: >=3.9
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE
|
||||
Requires-Dist: networkx
|
||||
Requires-Dist: black
|
||||
Requires-Dist: docstring_parser
|
||||
Requires-Dist: pydantic
|
||||
Requires-Dist: loguru==0.6.0
|
||||
Requires-Dist: tiktoken
|
||||
Requires-Dist: Pillow
|
||||
Requires-Dist: requests
|
||||
Requires-Dist: chardet
|
||||
Requires-Dist: inputimeout
|
||||
Requires-Dist: openai>=1.3.0
|
||||
Requires-Dist: numpy
|
||||
Requires-Dist: Flask==3.0.0
|
||||
Requires-Dist: Flask-Cors==4.0.0
|
||||
Requires-Dist: Flask-SocketIO==5.3.6
|
||||
Requires-Dist: flask_sqlalchemy
|
||||
Requires-Dist: flake8
|
||||
Requires-Dist: dashscope==1.14.1
|
||||
Requires-Dist: openai>=1.3.0
|
||||
Requires-Dist: ollama>=0.1.7
|
||||
Requires-Dist: google-generativeai>=0.4.0
|
||||
Requires-Dist: zhipuai
|
||||
Requires-Dist: litellm
|
||||
Requires-Dist: psutil
|
||||
Requires-Dist: scipy
|
||||
Provides-Extra: distribute
|
||||
Requires-Dist: networkx; extra == "distribute"
|
||||
Requires-Dist: black; extra == "distribute"
|
||||
Requires-Dist: docstring_parser; extra == "distribute"
|
||||
Requires-Dist: pydantic; extra == "distribute"
|
||||
Requires-Dist: loguru==0.6.0; extra == "distribute"
|
||||
Requires-Dist: tiktoken; extra == "distribute"
|
||||
Requires-Dist: Pillow; extra == "distribute"
|
||||
Requires-Dist: requests; extra == "distribute"
|
||||
Requires-Dist: chardet; extra == "distribute"
|
||||
Requires-Dist: inputimeout; extra == "distribute"
|
||||
Requires-Dist: openai>=1.3.0; extra == "distribute"
|
||||
Requires-Dist: numpy; extra == "distribute"
|
||||
Requires-Dist: Flask==3.0.0; extra == "distribute"
|
||||
Requires-Dist: Flask-Cors==4.0.0; extra == "distribute"
|
||||
Requires-Dist: Flask-SocketIO==5.3.6; extra == "distribute"
|
||||
Requires-Dist: flask_sqlalchemy; extra == "distribute"
|
||||
Requires-Dist: flake8; extra == "distribute"
|
||||
Requires-Dist: dashscope==1.14.1; extra == "distribute"
|
||||
Requires-Dist: openai>=1.3.0; extra == "distribute"
|
||||
Requires-Dist: ollama>=0.1.7; extra == "distribute"
|
||||
Requires-Dist: google-generativeai>=0.4.0; extra == "distribute"
|
||||
Requires-Dist: zhipuai; extra == "distribute"
|
||||
Requires-Dist: litellm; extra == "distribute"
|
||||
Requires-Dist: psutil; extra == "distribute"
|
||||
Requires-Dist: scipy; extra == "distribute"
|
||||
Requires-Dist: grpcio==1.60.0; extra == "distribute"
|
||||
Requires-Dist: grpcio-tools==1.60.0; extra == "distribute"
|
||||
Requires-Dist: protobuf==4.25.0; extra == "distribute"
|
||||
Requires-Dist: expiringdict; extra == "distribute"
|
||||
Requires-Dist: dill; extra == "distribute"
|
||||
Provides-Extra: dev
|
||||
Requires-Dist: networkx; extra == "dev"
|
||||
Requires-Dist: black; extra == "dev"
|
||||
Requires-Dist: docstring_parser; extra == "dev"
|
||||
Requires-Dist: pydantic; extra == "dev"
|
||||
Requires-Dist: loguru==0.6.0; extra == "dev"
|
||||
Requires-Dist: tiktoken; extra == "dev"
|
||||
Requires-Dist: Pillow; extra == "dev"
|
||||
Requires-Dist: requests; extra == "dev"
|
||||
Requires-Dist: chardet; extra == "dev"
|
||||
Requires-Dist: inputimeout; extra == "dev"
|
||||
Requires-Dist: openai>=1.3.0; extra == "dev"
|
||||
Requires-Dist: numpy; extra == "dev"
|
||||
Requires-Dist: Flask==3.0.0; extra == "dev"
|
||||
Requires-Dist: Flask-Cors==4.0.0; extra == "dev"
|
||||
Requires-Dist: Flask-SocketIO==5.3.6; extra == "dev"
|
||||
Requires-Dist: flask_sqlalchemy; extra == "dev"
|
||||
Requires-Dist: flake8; extra == "dev"
|
||||
Requires-Dist: dashscope==1.14.1; extra == "dev"
|
||||
Requires-Dist: openai>=1.3.0; extra == "dev"
|
||||
Requires-Dist: ollama>=0.1.7; extra == "dev"
|
||||
Requires-Dist: google-generativeai>=0.4.0; extra == "dev"
|
||||
Requires-Dist: zhipuai; extra == "dev"
|
||||
Requires-Dist: litellm; extra == "dev"
|
||||
Requires-Dist: psutil; extra == "dev"
|
||||
Requires-Dist: scipy; extra == "dev"
|
||||
Requires-Dist: pytest; extra == "dev"
|
||||
Requires-Dist: pytest-cov; extra == "dev"
|
||||
Requires-Dist: pre-commit; extra == "dev"
|
||||
Provides-Extra: full
|
||||
Requires-Dist: networkx; extra == "full"
|
||||
Requires-Dist: black; extra == "full"
|
||||
Requires-Dist: docstring_parser; extra == "full"
|
||||
Requires-Dist: pydantic; extra == "full"
|
||||
Requires-Dist: loguru==0.6.0; extra == "full"
|
||||
Requires-Dist: tiktoken; extra == "full"
|
||||
Requires-Dist: Pillow; extra == "full"
|
||||
Requires-Dist: requests; extra == "full"
|
||||
Requires-Dist: chardet; extra == "full"
|
||||
Requires-Dist: inputimeout; extra == "full"
|
||||
Requires-Dist: openai>=1.3.0; extra == "full"
|
||||
Requires-Dist: numpy; extra == "full"
|
||||
Requires-Dist: Flask==3.0.0; extra == "full"
|
||||
Requires-Dist: Flask-Cors==4.0.0; extra == "full"
|
||||
Requires-Dist: Flask-SocketIO==5.3.6; extra == "full"
|
||||
Requires-Dist: flask_sqlalchemy; extra == "full"
|
||||
Requires-Dist: flake8; extra == "full"
|
||||
Requires-Dist: dashscope==1.14.1; extra == "full"
|
||||
Requires-Dist: openai>=1.3.0; extra == "full"
|
||||
Requires-Dist: ollama>=0.1.7; extra == "full"
|
||||
Requires-Dist: google-generativeai>=0.4.0; extra == "full"
|
||||
Requires-Dist: zhipuai; extra == "full"
|
||||
Requires-Dist: litellm; extra == "full"
|
||||
Requires-Dist: psutil; extra == "full"
|
||||
Requires-Dist: scipy; extra == "full"
|
||||
Requires-Dist: grpcio==1.60.0; extra == "full"
|
||||
Requires-Dist: grpcio-tools==1.60.0; extra == "full"
|
||||
Requires-Dist: protobuf==4.25.0; extra == "full"
|
||||
Requires-Dist: expiringdict; extra == "full"
|
||||
Requires-Dist: dill; extra == "full"
|
||||
Requires-Dist: docker; extra == "full"
|
||||
Requires-Dist: pymongo; extra == "full"
|
||||
Requires-Dist: pymysql; extra == "full"
|
||||
Requires-Dist: bs4; extra == "full"
|
||||
Requires-Dist: beautifulsoup4; extra == "full"
|
||||
Requires-Dist: feedparser; extra == "full"
|
||||
Requires-Dist: sphinx; extra == "full"
|
||||
Requires-Dist: sphinx-autobuild; extra == "full"
|
||||
Requires-Dist: sphinx_rtd_theme; extra == "full"
|
||||
Requires-Dist: myst-parser; extra == "full"
|
||||
Requires-Dist: sphinxcontrib-mermaid; extra == "full"
|
||||
Requires-Dist: pytest; extra == "full"
|
||||
Requires-Dist: pytest-cov; extra == "full"
|
||||
Requires-Dist: pre-commit; extra == "full"
|
||||
Requires-Dist: gradio==4.19.1; extra == "full"
|
||||
Requires-Dist: modelscope_studio==0.0.5; extra == "full"
|
||||
Requires-Dist: llama-index==0.10.30; extra == "full"
|
||||
|
||||
English | [**中文**](https://github.com/modelscope/agentscope/blob/main/README_ZH.md)
|
||||
|
||||
# AgentScope
|
||||
|
||||
<h1 align="left">
|
||||
<img src="https://img.alicdn.com/imgextra/i2/O1CN01cdjhVE1wwt5Auv7bY_!!6000000006373-0-tps-1792-1024.jpg" width="600" alt="agentscope-logo">
|
||||
</h1>
|
||||
|
||||
Start building LLM-empowered multi-agent applications in an easier way.
|
||||
|
||||
[](https://arxiv.org/abs/2402.14034)
|
||||
[](https://pypi.org/project/agentscope/)
|
||||
[](https://pypi.org/project/agentscope/)
|
||||
[](https://modelscope.github.io/agentscope/#welcome-to-agentscope-tutorial-hub)
|
||||
[](https://modelscope.github.io/agentscope/)
|
||||
[](https://modelscope.cn/studios?name=agentscope&page=1&sort=latest)
|
||||
|
||||
[](./LICENSE)
|
||||
[](https://modelscope.github.io/agentscope/tutorial/contribute.html)
|
||||
|
||||
If you find our work helpful, please kindly
|
||||
cite [our paper](https://arxiv.org/abs/2402.14034).
|
||||
|
||||
Welcome to join our community on
|
||||
|
||||
| [Discord](https://discord.gg/eYMpfnkG8h) | DingTalk |
|
||||
|----------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|
|
||||
| <img src="https://gw.alicdn.com/imgextra/i1/O1CN01hhD1mu1Dd3BWVUvxN_!!6000000000238-2-tps-400-400.png" width="100" height="100"> | <img src="https://img.alicdn.com/imgextra/i2/O1CN01tuJ5971OmAqNg9cOw_!!6000000001747-0-tps-444-460.jpg" width="100" height="100"> |
|
||||
|
||||
----
|
||||
|
||||
## News
|
||||
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2024-06-14]** A new prompt tuning module is available in AgentScope to help developers generate and optimize the agents' system prompts! Refer to our [tutorial](https://modelscope.github.io/agentscope/en/tutorial/209-prompt_opt.html) for more details!
|
||||
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2024-06-11]** The RAG functionality is available for agents in **AgentScope** now! [**A quick introduction to RAG in AgentScope**](https://modelscope.github.io/agentscope/en/tutorial/210-rag.html) can help you equip your agent with external knowledge!
|
||||
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2024-06-09]** We release **AgentScope** v0.0.5 now! In this new version, [**AgentScope Workstation**](https://modelscope.github.io/agentscope/en/tutorial/209-gui.html) (the online version is running on [agentscope.io](https://agentscope.io)) is open-sourced with the refactored [**AgentScope Studio**](https://modelscope.github.io/agentscope/en/tutorial/209-gui.html)!
|
||||
|
||||
<h5 align="center">
|
||||
<img src="https://img.alicdn.com/imgextra/i1/O1CN01RXAVVn1zUtjXVvuqS_!!6000000006718-1-tps-3116-1852.gif" width="600" alt="agentscope-logo">
|
||||
</h5>
|
||||
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2024-05-24]** We are pleased to announce that features related to the **AgentScope Workstation** will soon be open-sourced! The online website services are temporarily offline. The online website service will be upgraded and back online shortly. Stay tuned...
|
||||
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2024-05-15]** A new **Parser Module** for **formatted response** is added in AgentScope! Refer to our [tutorial](https://modelscope.github.io/agentscope/en/tutorial/203-parser.html) for more details. The [`DictDialogAgent`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/agents/dict_dialog_agent.py) and [werewolf game](https://github.com/modelscope/agentscope/tree/main/examples/game_werewolf) example are updated simultaneously.
|
||||
|
||||
<https://github.com/qbc2016/AgentScope/assets/22984042/22d45aee-3470-4923-850f-348a5b0faaa7>
|
||||
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2024-05-14]** Dear AgentScope users, we are conducting a survey on **AgentScope Workstation & Copilot** user experience. We currently need your valuable feedback to help us improve the experience of AgentScope's Drag & Drop multi-agent application development and Copilot. Your feedback is valuable and the survey will take about 3~5 minutes. Please click [URL](https://survey.aliyun.com/apps/zhiliao/vgpTppn22) to participate in questionnaire surveys. Thank you very much for your support and contribution!
|
||||
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>**[2024-05-14]** AgentScope supports **gpt-4o** as well as other OpenAI vision models now! Try gpt-4o with its [model configuration](./examples/model_configs_template/openai_chat_template.json) and new example [Conversation with gpt-4o](./examples/conversation_with_gpt-4o)!
|
||||
|
||||
- **[2024-04-30]** We release **AgentScope** v0.0.4 now!
|
||||
|
||||
- **[2024-04-27]** [AgentScope Workstation](https://agentscope.aliyun.com/) is now online! You are welcome to try building your multi-agent application simply with our *drag-and-drop platform* and ask our *copilot* questions about AgentScope!
|
||||
|
||||
- **[2024-04-19]** AgentScope supports Llama3 now! We provide [scripts](https://github.com/modelscope/agentscope/blob/main/examples/model_llama3) and example [model configuration](https://github.com/modelscope/agentscope/blob/main/examples/model_llama3) for quick set-up. Feel free to try llama3 in our examples!
|
||||
|
||||
- **[2024-04-06]** We release **AgentScope** v0.0.3 now!
|
||||
|
||||
- **[2024-04-06]** New examples [Gomoku](https://github.com/modelscope/agentscope/blob/main/examples/game_gomoku), [Conversation with ReAct Agent](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_react_agent), [Conversation with RAG Agent](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_RAG_agents) and [Distributed Parallel Optimization](https://github.com/modelscope/agentscope/blob/main/examples/distributed_parallel_optimization) are available now!
|
||||
|
||||
- **[2024-03-19]** We release **AgentScope** v0.0.2 now! In this new version,
|
||||
AgentScope supports [ollama](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#supported-models)(A local CPU inference engine), [DashScope](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#supported-models) and Google [Gemini](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#supported-models) APIs.
|
||||
|
||||
- **[2024-03-19]** New examples ["Autonomous Conversation with Mentions"](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_mentions) and ["Basic Conversation with LangChain library"](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_langchain) are available now!
|
||||
|
||||
- **[2024-03-19]** The [Chinese tutorial](https://modelscope.github.io/agentscope/zh_CN/index.html) of AgentScope is online now!
|
||||
|
||||
- **[2024-02-27]** We release **AgentScope v0.0.1** now, which is also
|
||||
available in [PyPI](https://pypi.org/project/agentscope/)!
|
||||
- **[2024-02-14]** We release our paper "AgentScope: A Flexible yet Robust
|
||||
Multi-Agent Platform" in [arXiv](https://arxiv.org/abs/2402.14034) now!
|
||||
|
||||
---
|
||||
|
||||
## What's AgentScope?
|
||||
|
||||
AgentScope is an innovative multi-agent platform designed to empower developers
|
||||
to build multi-agent applications with large-scale models.
|
||||
It features three high-level capabilities:
|
||||
|
||||
- 🤝 **Easy-to-Use**: Designed for developers, with [fruitful components](https://modelscope.github.io/agentscope/en/tutorial/204-service.html#),
|
||||
[comprehensive documentation](https://modelscope.github.io/agentscope/en/index.html), and broad compatibility. Besides, [AgentScope Workstation](https://agentscope.aliyun.com/) provides a *drag-and-drop programming platform* and a *copilot* for beginners of AgentScope!
|
||||
|
||||
- ✅ **High Robustness**: Supporting customized fault-tolerance controls and
|
||||
retry mechanisms to enhance application stability.
|
||||
|
||||
- 🚀 **Actor-Based Distribution**: Building distributed multi-agent
|
||||
applications in a centralized programming manner for streamlined development.
|
||||
|
||||
**Supported Model Libraries**
|
||||
|
||||
AgentScope provides a list of `ModelWrapper` to support both local model
|
||||
services and third-party model APIs.
|
||||
|
||||
| API | Task | Model Wrapper | Configuration | Some Supported Models |
|
||||
|------------------------|-----------------|---------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
|
||||
| OpenAI API | Chat | [`OpenAIChatWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/openai_model.py) |[guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#openai-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/openai_chat_template.json) | gpt-4o, gpt-4, gpt-3.5-turbo, ... |
|
||||
| | Embedding | [`OpenAIEmbeddingWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/openai_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#openai-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/openai_embedding_template.json) | text-embedding-ada-002, ... |
|
||||
| | DALL·E | [`OpenAIDALLEWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/openai_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#openai-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/openai_dall_e_template.json) | dall-e-2, dall-e-3 |
|
||||
| DashScope API | Chat | [`DashScopeChatWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/dashscope_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#dashscope-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/dashscope_chat_template.json) | qwen-plus, qwen-max, ... |
|
||||
| | Image Synthesis | [`DashScopeImageSynthesisWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/dashscope_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#dashscope-api) <br>[template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/dashscope_image_synthesis_template.json) | wanx-v1 |
|
||||
| | Text Embedding | [`DashScopeTextEmbeddingWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/dashscope_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#dashscope-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/dashscope_text_embedding_template.json) | text-embedding-v1, text-embedding-v2, ... |
|
||||
| | Multimodal | [`DashScopeMultiModalWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/dashscope_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#dashscope-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/dashscope_multimodal_template.json) | qwen-vl-max, qwen-vl-chat-v1, qwen-audio-chat |
|
||||
| Gemini API | Chat | [`GeminiChatWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/gemini_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#gemini-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/gemini_chat_template.json) | gemini-pro, ... |
|
||||
| | Embedding | [`GeminiEmbeddingWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/gemini_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#gemini-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/gemini_embedding_template.json) | models/embedding-001, ... |
|
||||
| ZhipuAI API | Chat | [`ZhipuAIChatWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/zhipu_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#zhipu-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/zhipu_chat_template.json) | glm-4, ... |
|
||||
| | Embedding | [`ZhipuAIEmbeddingWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/zhipu_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#zhipu-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/zhipu_embedding_template.json) | embedding-2, ... |
|
||||
| ollama | Chat | [`OllamaChatWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/ollama_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#ollama-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/ollama_chat_template.json) | llama3, llama2, Mistral, ... |
|
||||
| | Embedding | [`OllamaEmbeddingWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/ollama_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#ollama-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/ollama_embedding_template.json) | llama2, Mistral, ... |
|
||||
| | Generation | [`OllamaGenerationWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/ollama_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#ollama-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/ollama_generate_template.json) | llama2, Mistral, ... |
|
||||
| LiteLLM API | Chat | [`LiteLLMChatWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/litellm_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#litellm-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/litellm_chat_template.json) | [models supported by litellm](https://docs.litellm.ai/docs/)... |
|
||||
| Post Request based API | - | [`PostAPIModelWrapper`](https://github.com/modelscope/agentscope/blob/main/src/agentscope/models/post_model.py) | [guidance](https://modelscope.github.io/agentscope/en/tutorial/203-model.html#post-request-api) <br> [template](https://github.com/modelscope/agentscope/blob/main/examples/model_configs_template/postapi_model_config_template.json) | - |
|
||||
|
||||
**Supported Local Model Deployment**
|
||||
|
||||
AgentScope enables developers to rapidly deploy local model services using
|
||||
the following libraries.
|
||||
|
||||
- [ollama (CPU inference)](https://github.com/modelscope/agentscope/blob/main/scripts/README.md#ollama)
|
||||
- [Flask + Transformers](https://github.com/modelscope/agentscope/blob/main/scripts/README.md#with-transformers-library)
|
||||
- [Flask + ModelScope](https://github.com/modelscope/agentscope/blob/main/scripts/README.md#with-modelscope-library)
|
||||
- [FastChat](https://github.com/modelscope/agentscope/blob/main/scripts/README.md#fastchat)
|
||||
- [vllm](https://github.com/modelscope/agentscope/blob/main/scripts/README.md#vllm)
|
||||
|
||||
**Supported Services**
|
||||
|
||||
- Web Search
|
||||
- Data Query
|
||||
- Retrieval
|
||||
- Code Execution
|
||||
- File Operation
|
||||
- Text Processing
|
||||
- Multi Modality
|
||||
|
||||
**Example Applications**
|
||||
|
||||
- Model
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>[Using Llama3 in AgentScope](https://github.com/modelscope/agentscope/blob/main/examples/model_llama3)
|
||||
|
||||
- Conversation
|
||||
- [Basic Conversation](https://github.com/modelscope/agentscope/blob/main/examples/conversation_basic)
|
||||
- [Autonomous Conversation with Mentions](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_mentions)
|
||||
- [Self-Organizing Conversation](https://github.com/modelscope/agentscope/blob/main/examples/conversation_self_organizing)
|
||||
- [Basic Conversation with LangChain library](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_langchain)
|
||||
- [Conversation with ReAct Agent](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_react_agent)
|
||||
- [Conversation in Natural Language to Query SQL](https://github.com/modelscope/agentscope/blob/main/examples/conversation_nl2sql/)
|
||||
- [Conversation with RAG Agent](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_RAG_agents)
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>[Conversation with gpt-4o](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_gpt-4o)
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>[Conversation with Software Engineering Agent](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_swe-agent/)
|
||||
- <img src="https://img.alicdn.com/imgextra/i3/O1CN01SFL0Gu26nrQBFKXFR_!!6000000007707-2-tps-500-500.png" alt="new" width="30" height="30"/>[Conversation with Customized Services](https://github.com/modelscope/agentscope/blob/main/examples/conversation_with_customized_services/)
|
||||
|
||||
- Game
|
||||
- [Gomoku](https://github.com/modelscope/agentscope/blob/main/examples/game_gomoku)
|
||||
- [Werewolf](https://github.com/modelscope/agentscope/blob/main/examples/game_werewolf)
|
||||
|
||||
- Distribution
|
||||
- [Distributed Conversation](https://github.com/modelscope/agentscope/blob/main/examples/distributed_conversation)
|
||||
- [Distributed Debate](https://github.com/modelscope/agentscope/blob/main/examples/distributed_debate)
|
||||
- [Distributed Parallel Optimization](https://github.com/modelscope/agentscope/blob/main/examples/distributed_parallel_optimization)
|
||||
- [Distributed Large Scale Simulation](https://github.com/modelscope/agentscope/blob/main/examples/distributed_simulation)
|
||||
|
||||
More models, services and examples are coming soon!
|
||||
|
||||
## Installation
|
||||
|
||||
AgentScope requires **Python 3.9** or higher.
|
||||
|
||||
***Note: This project is currently in active development, it's recommended to
|
||||
install AgentScope from source.***
|
||||
|
||||
### From source
|
||||
|
||||
- Install AgentScope in editable mode:
|
||||
|
||||
```bash
|
||||
# Pull the source code from GitHub
|
||||
git clone https://github.com/modelscope/agentscope.git
|
||||
|
||||
# Install the package in editable mode
|
||||
cd agentscope
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
- To build distributed multi-agent applications:
|
||||
|
||||
```bash
|
||||
# On windows
|
||||
pip install -e .[distribute]
|
||||
# On mac
|
||||
pip install -e .\[distribute\]
|
||||
```
|
||||
|
||||
### Using pip
|
||||
|
||||
- Install AgentScope from pip:
|
||||
|
||||
```bash
|
||||
pip install agentscope --pre
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
||||
### Configuration
|
||||
|
||||
In AgentScope, the model deployment and invocation are decoupled by
|
||||
`ModelWrapper`.
|
||||
|
||||
To use these model wrappers, you need to prepare a model config file as
|
||||
follows.
|
||||
|
||||
```python
|
||||
model_config = {
|
||||
# The identifies of your config and used model wrapper
|
||||
"config_name": "{your_config_name}", # The name to identify the config
|
||||
"model_type": "{model_type}", # The type to identify the model wrapper
|
||||
|
||||
# Detailed parameters into initialize the model wrapper
|
||||
# ...
|
||||
}
|
||||
```
|
||||
|
||||
Taking OpenAI Chat API as an example, the model configuration is as follows:
|
||||
|
||||
```python
|
||||
openai_model_config = {
|
||||
"config_name": "my_openai_config", # The name to identify the config
|
||||
"model_type": "openai_chat", # The type to identify the model wrapper
|
||||
|
||||
# Detailed parameters into initialize the model wrapper
|
||||
"model_name": "gpt-4", # The used model in openai API, e.g. gpt-4, gpt-3.5-turbo, etc.
|
||||
"api_key": "xxx", # The API key for OpenAI API. If not set, env
|
||||
# variable OPENAI_API_KEY will be used.
|
||||
"organization": "xxx", # The organization for OpenAI API. If not set, env
|
||||
# variable OPENAI_ORGANIZATION will be used.
|
||||
}
|
||||
```
|
||||
|
||||
More details about how to set up local model services and prepare model
|
||||
configurations is in our
|
||||
[tutorial](https://modelscope.github.io/agentscope/index.html#welcome-to-agentscope-tutorial-hub).
|
||||
|
||||
### Create Agents
|
||||
|
||||
Create built-in user and assistant agents as follows.
|
||||
|
||||
```python
|
||||
from agentscope.agents import DialogAgent, UserAgent
|
||||
import agentscope
|
||||
|
||||
# Load model configs
|
||||
agentscope.init(model_configs="./model_configs.json")
|
||||
|
||||
# Create a dialog agent and a user agent
|
||||
dialog_agent = DialogAgent(name="assistant",
|
||||
model_config_name="my_openai_config")
|
||||
user_agent = UserAgent()
|
||||
```
|
||||
|
||||
### Construct Conversation
|
||||
|
||||
In AgentScope, **message** is the bridge among agents, which is a
|
||||
**dict** that contains two necessary fields `name` and `content` and an
|
||||
optional field `url` to local files (image, video or audio) or website.
|
||||
|
||||
```python
|
||||
from agentscope.message import Msg
|
||||
|
||||
x = Msg(name="Alice", content="Hi!")
|
||||
x = Msg("Bob", "What about this picture I took?", url="/path/to/picture.jpg")
|
||||
```
|
||||
|
||||
Start a conversation between two agents (e.g. dialog_agent and user_agent)
|
||||
with the following code:
|
||||
|
||||
```python
|
||||
x = None
|
||||
while True:
|
||||
x = dialog_agent(x)
|
||||
x = user_agent(x)
|
||||
if x.content == "exit": # user input "exit" to exit the conversation_basic
|
||||
break
|
||||
```
|
||||
|
||||
### AgentScope Studio
|
||||
|
||||
AgentScope provides an easy-to-use runtime user interface capable of
|
||||
displaying multimodal output on the front end, including text, images,
|
||||
audio and video.
|
||||
|
||||
Refer to our [tutorial](https://modelscope.github.io/agentscope/en/tutorial/209-gui.html) for more details.
|
||||
|
||||
<h5 align="center">
|
||||
<img src="https://img.alicdn.com/imgextra/i4/O1CN015kjnkd1xdwJoNxqLZ_!!6000000006467-0-tps-3452-1984.jpg" width="600" alt="agentscope-logo">
|
||||
</h5>
|
||||
|
||||
## Tutorial
|
||||
|
||||
- [About AgentScope](https://modelscope.github.io/agentscope/zh_CN/tutorial/101-agentscope.html)
|
||||
- [Installation](https://modelscope.github.io/agentscope/zh_CN/tutorial/102-installation.html)
|
||||
- [Quick Start](https://modelscope.github.io/agentscope/zh_CN/tutorial/103-example.html)
|
||||
- [Model](https://modelscope.github.io/agentscope/zh_CN/tutorial/203-model.html)
|
||||
- [Prompt Engineering](https://modelscope.github.io/agentscope/zh_CN/tutorial/206-prompt.html)
|
||||
- [Agent](https://modelscope.github.io/agentscope/zh_CN/tutorial/201-agent.html)
|
||||
- [Memory](https://modelscope.github.io/agentscope/zh_CN/tutorial/205-memory.html)
|
||||
- [Response Parser](https://modelscope.github.io/agentscope/zh_CN/tutorial/203-parser.html)
|
||||
- [Tool](https://modelscope.github.io/agentscope/zh_CN/tutorial/204-service.html)
|
||||
- [Pipeline and MsgHub](https://modelscope.github.io/agentscope/zh_CN/tutorial/202-pipeline.html)
|
||||
- [Distribution](https://modelscope.github.io/agentscope/zh_CN/tutorial/208-distribute.html)
|
||||
- [AgentScope Studio](https://modelscope.github.io/agentscope/zh_CN/tutorial/209-gui.html)
|
||||
- [Logging](https://modelscope.github.io/agentscope/zh_CN/tutorial/105-logging.html)
|
||||
- [Monitor](https://modelscope.github.io/agentscope/zh_CN/tutorial/207-monitor.html)
|
||||
- [Example: Werewolf Game](https://modelscope.github.io/agentscope/zh_CN/tutorial/104-usecase.html)
|
||||
|
||||
## License
|
||||
|
||||
AgentScope is released under Apache License 2.0.
|
||||
|
||||
## Contributing
|
||||
|
||||
Contributions are always welcomed!
|
||||
|
||||
We provide a developer version with additional pre-commit hooks to perform
|
||||
checks compared to the official version:
|
||||
|
||||
```bash
|
||||
# For windows
|
||||
pip install -e .[dev]
|
||||
# For mac
|
||||
pip install -e .\[dev\]
|
||||
|
||||
# Install pre-commit hooks
|
||||
pre-commit install
|
||||
```
|
||||
|
||||
Please refer to our [Contribution Guide](https://modelscope.github.io/agentscope/en/tutorial/302-contribute.html) for more details.
|
||||
|
||||
## References
|
||||
|
||||
If you find our work helpful for your research or application, please
|
||||
cite [our paper](https://arxiv.org/abs/2402.14034):
|
||||
|
||||
```
|
||||
@article{agentscope,
|
||||
author = {Dawei Gao and
|
||||
Zitao Li and
|
||||
Xuchen Pan and
|
||||
Weirui Kuang and
|
||||
Zhijian Ma and
|
||||
Bingchen Qian and
|
||||
Fei Wei and
|
||||
Wenhao Zhang and
|
||||
Yuexiang Xie and
|
||||
Daoyuan Chen and
|
||||
Liuyi Yao and
|
||||
Hongyi Peng and
|
||||
Zeyu Zhang and
|
||||
Lin Zhu and
|
||||
Chen Cheng and
|
||||
Hongzhu Shi and
|
||||
Yaliang Li and
|
||||
Bolin Ding and
|
||||
Jingren Zhou},
|
||||
title = {AgentScope: A Flexible yet Robust Multi-Agent Platform},
|
||||
journal = {CoRR},
|
||||
volume = {abs/2402.14034},
|
||||
year = {2024},
|
||||
}
|
||||
```
|
||||
204
AlgoriAgent/src/agentscope.egg-info/SOURCES.txt
Normal file
204
AlgoriAgent/src/agentscope.egg-info/SOURCES.txt
Normal file
@@ -0,0 +1,204 @@
|
||||
LICENSE
|
||||
README.md
|
||||
pyproject.toml
|
||||
setup.py
|
||||
src/agentscope/__init__.py
|
||||
src/agentscope/_init.py
|
||||
src/agentscope/_runtime.py
|
||||
src/agentscope/_version.py
|
||||
src/agentscope/constants.py
|
||||
src/agentscope/exception.py
|
||||
src/agentscope/file_manager.py
|
||||
src/agentscope/logging.py
|
||||
src/agentscope/message.py
|
||||
src/agentscope/msghub.py
|
||||
src/agentscope.egg-info/PKG-INFO
|
||||
src/agentscope.egg-info/SOURCES.txt
|
||||
src/agentscope.egg-info/dependency_links.txt
|
||||
src/agentscope.egg-info/entry_points.txt
|
||||
src/agentscope.egg-info/requires.txt
|
||||
src/agentscope.egg-info/top_level.txt
|
||||
src/agentscope/agents/__init__.py
|
||||
src/agentscope/agents/agent.py
|
||||
src/agentscope/agents/dialog_agent.py
|
||||
src/agentscope/agents/dict_dialog_agent.py
|
||||
src/agentscope/agents/operator.py
|
||||
src/agentscope/agents/rag_agent.py
|
||||
src/agentscope/agents/react_agent.py
|
||||
src/agentscope/agents/rpc_agent.py
|
||||
src/agentscope/agents/text_to_image_agent.py
|
||||
src/agentscope/agents/user_agent.py
|
||||
src/agentscope/memory/__init__.py
|
||||
src/agentscope/memory/memory.py
|
||||
src/agentscope/memory/temporary_memory.py
|
||||
src/agentscope/models/__init__.py
|
||||
src/agentscope/models/config.py
|
||||
src/agentscope/models/dashscope_model.py
|
||||
src/agentscope/models/gemini_model.py
|
||||
src/agentscope/models/litellm_model.py
|
||||
src/agentscope/models/model.py
|
||||
src/agentscope/models/ollama_model.py
|
||||
src/agentscope/models/openai_model.py
|
||||
src/agentscope/models/post_model.py
|
||||
src/agentscope/models/response.py
|
||||
src/agentscope/models/zhipu_model.py
|
||||
src/agentscope/parsers/__init__.py
|
||||
src/agentscope/parsers/code_block_parser.py
|
||||
src/agentscope/parsers/json_object_parser.py
|
||||
src/agentscope/parsers/parser_base.py
|
||||
src/agentscope/parsers/tagged_content_parser.py
|
||||
src/agentscope/pipelines/__init__.py
|
||||
src/agentscope/pipelines/functional.py
|
||||
src/agentscope/pipelines/pipeline.py
|
||||
src/agentscope/prompt/__init__.py
|
||||
src/agentscope/prompt/_prompt_comparer.py
|
||||
src/agentscope/prompt/_prompt_engine.py
|
||||
src/agentscope/prompt/_prompt_examples.json
|
||||
src/agentscope/prompt/_prompt_generator_base.py
|
||||
src/agentscope/prompt/_prompt_generator_en.py
|
||||
src/agentscope/prompt/_prompt_generator_zh.py
|
||||
src/agentscope/prompt/_prompt_optimizer.py
|
||||
src/agentscope/prompt/_prompt_utils.py
|
||||
src/agentscope/rag/__init__.py
|
||||
src/agentscope/rag/knowledge.py
|
||||
src/agentscope/rag/knowledge_bank.py
|
||||
src/agentscope/rag/llama_index_knowledge.py
|
||||
src/agentscope/rpc/__init__.py
|
||||
src/agentscope/rpc/rpc_agent_client.py
|
||||
src/agentscope/rpc/rpc_agent_pb2.py
|
||||
src/agentscope/rpc/rpc_agent_pb2_grpc.py
|
||||
src/agentscope/server/__init__.py
|
||||
src/agentscope/server/launcher.py
|
||||
src/agentscope/server/servicer.py
|
||||
src/agentscope/service/__init__.py
|
||||
src/agentscope/service/service_response.py
|
||||
src/agentscope/service/service_status.py
|
||||
src/agentscope/service/service_toolkit.py
|
||||
src/agentscope/service/execute_code/__init__.py
|
||||
src/agentscope/service/execute_code/exec_python.py
|
||||
src/agentscope/service/execute_code/exec_shell.py
|
||||
src/agentscope/service/file/__init__.py
|
||||
src/agentscope/service/file/common.py
|
||||
src/agentscope/service/file/json.py
|
||||
src/agentscope/service/file/text.py
|
||||
src/agentscope/service/multi_modality/__init__.py
|
||||
src/agentscope/service/multi_modality/dashscope_services.py
|
||||
src/agentscope/service/multi_modality/openai_services.py
|
||||
src/agentscope/service/retrieval/__init__.py
|
||||
src/agentscope/service/retrieval/retrieval_from_list.py
|
||||
src/agentscope/service/retrieval/similarity.py
|
||||
src/agentscope/service/sql_query/__init__.py
|
||||
src/agentscope/service/sql_query/mongodb.py
|
||||
src/agentscope/service/sql_query/mysql.py
|
||||
src/agentscope/service/sql_query/sqlite.py
|
||||
src/agentscope/service/text_processing/__init__.py
|
||||
src/agentscope/service/text_processing/summarization.py
|
||||
src/agentscope/service/web/__init__.py
|
||||
src/agentscope/service/web/arxiv.py
|
||||
src/agentscope/service/web/dblp.py
|
||||
src/agentscope/service/web/download.py
|
||||
src/agentscope/service/web/search.py
|
||||
src/agentscope/service/web/web_digest.py
|
||||
src/agentscope/studio/__init__.py
|
||||
src/agentscope/studio/_app.py
|
||||
src/agentscope/studio/_client.py
|
||||
src/agentscope/studio/static/css/base.css
|
||||
src/agentscope/studio/static/css/dashboard-detail-code.css
|
||||
src/agentscope/studio/static/css/dashboard-detail-dialogue.css
|
||||
src/agentscope/studio/static/css/dashboard-detail-invocation.css
|
||||
src/agentscope/studio/static/css/dashboard-detail.css
|
||||
src/agentscope/studio/static/css/dashboard-runs.css
|
||||
src/agentscope/studio/static/css/dashboard.css
|
||||
src/agentscope/studio/static/css/font.css
|
||||
src/agentscope/studio/static/css/index.css
|
||||
src/agentscope/studio/static/css/workstation-drag-components.css
|
||||
src/agentscope/studio/static/css/workstation.css
|
||||
src/agentscope/studio/static/css_third_party/clusterize.css
|
||||
src/agentscope/studio/static/css_third_party/drawflow.min.css
|
||||
src/agentscope/studio/static/css_third_party/highlight.min.css
|
||||
src/agentscope/studio/static/css_third_party/katex.min.css
|
||||
src/agentscope/studio/static/css_third_party/prism-line-numbers.min.css
|
||||
src/agentscope/studio/static/css_third_party/prism.min.css
|
||||
src/agentscope/studio/static/css_third_party/tabulator.min.css
|
||||
src/agentscope/studio/static/fonts/KRYPTON.ttf
|
||||
src/agentscope/studio/static/fonts/SourceSans3-Regular.ttf
|
||||
src/agentscope/studio/static/html/dashboard-detail-code.html
|
||||
src/agentscope/studio/static/html/dashboard-detail-dialogue.html
|
||||
src/agentscope/studio/static/html/dashboard-detail-invocation.html
|
||||
src/agentscope/studio/static/html/dashboard-detail.html
|
||||
src/agentscope/studio/static/html/dashboard-runs.html
|
||||
src/agentscope/studio/static/html/dashboard.html
|
||||
src/agentscope/studio/static/html/index-guide.html
|
||||
src/agentscope/studio/static/html/market.html
|
||||
src/agentscope/studio/static/html/server.html
|
||||
src/agentscope/studio/static/html/template.html
|
||||
src/agentscope/studio/static/html/workstation_iframe.html
|
||||
src/agentscope/studio/static/html-drag-components/agent-dialogagent.html
|
||||
src/agentscope/studio/static/html-drag-components/agent-dictdialogagent.html
|
||||
src/agentscope/studio/static/html-drag-components/agent-reactagent.html
|
||||
src/agentscope/studio/static/html-drag-components/agent-texttoimageagent.html
|
||||
src/agentscope/studio/static/html-drag-components/agent-useragent.html
|
||||
src/agentscope/studio/static/html-drag-components/message-msg.html
|
||||
src/agentscope/studio/static/html-drag-components/model-dashscope-chat.html
|
||||
src/agentscope/studio/static/html-drag-components/model-openai-chat.html
|
||||
src/agentscope/studio/static/html-drag-components/model-post-api-chat.html
|
||||
src/agentscope/studio/static/html-drag-components/model-post-api-dall-e.html
|
||||
src/agentscope/studio/static/html-drag-components/pipeline-forlooppipeline.html
|
||||
src/agentscope/studio/static/html-drag-components/pipeline-ifelsepipeline.html
|
||||
src/agentscope/studio/static/html-drag-components/pipeline-msghub.html
|
||||
src/agentscope/studio/static/html-drag-components/pipeline-placeholder.html
|
||||
src/agentscope/studio/static/html-drag-components/pipeline-sequentialpipeline.html
|
||||
src/agentscope/studio/static/html-drag-components/pipeline-switchpipeline.html
|
||||
src/agentscope/studio/static/html-drag-components/pipeline-whilelooppipeline.html
|
||||
src/agentscope/studio/static/html-drag-components/service-bing-search.html
|
||||
src/agentscope/studio/static/html-drag-components/service-execute-python.html
|
||||
src/agentscope/studio/static/html-drag-components/service-google-search.html
|
||||
src/agentscope/studio/static/html-drag-components/service-read-text.html
|
||||
src/agentscope/studio/static/html-drag-components/service-write-text.html
|
||||
src/agentscope/studio/static/html-drag-components/welcome.html
|
||||
src/agentscope/studio/static/js/dashboard-detail-code.js
|
||||
src/agentscope/studio/static/js/dashboard-detail-dialogue.js
|
||||
src/agentscope/studio/static/js/dashboard-detail-invocation.js
|
||||
src/agentscope/studio/static/js/dashboard-detail.js
|
||||
src/agentscope/studio/static/js/dashboard-runs.js
|
||||
src/agentscope/studio/static/js/dashboard.js
|
||||
src/agentscope/studio/static/js/index.js
|
||||
src/agentscope/studio/static/js/workstation.js
|
||||
src/agentscope/studio/static/js/workstation_iframe.js
|
||||
src/agentscope/studio/static/js_third_party/clusterize.min.js
|
||||
src/agentscope/studio/static/js_third_party/drawflow.min.js
|
||||
src/agentscope/studio/static/js_third_party/highlight.min.js
|
||||
src/agentscope/studio/static/js_third_party/jquery.min.js
|
||||
src/agentscope/studio/static/js_third_party/katex.min.js
|
||||
src/agentscope/studio/static/js_third_party/marked-katex-extension.umd.js
|
||||
src/agentscope/studio/static/js_third_party/marked.min.js
|
||||
src/agentscope/studio/static/js_third_party/micromodal.min.js
|
||||
src/agentscope/studio/static/js_third_party/monaco-editor.loader.js
|
||||
src/agentscope/studio/static/js_third_party/prism-line-numbers.min.js
|
||||
src/agentscope/studio/static/js_third_party/prism-python.min.js
|
||||
src/agentscope/studio/static/js_third_party/prism.min.js
|
||||
src/agentscope/studio/static/js_third_party/socket.io.js
|
||||
src/agentscope/studio/static/js_third_party/sweetalert2@9
|
||||
src/agentscope/studio/static/js_third_party/tabulator.min.js
|
||||
src/agentscope/studio/static/workstation_templates/en1.json
|
||||
src/agentscope/studio/static/workstation_templates/en2.json
|
||||
src/agentscope/studio/static/workstation_templates/en3.json
|
||||
src/agentscope/studio/static/workstation_templates/en4.json
|
||||
src/agentscope/studio/static/workstation_templates/zh1.json
|
||||
src/agentscope/studio/templates/index.html
|
||||
src/agentscope/studio/templates/workstation.html
|
||||
src/agentscope/utils/__init__.py
|
||||
src/agentscope/utils/common.py
|
||||
src/agentscope/utils/monitor.py
|
||||
src/agentscope/utils/token_utils.py
|
||||
src/agentscope/utils/tools.py
|
||||
src/agentscope/web/__init__.py
|
||||
src/agentscope/web/gradio/__init__.py
|
||||
src/agentscope/web/gradio/constants.py
|
||||
src/agentscope/web/gradio/studio.py
|
||||
src/agentscope/web/gradio/utils.py
|
||||
src/agentscope/web/workstation/__init__.py
|
||||
src/agentscope/web/workstation/workflow.py
|
||||
src/agentscope/web/workstation/workflow_dag.py
|
||||
src/agentscope/web/workstation/workflow_node.py
|
||||
src/agentscope/web/workstation/workflow_utils.py
|
||||
1
AlgoriAgent/src/agentscope.egg-info/dependency_links.txt
Normal file
1
AlgoriAgent/src/agentscope.egg-info/dependency_links.txt
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
5
AlgoriAgent/src/agentscope.egg-info/entry_points.txt
Normal file
5
AlgoriAgent/src/agentscope.egg-info/entry_points.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
[console_scripts]
|
||||
as_gradio = agentscope.web.gradio.studio:run_app
|
||||
as_server = agentscope.server.launcher:as_server
|
||||
as_studio = agentscope.studio:init
|
||||
as_workflow = agentscope.web.workstation.workflow:main
|
||||
133
AlgoriAgent/src/agentscope.egg-info/requires.txt
Normal file
133
AlgoriAgent/src/agentscope.egg-info/requires.txt
Normal file
@@ -0,0 +1,133 @@
|
||||
networkx
|
||||
black
|
||||
docstring_parser
|
||||
pydantic
|
||||
loguru==0.6.0
|
||||
tiktoken
|
||||
Pillow
|
||||
requests
|
||||
chardet
|
||||
inputimeout
|
||||
openai>=1.3.0
|
||||
numpy
|
||||
Flask==3.0.0
|
||||
Flask-Cors==4.0.0
|
||||
Flask-SocketIO==5.3.6
|
||||
flask_sqlalchemy
|
||||
flake8
|
||||
dashscope==1.14.1
|
||||
openai>=1.3.0
|
||||
ollama>=0.1.7
|
||||
google-generativeai>=0.4.0
|
||||
zhipuai
|
||||
litellm
|
||||
psutil
|
||||
scipy
|
||||
|
||||
[dev]
|
||||
networkx
|
||||
black
|
||||
docstring_parser
|
||||
pydantic
|
||||
loguru==0.6.0
|
||||
tiktoken
|
||||
Pillow
|
||||
requests
|
||||
chardet
|
||||
inputimeout
|
||||
openai>=1.3.0
|
||||
numpy
|
||||
Flask==3.0.0
|
||||
Flask-Cors==4.0.0
|
||||
Flask-SocketIO==5.3.6
|
||||
flask_sqlalchemy
|
||||
flake8
|
||||
dashscope==1.14.1
|
||||
ollama>=0.1.7
|
||||
google-generativeai>=0.4.0
|
||||
zhipuai
|
||||
litellm
|
||||
psutil
|
||||
scipy
|
||||
pytest
|
||||
pytest-cov
|
||||
pre-commit
|
||||
|
||||
[distribute]
|
||||
networkx
|
||||
black
|
||||
docstring_parser
|
||||
pydantic
|
||||
loguru==0.6.0
|
||||
tiktoken
|
||||
Pillow
|
||||
requests
|
||||
chardet
|
||||
inputimeout
|
||||
openai>=1.3.0
|
||||
numpy
|
||||
Flask==3.0.0
|
||||
Flask-Cors==4.0.0
|
||||
Flask-SocketIO==5.3.6
|
||||
flask_sqlalchemy
|
||||
flake8
|
||||
dashscope==1.14.1
|
||||
ollama>=0.1.7
|
||||
google-generativeai>=0.4.0
|
||||
zhipuai
|
||||
litellm
|
||||
psutil
|
||||
scipy
|
||||
grpcio==1.60.0
|
||||
grpcio-tools==1.60.0
|
||||
protobuf==4.25.0
|
||||
expiringdict
|
||||
dill
|
||||
|
||||
[full]
|
||||
networkx
|
||||
black
|
||||
docstring_parser
|
||||
pydantic
|
||||
loguru==0.6.0
|
||||
tiktoken
|
||||
Pillow
|
||||
requests
|
||||
chardet
|
||||
inputimeout
|
||||
openai>=1.3.0
|
||||
numpy
|
||||
Flask==3.0.0
|
||||
Flask-Cors==4.0.0
|
||||
Flask-SocketIO==5.3.6
|
||||
flask_sqlalchemy
|
||||
flake8
|
||||
dashscope==1.14.1
|
||||
ollama>=0.1.7
|
||||
google-generativeai>=0.4.0
|
||||
zhipuai
|
||||
litellm
|
||||
psutil
|
||||
scipy
|
||||
grpcio==1.60.0
|
||||
grpcio-tools==1.60.0
|
||||
protobuf==4.25.0
|
||||
expiringdict
|
||||
dill
|
||||
docker
|
||||
pymongo
|
||||
pymysql
|
||||
bs4
|
||||
beautifulsoup4
|
||||
feedparser
|
||||
sphinx
|
||||
sphinx-autobuild
|
||||
sphinx_rtd_theme
|
||||
myst-parser
|
||||
sphinxcontrib-mermaid
|
||||
pytest
|
||||
pytest-cov
|
||||
pre-commit
|
||||
gradio==4.19.1
|
||||
modelscope_studio==0.0.5
|
||||
llama-index==0.10.30
|
||||
1
AlgoriAgent/src/agentscope.egg-info/top_level.txt
Normal file
1
AlgoriAgent/src/agentscope.egg-info/top_level.txt
Normal file
@@ -0,0 +1 @@
|
||||
agentscope
|
||||
Reference in New Issue
Block a user