ms-agent
modelscope/ms-agent · Public GitHub repository
MS-Agent: a lightweight framework to empower agentic execution of complex tasks
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
Homepage | MCP Playground | Paper | Documentation | 中文文档
MS-Agent is a modular, extensible open-source agent framework built for complex, long-running tasks. Combine models, tools, skills, and sub-agents with a customizable harness to build a productivity assistant tailored to your work. The harness manages planning, context, permissions, and execution feedback, while project memory and autonomous scheduling help the assistant keep complex tasks moving forward.
A shared Python SDK handles execution and management for the CLI, TUI, and WebUI, so you can reuse agent logic and extensions across terminals, browser workspaces, and business applications with less integration and maintenance work.
- An extensible runtime brings together tool execution, permission checks, and feedback. Use lifecycle callbacks and Hooks to integrate business rules, validate plans, and check results. Customize how agents act, when…
- Manage session history, active context, and project memory as distinct layers. Preserve full records while pruning tool output and compacting older context, then draw on project memory in later tasks. Cron supports…
- Let a lead agent delegate open-ended tasks to specialist sub-agents, or define stages and dependencies with sequential workflows or directed acyclic graphs (DAGs). Choose models, tools, and skills for each role to suit…
- Package domain knowledge and procedures into skills loaded on demand and reused across tasks. A dedicated Skill Evolution workflow uses execution traces and evaluation feedback to revise skills, then tests candidate…
- Connect to multiple model providers, use MCP for external tools, integrate with editors and other agents through ACP / A2A, and extend functionality with plugins. Agent Hub converts, merges, and synchronizes…
Requirements and intended audience
Homepage | MCP Playground | Paper | Documentation | 中文文档
MS-Agent is a modular, extensible open-source agent framework built for complex, long-running tasks. Combine models, tools, skills, and sub-agents with a customizable harness to build a productivity assistant tailored to your work. The harness manages planning, context, permissions, and execution feedback, while project memory and autonomous scheduling help the assistant keep…
- External API key · Required
If you have installed WebUI, skip environment creation and source installation, and configure your API key in the same environment.
- External API key · Required
WebUI users can then run ms-agent ui; terminal and SDK users also need to set their API key again, or save it in a .env file as described in the configuration guide.
Not recorded: account, paid service, self-hosting. Missing information does not mean there are no requirements.
Statements extracted from the author’s documentation · Checked 2026-10-19. Source: https://github.com/modelscope/ms-agent/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-11-23. Saved release: v1.6.0 · 2026-03-23. These dates do not guarantee ongoing maintenance.
- Technologies
- Python
- Licence
- Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-23. This does not test every feature.
Browse related categories
More projects to explore
firecrawl
firecrawl/firecrawl
Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
core
home-assistant/core
Open source home automation that puts local control and privacy first.
PaddleOCR
PaddlePaddle/PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
markdown-here
adam-p/markdown-here
Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending.