MS-Agent: a lightweight framework to empower agentic execution of complex tasks
4,382
stars
794
commits
Python
primary language
Sep 11, 2026
updated
MCP Playground | Paper | Documentation | 中文文档
MS-Agent is a lightweight framework designed to empower agents with autonomous exploration capabilities. It provides a flexible and extensible architecture that allows developers to create agents capable of performing complex tasks, such as code generation, data analysis, and tool calling for general purposes with MCP (Model Calling Protocol) support.
[WARNING] For historical archive versions, please refer to: https://github.com/modelscope/ms-agent/tree/0.8.0
| Discord Group | WeChat Group |
|---|---|
![]() | ![]() |
🚀 Jul 13, 2026: Support Agent Hub — manage agent workspace files across your local machine and remote ModelScope repositories via the ms-agent agent command: upload/download, background sync (watch), cross-framework conversion, status, backups and restore across qoder, qwenpaw, openclaw, hermes, nanobot, openhuman and ms-agent.
🏆 Apr 09, 2026: Agentic Insight v2 is now #2 Open-Source (#5 Overall) on DeepResearch Bench — scoring 55.31 with the submitted version (Qwen3.5-Plus + GPT 5.2). Leaderboard | Agentic Insight v2.
🚀 Mar 23, 2026: Release MS-Agent v1.6.0, which includes the following updates:
🚀 Feb 06, 2026: Release MS-Agent v1.6.0rc1, which includes the following updates:
🚀 Feb 04, 2026: Release MS-Agent v1.6.0rc0, which includes the following updates:
🎬 Nov 13, 2025: Release Singularity Cinema, to support short video generation for complex scenarios, check here
🚀 Nov 12, 2025: Release MS-Agent v1.5.0, which includes the following updates:
🚀 Nov 07, 2025: Release MS-Agent v1.4.0, which includes the following updates:
🚀 Sep 22, 2025: Release MS-Agent v1.3.0, which includes the following updates:
Memory for building agents with long-term and short-term memory🚀 Aug 28, 2025: Release MS-Agent v1.2.0, which includes the following updates:
ModelScope、HuggingFace、GitHub for easy sharing of research reports. Refer to Doc Research for more details.HTML、PDF、PPTX and DOCX formats, refer to Doc Research for more details.TXT file processing and file preprocessing, refer to Doc Research for more details.🚀 July 18, 2025: Release MS-Agent v1.0.0, improve the experience of Agent chat with MCP, and update the readme for Agentic Insight.
🚀 July 16, 2025: Release MS-Agent v1.0.0rc0, which includes the following updates:
🔥🔥🔥Aug 8, 2024: A new graph based code generation tool CodexGraph is released by Modelscope-Agent, it has been proved effective and versatile on various code related tasks, please check example.
🔥🔥Aug 1, 2024: A high efficient and reliable Data Science Assistant is running on Modelscope-Agent, please find detail in example.
🔥July 17, 2024: Parallel tool calling on Modelscope-Agent-Server, please find detail in doc.
🔥June 17, 2024: Upgrading RAG flow based on LLama-index, allow user to hybrid search knowledge by different strategies and modalities, please find detail in doc.
🔥June 6, 2024: With Modelscope-Agent-Server, Qwen2 could be used by OpenAI SDK with tool calling ability, please find detail in doc.
🔥June 4, 2024: Modelscope-Agent supported Mobile-Agent-V2arxiv,based on Android Adb Env, please check in the application.
🔥May 17, 2024: Modelscope-Agent supported multi-roles room chat in the gradio.
May 14, 2024: Modelscope-Agent supported image input in RolePlay agents with latest OpenAI model GPT-4o. Developers can experience this feature by specifying the image_url parameter.
May 10, 2024: Modelscope-Agent launched a user-friendly Assistant API, and also provided a Tools API that executes utilities in isolated, secure containers, please find the document
Apr 12, 2024: The Ray version of multi-agent solution is on modelscope-agent, please find the document
Mar 15, 2024: Modelscope-Agent and the AgentFabric (opensource version for GPTs) is running on the production environment of modelscope studio.
Feb 10, 2024: In Chinese New year, we upgrade the modelscope agent to version v0.3 to facilitate developers to customize various types of agents more conveniently through coding and make it easier to make multi-agent demos. For more details, you can refer to #267 and #293 .
Nov 26, 2023: AgentFabric now supports collaborative use in ModelScope's Creation Space, allowing for the sharing of custom applications in the Creation Space. The update also includes the latest GTE text embedding integration.
Nov 17, 2023: AgentFabric released, which is an interactive framework to facilitate creation of agents tailored to various real-world applications.
Oct 30, 2023: Facechain Agent released a local version of the Facechain Agent that can be run locally. For detailed usage instructions, please refer to Facechain Agent.
Oct 25, 2023: Story Agent released a local version of the Story Agent for generating storybook illustrations. It can be run locally. For detailed usage instructions, please refer to Story Agent.
Sep 20, 2023: ModelScope GPT offers a local version through gradio that can be run locally. You can navigate to the demo/msgpt/ directory and execute bash run_msgpt.sh.
Sep 4, 2023: Three demos, demo_qwen, demo_retrieval_agent and demo_register_tool, have been added, along with detailed tutorials provided.
Sep 2, 2023: The preprint paper associated with this project was published.
Aug 22, 2023: Support accessing various AI model APIs using ModelScope tokens.
Aug 7, 2023: The initial version of the modelscope-agent repository was released.
# For the basic functionalities
pip install ms-agent
# For the deep research functionalities
pip install 'ms-agent[research]'
git clone https://github.com/modelscope/ms-agent.git
cd ms-agent
pip install -e .
[!WARNING] As the project has been renamed to
ms-agent, for versionsv0.8.0or earlier, you can install using the following command:pip install modelscope-agent<=0.8.0To import relevant dependencies using
modelscope_agent:from modelscope_agent import ...
This project supports interaction with models via the MCP (Model Context Protocol). Below is a complete example showing how to configure and run an LLMAgent with MCP support.
✅ Chat with agents using the MCP protocol: MCP Playground
By default, the agent uses ModelScope's API inference service. Before running the agent, make sure to set your ModelScope API key.
export MODELSCOPE_API_KEY={your_modelscope_api_key}
You can find or generate your API key at https://modelscope.cn/my/myaccesstoken.
import asyncio
from ms_agent import LLMAgent
# Configure MCP servers
mcp = {
"mcpServers": {
"fetch": {
"type": "streamable_http",
"url": "https://mcp.api-inference.modelscope.net/{your_mcp_uuid}/mcp"
}
}
}
async def main():
# Use json to configure MCP
llm_agent = LLMAgent(mcp_config=mcp) # Run task
await llm_agent.run('Introduce modelscope.cn')
if __name__ == '__main__':
# Start
asyncio.run(main())
💡 Tip: You can find available MCP server configurations at modelscope.cn/mcp.
For example: https://modelscope.cn/mcp/servers/@modelcontextprotocol/fetch.
Replace the url in mcp["mcpServers"]["fetch"] with your own MCP server endpoint.
We support memory by using mem0 in version v1.3.0! 🎉
Below is a simple example to get you started. For more comprehensive test cases, please refer to the test_case.
Before running the agent, ensure that you have set your ModelScope API key for LLM.
⚠️ Note: As of now, ModelScope API-Inference does not yet provide an embedding interface (coming soon). Therefore, we rely on external API providers for embeddings. By default, this implementation uses DashScope. Make sure to set your DASHSCOPE_API_KEY before running the examples.
pip install mem0ai
export MODELSCOPE_API_KEY={your_modelscope_api_key}
export DASHSCOPE_API_KEY={your_dashscope_api_key}
You can obtain or generate your API keys at:
Example Usage
This example demonstrates how the agent remembers user preferences across sessions using persistent memory:
import uuid
import asyncio
from omegaconf import OmegaConf
from ms_agent.agent.loader import AgentLoader
async def main():
random_id = str(uuid.uuid4())
default_memory = OmegaConf.create({
'memory': [{
'path': f'output/{random_id}',
'user_id': 'awesome_me'
}]
})
agent1 = AgentLoader.build(config_dir_or_id='ms-agent/simple_agent', config=default_memory)
agent1.config.callbacks.remove('input_callback') # Disable interactive input for direct output
await agent1.run('I am a vegetarian and I drink coffee every morning.')
del agent1
print('========== Data preparation completed, starting test ===========')
agent2 = AgentLoader.build(config_dir_or_id='ms-agent/simple_agent', config=default_memory)
agent2.config.callbacks.remove('input_callback') # Disable interactive input for direct output
res = await agent2.run('Please help me plan tomorrow’s three meals.')
print(res)
assert 'vegan' in res[-1].content.lower() and 'coffee' in res[-1].content.lower()
asyncio.run(main())
The MS-Agent Skill Module is Implementation of Anthropic-Agent-Skills Protocol.
For more details, please refer to MS-Agent Skills.
This project provides a framework for Deep Research, enabling agents to autonomously explore and execute complex tasks.
Autonomous Exploration - Autonomous exploration for various complex tasks
Multimodal - Capable of processing diverse data modalities and generating research reports rich in both text and images.
Lightweight & Efficient - Support "search-then-execute" mode, completing complex research tasks within few minutes, significantly reducing token consumption.
See Agentic Insight v2.
Here is a demonstration of the Agentic Insight framework in action, showcasing its capabilities in handling complex research tasks efficiently.
User query
在计算化学这个领域,我们通常使用Gaussian软件模拟各种情况下分子的结构和性质计算,比如在关键词中加入'field=x+100'代表了在x方向增加了电场。但是,当体系是经典的单原子催化剂时,它属于分子催化剂,在反应环境中分子的朝向是不确定的,那么理论模拟的x方向电场和实际电场是不一致的。
请问:通常情况下,理论计算是如何模拟外加电场存在的情况?
In the field of computational chemistry, we often use Gaussian software to simulate the structure and properties of molecules under various conditions. For instance, adding 'field=x+100' to the keywords signifies an electric field applied along the x-direction. However, when dealing with a classical single-atom catalyst, which falls under molecular catalysis, the orientation of the molecule in the reaction environment is uncertain. This means the x-directional electric field in the theoretical simulation might not align with the actual electric field.
So, how are external electric fields typically simulated in theoretical calculations?
https://github.com/user-attachments/assets/b1091dfc-9429-46ad-b7f8-7cbd1cf3209b
For more details, please refer to Deep Research.
This project provides a framework for Doc Research, enabling agents to autonomously explore and execute complex tasks related to document analysis and research.
1. ModelScope Studio DocResearchStudio
2. Local Gradio Application
Demo:UniME Research Report
For more details, refer to Doc Research
Code Genesis is a production-ready multi-agent framework that orchestrates specialized AI agents to autonomously generate complete software projects from natural language requirements.
Homepage
Generate a complete homepage with the following command:
PYTHONPATH=. openai_api_key=your-api-key openai_base_url=your-api-url python ms_agent/cli/cli.py run --config projects/code_genesis --query 'Build a static site to display skills, projects, and contact info' --trust_remote_code true
Demo: Homepage
The generated code will be output to the output folder in the current directory.
Architecture Workflow:
For more details, refer to Code Genesis.
The MS-Agent FinResearch project is a multi-agent workflow tailored for financial market research. It combines quantitative financial data analysis with deep research on online news/sentiment to automatically generate professional research reports.
🤖 Multi-Agent Architecture: Orchestrates multiple specialized agents to handle task decomposition, data collection, quantitative analysis, sentiment research, and final report generation.
📁 Multi-Dimensional Analysis: Covers both financial indicators and public sentiment, enabling fusion analysis of structured and unstructured data.
💰 Financial Data Collection: Supports automatic retrieval of quotes, financial statements, macro indicators, and market data for A-share, Hong Kong, and U.S. markets.
🔍 In-Depth Sentiment Research: Deep research on multi-source information from news/media/communities.
📝 Professional Report Generation: Produces multi-chapter, well-structured, image-and-text reports following common methodologies (MECE, SWOT, Pyramid Principle, etc.).
🔒 Secure Code Execution: Runs data processing and analysis inside an isolated Docker sandbox to ensure security and reproducibility.
💡 Tips:
- Before running the examples below, set the
OPENAI_API_KEYandOPENAI_BASE_URLenvironment variables to access the required model APIs. To run the full workflow, also configure the search engine variables EXA_API_KEY (https://exa.ai) or SERPAPI_API_KEY (https://serpapi.com).- FinResearch requires ms-agent version >= 1.5.0.
Usage:
Quickly launch the full FinResearch workflow for testing:
# Run at the ms-agent project root
PYTHONPATH=. python ms_agent/cli/cli.py run --config projects/fin_research --query 'Analyze CATL (300750.SZ) profitability over the past four quarters and compare it with key new-energy competitors (e.g., BYD, Gotion High-Tech, CALB); considering industry policies and lithium price volatility, forecast its performance for the next two quarters.' --trust_remote_code true
You can also run a minimal version without configuring a search engine by adjusting the workflow configuration as follows:
type: DagWorkflow
orchestrator:
next:
- collector
agent_config: orchestrator.yaml
collector:
next:
- analyst
agent_config: collector.yaml
analyst:
next:
- aggregator
agent_config: analyst.yaml
aggregator:
agent_config: aggregator.yaml
Result:
https://github.com/user-attachments/assets/a11db8d2-b559-4118-a2c0-2622d46840ef
References:
MS-Agent provides a local agent workspace built with a React Router frontend and a FastAPI backend. Chat responses are streamed with Server-Sent Events (SSE).
The current launcher is intended for a source checkout. Install these tools first:
corepack prepare pnpm@10.17.1 --activate)From the repository root, install MS-Agent in editable mode and start the WebUI:
pip install -e .
ms-agent ui
On the first run, the launcher creates the backend environment and installs the locked frontend dependencies. Later starts verify those local dependencies. The browser opens at http://127.0.0.1:7860.
Configure a model in Settings → Models before starting a real chat. Environment-variable bootstrap and manual development instructions are available in the WebUI guide.
Windows tip: If the console shows garbled text, use the UTF-8 PowerShell helper:
.\webui\scripts\start-webui.ps1
Examples:
# Use another public frontend port
ms-agent ui --port 8080
# Keep the browser closed
ms-agent ui --no-browser
See the complete WebUI guide for prerequisites, configuration precedence, all launcher options, Windows notes, and troubleshooting. This minimal launcher intentionally does not provide a production SSR mode.
Singularity Cinema is an Agent-powered workflow for generating short videos, capable of producing high-quality complex short videos using either a single-sentence prompt or knowledge-based documents.
🎬 Supports Both Simple and Complex Requirements: Can work with a single-sentence description or handle complex information files
🎹 Sophisticated Tables and Formulas: Can display and interpret formulas and charts within short videos that correspond to the script
🎮 End-to-End: From requirements to script to storyboard, from voiceover to charts to subtitles, and finally human feedback and video generation—the entire end-to-end process completed with a single command
🏁 High Configurability: Highly configurable with easy adjustments for voice, style, and materials through simple configuration
🚧 Customizable: Clear and simple workflow, suitable for secondary development
Usage Example:
OPENAI_API_KEY=xxx-xxx T2I_API_KEY=ms-xxx-xxx MANIM_TEST_API_KEY=xxx-xxx ms-agent run --config "projects/singularity_cinema" --query "Your custom topic" --load_cache true --trust_remote_code true
Results:
An introduction to Deepspeed ZeRO
A history of US GDP
We are committed to continuously improving and expanding the MS-Agent framework to push the boundaries of large models and AI agents. Our future roadmap includes:
This project is licensed under the Apache License (Version 2.0).
❤️ Thanks for visiting ✨ MS-Agent !
(top 30 of 44)
Python
89.3%
TypeScript
10.2%
MS-Agent: a lightweight framework to empower agentic execution of complex tasks
4,382
stars
794
commits
Python
primary language
Sep 11, 2026
updated
MCP Playground | Paper | Documentation | 中文文档
MS-Agent is a lightweight framework designed to empower agents with autonomous exploration capabilities. It provides a flexible and extensible architecture that allows developers to create agents capable of performing complex tasks, such as code generation, data analysis, and tool calling for general purposes with MCP (Model Calling Protocol) support.
[WARNING] For historical archive versions, please refer to: https://github.com/modelscope/ms-agent/tree/0.8.0
| Discord Group | WeChat Group |
|---|---|
![]() | ![]() |
🚀 Jul 13, 2026: Support Agent Hub — manage agent workspace files across your local machine and remote ModelScope repositories via the ms-agent agent command: upload/download, background sync (watch), cross-framework conversion, status, backups and restore across qoder, qwenpaw, openclaw, hermes, nanobot, openhuman and ms-agent.
🏆 Apr 09, 2026: Agentic Insight v2 is now #2 Open-Source (#5 Overall) on DeepResearch Bench — scoring 55.31 with the submitted version (Qwen3.5-Plus + GPT 5.2). Leaderboard | Agentic Insight v2.
🚀 Mar 23, 2026: Release MS-Agent v1.6.0, which includes the following updates:
🚀 Feb 06, 2026: Release MS-Agent v1.6.0rc1, which includes the following updates:
🚀 Feb 04, 2026: Release MS-Agent v1.6.0rc0, which includes the following updates:
🎬 Nov 13, 2025: Release Singularity Cinema, to support short video generation for complex scenarios, check here
🚀 Nov 12, 2025: Release MS-Agent v1.5.0, which includes the following updates:
🚀 Nov 07, 2025: Release MS-Agent v1.4.0, which includes the following updates:
🚀 Sep 22, 2025: Release MS-Agent v1.3.0, which includes the following updates:
Memory for building agents with long-term and short-term memory🚀 Aug 28, 2025: Release MS-Agent v1.2.0, which includes the following updates:
ModelScope、HuggingFace、GitHub for easy sharing of research reports. Refer to Doc Research for more details.HTML、PDF、PPTX and DOCX formats, refer to Doc Research for more details.TXT file processing and file preprocessing, refer to Doc Research for more details.🚀 July 18, 2025: Release MS-Agent v1.0.0, improve the experience of Agent chat with MCP, and update the readme for Agentic Insight.
🚀 July 16, 2025: Release MS-Agent v1.0.0rc0, which includes the following updates:
🔥🔥🔥Aug 8, 2024: A new graph based code generation tool CodexGraph is released by Modelscope-Agent, it has been proved effective and versatile on various code related tasks, please check example.
🔥🔥Aug 1, 2024: A high efficient and reliable Data Science Assistant is running on Modelscope-Agent, please find detail in example.
🔥July 17, 2024: Parallel tool calling on Modelscope-Agent-Server, please find detail in doc.
🔥June 17, 2024: Upgrading RAG flow based on LLama-index, allow user to hybrid search knowledge by different strategies and modalities, please find detail in doc.
🔥June 6, 2024: With Modelscope-Agent-Server, Qwen2 could be used by OpenAI SDK with tool calling ability, please find detail in doc.
🔥June 4, 2024: Modelscope-Agent supported Mobile-Agent-V2arxiv,based on Android Adb Env, please check in the application.
🔥May 17, 2024: Modelscope-Agent supported multi-roles room chat in the gradio.
May 14, 2024: Modelscope-Agent supported image input in RolePlay agents with latest OpenAI model GPT-4o. Developers can experience this feature by specifying the image_url parameter.
May 10, 2024: Modelscope-Agent launched a user-friendly Assistant API, and also provided a Tools API that executes utilities in isolated, secure containers, please find the document
Apr 12, 2024: The Ray version of multi-agent solution is on modelscope-agent, please find the document
Mar 15, 2024: Modelscope-Agent and the AgentFabric (opensource version for GPTs) is running on the production environment of modelscope studio.
Feb 10, 2024: In Chinese New year, we upgrade the modelscope agent to version v0.3 to facilitate developers to customize various types of agents more conveniently through coding and make it easier to make multi-agent demos. For more details, you can refer to #267 and #293 .
Nov 26, 2023: AgentFabric now supports collaborative use in ModelScope's Creation Space, allowing for the sharing of custom applications in the Creation Space. The update also includes the latest GTE text embedding integration.
Nov 17, 2023: AgentFabric released, which is an interactive framework to facilitate creation of agents tailored to various real-world applications.
Oct 30, 2023: Facechain Agent released a local version of the Facechain Agent that can be run locally. For detailed usage instructions, please refer to Facechain Agent.
Oct 25, 2023: Story Agent released a local version of the Story Agent for generating storybook illustrations. It can be run locally. For detailed usage instructions, please refer to Story Agent.
Sep 20, 2023: ModelScope GPT offers a local version through gradio that can be run locally. You can navigate to the demo/msgpt/ directory and execute bash run_msgpt.sh.
Sep 4, 2023: Three demos, demo_qwen, demo_retrieval_agent and demo_register_tool, have been added, along with detailed tutorials provided.
Sep 2, 2023: The preprint paper associated with this project was published.
Aug 22, 2023: Support accessing various AI model APIs using ModelScope tokens.
Aug 7, 2023: The initial version of the modelscope-agent repository was released.
# For the basic functionalities
pip install ms-agent
# For the deep research functionalities
pip install 'ms-agent[research]'
git clone https://github.com/modelscope/ms-agent.git
cd ms-agent
pip install -e .
[!WARNING] As the project has been renamed to
ms-agent, for versionsv0.8.0or earlier, you can install using the following command:pip install modelscope-agent<=0.8.0To import relevant dependencies using
modelscope_agent:from modelscope_agent import ...
This project supports interaction with models via the MCP (Model Context Protocol). Below is a complete example showing how to configure and run an LLMAgent with MCP support.
✅ Chat with agents using the MCP protocol: MCP Playground
By default, the agent uses ModelScope's API inference service. Before running the agent, make sure to set your ModelScope API key.
export MODELSCOPE_API_KEY={your_modelscope_api_key}
You can find or generate your API key at https://modelscope.cn/my/myaccesstoken.
import asyncio
from ms_agent import LLMAgent
# Configure MCP servers
mcp = {
"mcpServers": {
"fetch": {
"type": "streamable_http",
"url": "https://mcp.api-inference.modelscope.net/{your_mcp_uuid}/mcp"
}
}
}
async def main():
# Use json to configure MCP
llm_agent = LLMAgent(mcp_config=mcp) # Run task
await llm_agent.run('Introduce modelscope.cn')
if __name__ == '__main__':
# Start
asyncio.run(main())
💡 Tip: You can find available MCP server configurations at modelscope.cn/mcp.
For example: https://modelscope.cn/mcp/servers/@modelcontextprotocol/fetch.
Replace the url in mcp["mcpServers"]["fetch"] with your own MCP server endpoint.
We support memory by using mem0 in version v1.3.0! 🎉
Below is a simple example to get you started. For more comprehensive test cases, please refer to the test_case.
Before running the agent, ensure that you have set your ModelScope API key for LLM.
⚠️ Note: As of now, ModelScope API-Inference does not yet provide an embedding interface (coming soon). Therefore, we rely on external API providers for embeddings. By default, this implementation uses DashScope. Make sure to set your DASHSCOPE_API_KEY before running the examples.
pip install mem0ai
export MODELSCOPE_API_KEY={your_modelscope_api_key}
export DASHSCOPE_API_KEY={your_dashscope_api_key}
You can obtain or generate your API keys at:
Example Usage
This example demonstrates how the agent remembers user preferences across sessions using persistent memory:
import uuid
import asyncio
from omegaconf import OmegaConf
from ms_agent.agent.loader import AgentLoader
async def main():
random_id = str(uuid.uuid4())
default_memory = OmegaConf.create({
'memory': [{
'path': f'output/{random_id}',
'user_id': 'awesome_me'
}]
})
agent1 = AgentLoader.build(config_dir_or_id='ms-agent/simple_agent', config=default_memory)
agent1.config.callbacks.remove('input_callback') # Disable interactive input for direct output
await agent1.run('I am a vegetarian and I drink coffee every morning.')
del agent1
print('========== Data preparation completed, starting test ===========')
agent2 = AgentLoader.build(config_dir_or_id='ms-agent/simple_agent', config=default_memory)
agent2.config.callbacks.remove('input_callback') # Disable interactive input for direct output
res = await agent2.run('Please help me plan tomorrow’s three meals.')
print(res)
assert 'vegan' in res[-1].content.lower() and 'coffee' in res[-1].content.lower()
asyncio.run(main())
The MS-Agent Skill Module is Implementation of Anthropic-Agent-Skills Protocol.
For more details, please refer to MS-Agent Skills.
This project provides a framework for Deep Research, enabling agents to autonomously explore and execute complex tasks.
Autonomous Exploration - Autonomous exploration for various complex tasks
Multimodal - Capable of processing diverse data modalities and generating research reports rich in both text and images.
Lightweight & Efficient - Support "search-then-execute" mode, completing complex research tasks within few minutes, significantly reducing token consumption.
See Agentic Insight v2.
Here is a demonstration of the Agentic Insight framework in action, showcasing its capabilities in handling complex research tasks efficiently.
User query
在计算化学这个领域,我们通常使用Gaussian软件模拟各种情况下分子的结构和性质计算,比如在关键词中加入'field=x+100'代表了在x方向增加了电场。但是,当体系是经典的单原子催化剂时,它属于分子催化剂,在反应环境中分子的朝向是不确定的,那么理论模拟的x方向电场和实际电场是不一致的。
请问:通常情况下,理论计算是如何模拟外加电场存在的情况?
In the field of computational chemistry, we often use Gaussian software to simulate the structure and properties of molecules under various conditions. For instance, adding 'field=x+100' to the keywords signifies an electric field applied along the x-direction. However, when dealing with a classical single-atom catalyst, which falls under molecular catalysis, the orientation of the molecule in the reaction environment is uncertain. This means the x-directional electric field in the theoretical simulation might not align with the actual electric field.
So, how are external electric fields typically simulated in theoretical calculations?
https://github.com/user-attachments/assets/b1091dfc-9429-46ad-b7f8-7cbd1cf3209b
For more details, please refer to Deep Research.
This project provides a framework for Doc Research, enabling agents to autonomously explore and execute complex tasks related to document analysis and research.
1. ModelScope Studio DocResearchStudio
2. Local Gradio Application
Demo:UniME Research Report
For more details, refer to Doc Research
Code Genesis is a production-ready multi-agent framework that orchestrates specialized AI agents to autonomously generate complete software projects from natural language requirements.
Homepage
Generate a complete homepage with the following command:
PYTHONPATH=. openai_api_key=your-api-key openai_base_url=your-api-url python ms_agent/cli/cli.py run --config projects/code_genesis --query 'Build a static site to display skills, projects, and contact info' --trust_remote_code true
Demo: Homepage
The generated code will be output to the output folder in the current directory.
Architecture Workflow:
For more details, refer to Code Genesis.
The MS-Agent FinResearch project is a multi-agent workflow tailored for financial market research. It combines quantitative financial data analysis with deep research on online news/sentiment to automatically generate professional research reports.
🤖 Multi-Agent Architecture: Orchestrates multiple specialized agents to handle task decomposition, data collection, quantitative analysis, sentiment research, and final report generation.
📁 Multi-Dimensional Analysis: Covers both financial indicators and public sentiment, enabling fusion analysis of structured and unstructured data.
💰 Financial Data Collection: Supports automatic retrieval of quotes, financial statements, macro indicators, and market data for A-share, Hong Kong, and U.S. markets.
🔍 In-Depth Sentiment Research: Deep research on multi-source information from news/media/communities.
📝 Professional Report Generation: Produces multi-chapter, well-structured, image-and-text reports following common methodologies (MECE, SWOT, Pyramid Principle, etc.).
🔒 Secure Code Execution: Runs data processing and analysis inside an isolated Docker sandbox to ensure security and reproducibility.
💡 Tips:
- Before running the examples below, set the
OPENAI_API_KEYandOPENAI_BASE_URLenvironment variables to access the required model APIs. To run the full workflow, also configure the search engine variables EXA_API_KEY (https://exa.ai) or SERPAPI_API_KEY (https://serpapi.com).- FinResearch requires ms-agent version >= 1.5.0.
Usage:
Quickly launch the full FinResearch workflow for testing:
# Run at the ms-agent project root
PYTHONPATH=. python ms_agent/cli/cli.py run --config projects/fin_research --query 'Analyze CATL (300750.SZ) profitability over the past four quarters and compare it with key new-energy competitors (e.g., BYD, Gotion High-Tech, CALB); considering industry policies and lithium price volatility, forecast its performance for the next two quarters.' --trust_remote_code true
You can also run a minimal version without configuring a search engine by adjusting the workflow configuration as follows:
type: DagWorkflow
orchestrator:
next:
- collector
agent_config: orchestrator.yaml
collector:
next:
- analyst
agent_config: collector.yaml
analyst:
next:
- aggregator
agent_config: analyst.yaml
aggregator:
agent_config: aggregator.yaml
Result:
https://github.com/user-attachments/assets/a11db8d2-b559-4118-a2c0-2622d46840ef
References:
MS-Agent provides a local agent workspace built with a React Router frontend and a FastAPI backend. Chat responses are streamed with Server-Sent Events (SSE).
The current launcher is intended for a source checkout. Install these tools first:
corepack prepare pnpm@10.17.1 --activate)From the repository root, install MS-Agent in editable mode and start the WebUI:
pip install -e .
ms-agent ui
On the first run, the launcher creates the backend environment and installs the locked frontend dependencies. Later starts verify those local dependencies. The browser opens at http://127.0.0.1:7860.
Configure a model in Settings → Models before starting a real chat. Environment-variable bootstrap and manual development instructions are available in the WebUI guide.
Windows tip: If the console shows garbled text, use the UTF-8 PowerShell helper:
.\webui\scripts\start-webui.ps1
Examples:
# Use another public frontend port
ms-agent ui --port 8080
# Keep the browser closed
ms-agent ui --no-browser
See the complete WebUI guide for prerequisites, configuration precedence, all launcher options, Windows notes, and troubleshooting. This minimal launcher intentionally does not provide a production SSR mode.
Singularity Cinema is an Agent-powered workflow for generating short videos, capable of producing high-quality complex short videos using either a single-sentence prompt or knowledge-based documents.
🎬 Supports Both Simple and Complex Requirements: Can work with a single-sentence description or handle complex information files
🎹 Sophisticated Tables and Formulas: Can display and interpret formulas and charts within short videos that correspond to the script
🎮 End-to-End: From requirements to script to storyboard, from voiceover to charts to subtitles, and finally human feedback and video generation—the entire end-to-end process completed with a single command
🏁 High Configurability: Highly configurable with easy adjustments for voice, style, and materials through simple configuration
🚧 Customizable: Clear and simple workflow, suitable for secondary development
Usage Example:
OPENAI_API_KEY=xxx-xxx T2I_API_KEY=ms-xxx-xxx MANIM_TEST_API_KEY=xxx-xxx ms-agent run --config "projects/singularity_cinema" --query "Your custom topic" --load_cache true --trust_remote_code true
Results:
An introduction to Deepspeed ZeRO
A history of US GDP
We are committed to continuously improving and expanding the MS-Agent framework to push the boundaries of large models and AI agents. Our future roadmap includes:
This project is licensed under the Apache License (Version 2.0).
❤️ Thanks for visiting ✨ MS-Agent !
(top 30 of 44)
Python
89.3%
TypeScript
10.2%