Full-Code · Orchestration Frameworksactive

ModelScope-Agent

also known as MS-Agent

Type: full-code  ·  Vendor: Alibaba ModelScope  ·  Language: Python  ·  License: Apache-2.0  ·  Status: active  ·  Status in practice: emerging  ·  First released: 2023-08-07

Links: homepage repo

Provide a lightweight, extensible Chinese-ecosystem agent framework with RolePlay agents, tool calling, hybrid RAG, and MCP-mediated multi-agent workflows.

Description. ModelScope-Agent (now also branded MS-Agent) is Alibaba ModelScope's open-source agent framework. It started in August 2023 as a RolePlay-style agent with tool calling and a published preprint (arXiv:2309.00986), and has since added an AgentFabric UI for creating agents tailored to applications, hybrid search combining FAISS dense retrieval with BM25, MCP-based tool calling, and code-generation artifacts. The framework integrates Qwen and other ModelScope-hosted models and ships RAG over LlamaIndex.

Agent loop shape. RolePlay-style tool-calling agent. Agents are configured with a role, tools, and an LLM (typically Qwen or OpenAI-SDK-compatible). The loop is the standard reason-tool-observe pattern with MCP servers and local tools as the action space; a multi-agent path orchestrates specialised agents for task decomposition.

Primary use cases

  • Chinese-ecosystem tool-using agents over Qwen and ModelScope APIs
  • agent chat with MCP-mediated external tools
  • hybrid (BM25 + dense) RAG over local code and docs
  • user-built agents via the AgentFabric UI

Key concepts

  • RolePlay agent (docs)Primary agent class — a role-prompted, tool-using agent supporting image inputs (e.g. GPT-4o) and OpenAI-SDK tool calling.
  • AgentFabric (docs)Interactive UI for creating agents tailored to applications, released Nov 17 2023.
  • MCP-based tool calling mcp (docs)Agent chat with tool-calling capabilities based on the Model Context Protocol.
  • Hybrid search hybrid-search (docs)FAISS dense retrieval combined with BM25 sparse retrieval for RAG.
  • Multi-Agent (general purpose) orchestrator-workers (docs)Orchestrates multiple specialised agents for task decomposition, data collection, quantitative analysis.

Patterns this full-code implements

Neighbourhood

Click any neighbour to follow the lineage. Scroll to zoom, drag to pan.