MS-Agent is an open-source agent framework maintained by the ModelScope community, positioned as lightweight, modular, and extensible, used to empower agentic execution of complex tasks. Its core idea is to combine models, tools, skills, and sub-agents into a customizable execution harness, where the harness is responsible for planning, context, permissions, and execution feedback, while enabling long-cycle tasks to continue progressing through project memory and autonomous scheduling.
Main capabilities
- Customizable execution harness: an extensible runtime integrates tool execution, permission checks, and feedback, supports lifecycle callbacks and Hooks for connecting business rules, validating plans, and checking results, and allows customization of agent behavior, human intervention timing, and how execution feedback affects the next step.
- Context and memory: session history, active context, and project memory are managed in layers, preserving complete records while trimming tool output and compressing earlier context; project memory can be invoked in subsequent tasks. Cron supports periodic and one-time tasks for continuous research, monitoring, and maintenance.
- Autonomous collaboration and explicit workflows: the main agent can delegate open-ended tasks to specialized sub-agents, and sequential workflows or directed acyclic graphs (DAGs) can be used to define stages and dependencies; each role can use different models, tools, and skills.
- Reusable skills and evaluation-driven improvement: domain knowledge and processes are packaged as skills that are loaded on demand and reused across tasks; a dedicated Skill Evolution workflow uses execution traces and evaluation feedback to revise skills and tests candidate updates on a validation set.
- Open ecosystem and portable resources: can connect to multiple model providers, use external tools through MCP, integrate with editors and other agents through ACP/A2A, and be extended with plugins; Agent Hub can convert, merge, and synchronize instructions, skills, and memory across different frameworks, and applications can also be exposed as MCP services.
- Unified SDK and multi-platform interfaces: a shared Python SDK provides execution and management capabilities for CLI, TUI, and WebUI, making it easy to reuse agent logic and extensions across terminals, browser workspaces, and business applications.
Built-in application directions
- Agentic Insight (deep research): on DeepResearch Bench, Agentic Insight v2 once achieved 2nd among open-source and 5th overall (the submitted version was Qwen3.5-Plus + GPT 5.2, with a score of 55.31); in v1.6.0, this deep research system has major improvements in architecture and performance, using It reaches 55.43 on DeepResearch Bench with GPT5 and Qwen3.5-plus/flash.
- DocResearch: supports pushing research reports to ModelScope, HuggingFace, and GitHub, supports exporting Markdown reports as HTML, PDF, PPTX, and DOCX, and supports TXT file processing and file preprocessing.
- FinResearch: a multi-agent workflow for financial research, supporting the collection of financial data via Akshare and Baostock, and supporting workflow orchestration with DagWorkflow.
- Code Genesis: for complex code generation tasks.
- Singularity Cinema: a short video generation workflow for complex scenarios.
Usage This project provides entry points such as Homepage, MCP Playground, Paper, Documentation, and Chinese documentation. The repository README includes sections such as Features, Installation, Applications, and Documentation. The agent logic can be reused in CLI, TUI, and WebUI via the Python SDK; Agent Hub supports managing agent workspace files locally and in remote ModelScope repositories via ms-agent agent, including upload and download, background synchronization (watch), conversion between frameworks, status checks, backup and restore, covering qoder, qwenpaw, openclaw, hermes, nanobot, openhuman, and ms-agent. The specific installation commands and configuration steps are not provided in the materials and require consulting the official documentation.
Applicable scenarios Suitable for long-cycle, multi-step, intervenable agent tasks, such as deep research, document research, financial research, complex code generation, short video generation, and embedding agent capabilities into terminals, browser workspaces, or business applications.
Limitations and notes The materials do not provide specific information such as fees, pricing, platform support scope, or performance limits; some capabilities (such as Agent Skills, the sandbox framework ms-enclave, RAY acceleration, Anthropic API format support, etc.) are introduced with version iterations, and the corresponding version documentation should be checked before use.