Skip to content

Commit 9f50354

Browse files
author
alcholiclg
committed
Merge branch 'main' of https://github.com/modelscope/ms-agent into fix/refine_deepresearch
Merge branch 'main' of https://github.com/modelscope/ms-agent into fix/refine_deepresearch
2 parents ffd0488 + 3420c82 commit 9f50354

108 files changed

Lines changed: 19674 additions & 136 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 98 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@
77
<p>
88

99
<p align="center">
10-
<a href="https://modelscope.cn/mcp/playground">MCP Playground</a> <a href="https://arxiv.org/abs/2309.00986">Paper</a> | <a href="https://ms-agent-en.readthedocs.io/en/latest">Docs</a>
10+
<a href="https://modelscope.cn/mcp/playground">MCP Playground</a> | <a href="https://arxiv.org/abs/2309.00986">Paper</a> | <a href="https://ms-agent-en.readthedocs.io">Documentation</a> | <a href="https://ms-agent.readthedocs.io/zh-cn">中文文档</a>
1111
<br>
1212
</p>
1313

1414
<p align="center">
15-
<img src="https://img.shields.io/badge/python-%E2%89%A53.8-5be.svg">
16-
<a href='https://modelscope-agent.readthedocs.io/en/latest/?badge=latest'>
17-
<img src='https://readthedocs.org/projects/modelscope-agent/badge/?version=latest' alt='Documentation Status' />
15+
<img src="https://img.shields.io/badge/python-%E2%89%A53.10-5be.svg">
16+
<a href='https://ms-agent-en.readthedocs.io/en/latest/'>
17+
<img src='https://readthedocs.org/projects/ms-agent/badge/?version=latest' alt='Documentation Status' />
1818
</a>
19-
<a href="https://github.com/modelscope/modelscope-agent/actions?query=branch%3Amaster+workflow%3Acitest++"><img src="https://img.shields.io/github/actions/workflow/status/modelscope/modelscope-agent/citest.yaml?branch=master&logo=github&label=CI"></a>
20-
<a href="https://github.com/modelscope/modelscope-agent/blob/main/LICENSE"><img src="https://img.shields.io/github/license/modelscope/modelscope-agent"></a>
21-
<a href="https://github.com/modelscope/modelscope-agent/pulls"><img src="https://img.shields.io/badge/PR-welcome-55EB99.svg"></a>
22-
<a href="https://pypi.org/project/modelscope-agent/"><img src="https://badge.fury.io/py/modelscope-agent.svg"></a>
23-
<a href="https://pepy.tech/project/modelscope-agent"><img src="https://pepy.tech/badge/modelscope-agent"></a>
19+
<a href="https://github.com/modelscope/ms-agent/actions?query=branch%3Amaster+workflow%3Acitest++"><img src="https://img.shields.io/github/actions/workflow/status/modelscope/ms-agent/citest.yaml?branch=master&logo=github&label=CI"></a>
20+
<a href="https://github.com/modelscope/ms-agent/blob/main/LICENSE"><img src="https://img.shields.io/github/license/modelscope/ms-agent"></a>
21+
<a href="https://github.com/modelscope/ms-agent/pulls"><img src="https://img.shields.io/badge/PR-welcome-55EB99.svg"></a>
22+
<a href="https://pypi.org/project/ms-agent/"><img src="https://badge.fury.io/py/ms-agent.svg"></a>
23+
<a href="https://pepy.tech/project/ms-agent"><img src="https://static.pepy.tech/badge/ms-agent"></a>
2424
</p>
2525

2626
<p align="center">
27-
<a href="https://trendshift.io/repositories/323" target="_blank"><img src="https://trendshift.io/api/badge/repositories/323" alt="modelscope%2Fmodelscope-agent | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
27+
<a href="https://trendshift.io/repositories/323" target="_blank"><img src="https://trendshift.io/api/badge/repositories/323" alt="modelscope%2Fms-agent | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
2828
</p>
2929

3030
## Introduction
@@ -36,6 +36,7 @@ MS-Agent is a lightweight framework designed to empower agents with autonomous e
3636
- **Multi-Agent for general purpose**: Chat with agent with tool-calling capabilities based on MCP.
3737
- **Deep Research**: To enable advanced capabilities for autonomous exploration and complex task execution.
3838
- **Code Generation**: Supports code generation tasks with artifacts.
39+
- **Agent Skills**: Implementation of [Anthropic-Agent-Skills](https://docs.claude.com/en/docs/agents-and-tools/agent-skills) Protocol.
3940
- **Lightweight and Extensible**: Easy to extend and customize for various applications.
4041

4142

@@ -47,26 +48,32 @@ MS-Agent is a lightweight framework designed to empower agents with autonomous e
4748

4849

4950
## 🎉 News
50-
* 🚀Sep 22, 2025: Release MS-Agent v1.3.0, which includes the following updates:
51+
52+
* 🚀 Nov 07, 2025: Release MS-Agent v1.4.0, which includes the following updates:
53+
- 🔥 We present [**MS-Agent Skills**](projects/agent_skills/README.md), an **Implementation** of [Anthropic-Agent-Skills](https://docs.claude.com/en/docs/agents-and-tools/agent-skills) Protocol.
54+
- 🔥 Add [Docs](https://ms-agent-en.readthedocs.io/en) and [中文文档](https://ms-agent.readthedocs.io/zh-cn)
55+
- 🔥 Support Sandbox Framework [ms-enclave](https://github.com/modelscope/ms-enclave)
56+
57+
* 🚀 Sep 22, 2025: Release MS-Agent v1.3.0, which includes the following updates:
5158
- 🔥 Support [Code Scratch](projects/code_scratch/README.md)
5259
- Support `Memory` for building agents with long-term and short-term memory
5360
- Enhance the DeepResearch workflow
5461
- Support RAY for accelerating document information extraction
5562
- Support Anthropic API format for LLMs
5663

57-
* 🚀Aug 28, 2025: Release MS-Agent v1.2.0, which includes the following updates:
64+
* 🚀 Aug 28, 2025: Release MS-Agent v1.2.0, which includes the following updates:
5865
- DocResearch now supports pushing to `ModelScope``HuggingFace``GitHub` for easy sharing of research reports. Refer to [Doc Research](projects/doc_research/README.md) for more details.
5966
- DocResearch now supports exporting the Markdown report to `HTML``PDF``PPTX` and `DOCX` formats, refer to [Doc Research](projects/doc_research/README.md) for more details.
6067
- DocResearch now supports `TXT` file processing and file preprocessing, refer to [Doc Research](projects/doc_research/README.md) for more details.
6168

62-
* 🚀July 31, 2025: Release MS-Agent v1.1.0, which includes the following updates:
69+
* 🚀 July 31, 2025: Release MS-Agent v1.1.0, which includes the following updates:
6370
- 🔥 Support [Doc Research](projects/doc_research/README.md), demo: [DocResearchStudio](https://modelscope.cn/studios/ms-agent/DocResearch)
6471
- Add `General Web Search Engine` for Agentic Insight (DeepResearch)
6572
- Add `Max Continuous Runs` for Agent chat with MCP.
6673

67-
* 🚀July 18, 2025: Release MS-Agent v1.0.0, improve the experience of Agent chat with MCP, and update the readme for [Agentic Insight](projects/deep_research/README.md).
74+
* 🚀 July 18, 2025: Release MS-Agent v1.0.0, improve the experience of Agent chat with MCP, and update the readme for [Agentic Insight](projects/deep_research/README.md).
6875

69-
* 🚀July 16, 2025: Release MS-Agent v1.0.0rc0, which includes the following updates:
76+
* 🚀 July 16, 2025: Release MS-Agent v1.0.0rc0, which includes the following updates:
7077
- Support for Agent chat with MCP (Model Context Protocol)
7178
- Support for Deep Research (Agentic Insight), refer to: [Report_Demo](projects/deep_research/examples/task_20250617a/report.md), [Script_Demo](projects/deep_research/run.py)
7279
- Support for [MCP-Playground](https://modelscope.cn/mcp/playground)
@@ -138,7 +145,7 @@ pip install -e .
138145
139146
## Quickstart
140147
141-
### Agent chat
148+
### Agent Chat
142149
This project supports interaction with models via the MCP (Model Context Protocol). Below is a complete example showing
143150
how to configure and run an LLMAgent with MCP support.
144151
@@ -239,6 +246,59 @@ asyncio.run(main())
239246
240247
</details>
241248
249+
250+
### Agent Skills
251+
252+
**MS-Agent Skills** is an **Implementation** of the [**Anthropic-Agent-Skills**](https://docs.claude.com/en/docs/agents-and-tools/agent-skills) protocol, enabling agents to autonomously explore and execute complex tasks by leveraging predefined or custom "skills".
253+
254+
255+
#### Key Features
256+
257+
- 📜 **Standard Skill Protocol**: Fully compatible with the [Anthropic Skills](https://github.com/anthropics/skills) protocol
258+
- 🧠 **Heuristic Context Loading**: Loads only necessary context—such as `References`, `Resources`, and `Scripts` on demand
259+
- 🤖 **Autonomous Execution**: Agents autonomously analyze, plan, and decide which scripts and resources to execute based on skill definitions
260+
- 🔍 **Skill Management**: Supports batch loading of skills and can automatically retrieve and discover relevant skills based on user input
261+
- 🛡️ **Code Execution Environment**: Optional local direct code execution or secure sandboxed execution via [**ms-enclave**](https://github.com/modelscope/ms-enclave), with automatic dependency installation and environment isolation
262+
- 📁 **Multi-file Type Support**: Supports documentation, scripts, and resource files
263+
- 🧩 **Extensible Design**: The skill data structure is modularized, with implementations such as `SkillSchema` and `SkillContext` provided for easy extension and customization
264+
265+
266+
#### Quick Start
267+
268+
> 💡 Note:
269+
> 1. Before running the following examples, ensure that you have set the `OPENAI_API_KEY` and `OPENAI_BASE_URL` environment variables to access the required model APIs.
270+
> 2. Agent Skills requires ms-agent >= 1.4.0
271+
272+
273+
**Installation**:
274+
275+
```shell
276+
pip install ms-agent
277+
```
278+
279+
**Usage**:
280+
281+
> This example demonstrates how to configure and run an Agent Skill that generates generative art code based on p5.js flow fields.
282+
283+
284+
Refer to: [Run Skills](projects/agent_skills/run.py)
285+
286+
287+
**Result**:
288+
289+
<div align="center">
290+
<img src="https://github.com/user-attachments/assets/9d5d78bf-c2db-4280-b780-324eab74a41e" alt="FlowFieldParticles" width="750">
291+
<p><em>Agent-Skills: Flow Field Particles</em></p>
292+
</div>
293+
294+
295+
#### References
296+
- **README**: [MS-Agent Skills](projects/agent_skills/README.md)
297+
- **Anthropic Agent Skills Official Docs**: [Anthropic-Agent-Skills](https://docs.claude.com/en/docs/agents-and-tools/agent-skills)
298+
- **Anthropic Skills GitHub Repo**: [Skills](https://github.com/anthropics/skills)
299+
300+
301+
242302
### Agentic Insight
243303
244304
#### - Lightweight, Efficient, and Extensible Multi-modal Deep Research Framework
@@ -276,9 +336,11 @@ So, how are external electric fields typically simulated in theoretical calculat
276336
```
277337
278338
#### Report
339+
279340
<https://github.com/user-attachments/assets/b1091dfc-9429-46ad-b7f8-7cbd1cf3209b>
280341
281342
343+
282344
For more details, please refer to [Deep Research](projects/deep_research/README.md).
283345
284346
<br>
@@ -352,10 +414,30 @@ For more details, refer to [Code Scratch](projects/code_scratch/README.md).
352414
353415
1. A news collection agent [ms-agent/newspaper](https://www.modelscope.cn/models/ms-agent/newspaper/summary)
354416
417+
418+
## Roadmap
419+
420+
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:
421+
422+
- [x] **Anthropic Agent Skills** - Full support for the [Anthropic-Agent-Skills](https://docs.claude.com/en/docs/agents-and-tools/agent-skills) protocol, enabling agents to autonomously explore and execute complex tasks using predefined or custom "skills".
423+
- [ ] **FinResearch** – A financial deep-research agent dedicated to in-depth analysis and research in the finance domain.
424+
- [ ] **Multimodal Agentic Search** – Supporting large-scale multimodal document retrieval and generation of search results combining text and images.
425+
- [ ] Enhanced **Agent Skills** – Providing a richer set of predefined skills and tools to expand agent capabilities and enabling multi-skill collaboration for complex task execution.
426+
- [ ] **Agent-Workstation** - An unified WebUI with one-click local deployment support with combining all agent capabilities of MS-Agent, such as AgentChat, MCP, AgentSkills, DeepResearch, DocResearch, CodeScratch, etc.
427+
428+
355429
## License
356430
357431
This project is licensed under the [Apache License (Version 2.0)](https://github.com/modelscope/modelscope/blob/master/LICENSE).
358432
359433
## Star History
360434
361435
[![Star History Chart](https://api.star-history.com/svg?repos=modelscope/modelscope-agent&type=Date)](https://star-history.com/#modelscope/modelscope-agent&Date)
436+
437+
438+
---
439+
440+
<p align="center">
441+
<em> ❤️ Thanks for visiting ✨ MS-Agent !</em><br><br>
442+
<img src="https://visitor-badge.laobi.icu/badge?page_id=modelscope.ms-agent&style=for-the-badge&color=00d4ff" alt="Views">
443+
</p>

0 commit comments

Comments
 (0)