Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelscope/ms-agent
/ types & classes
Types & classes
350 in github.com/modelscope/ms-agent
⨍
Functions
2,117
◇
Types & classes
350
↳
Endpoints
35
↓ 150 callers
Class
Message
ms_agent/llm/utils.py:28
↓ 74 callers
Class
Tool
ms_agent/llm/utils.py:17
↓ 27 callers
Class
ExecutionOutput
Output specification for skill execution. Attributes: return_value: Return value from function execution. stdout: Standard o
ms_agent/skill/container.py:111
↓ 17 callers
Class
DataSourceError
Base data source error class
ms_agent/tools/findata/data_source_base.py:8
↓ 16 callers
Class
LLMAgent
An agent designed to run LLM-based tasks with support for tools, memory, planning, callbacks, and automatic skill execution. This class
ms_agent/agent/llm_agent.py:35
↓ 14 callers
Class
OpenAI
Base Class for OpenAI SDK LLMs. This class provides the base implementation for interacting with OpenAI-compatible models, including support
ms_agent/llm/openai_llm.py:18
↓ 12 callers
Class
ImportInfo
Detailed information about an import statement
ms_agent/utils/parser_utils.py:11
↓ 11 callers
Class
NoDataFoundError
Data not found exception
ms_agent/tools/findata/data_source_base.py:13
↓ 10 callers
Class
SkillExecutionResult
Result of executing a single skill. Attributes: skill_id: Identifier of the executed skill. success: Whether execution was s
ms_agent/skill/auto_skills.py:71
↓ 9 callers
Class
ExecutionInput
Input specification for skill execution. Attributes: args: Command line arguments or positional parameters. kwargs: Keyword
ms_agent/skill/container.py:76
↓ 9 callers
Class
SkillDAGResult
Result of AutoSkills run containing the skill execution DAG. Attributes: dag: Adjacency list representation of skill dependencies.
ms_agent/skill/auto_skills.py:360
↓ 9 callers
Class
ToolCall
ms_agent/llm/utils.py:9
↓ 7 callers
Class
ArxivSearchRequest
A class representing a search request to ArXiv.
ms_agent/tools/search/arxiv/schema.py:15
↓ 6 callers
Class
ArxivSearch
Search engine using arXiv API. Best for: scientific literature, research papers, preprints. Supports sorting by relevance, submission da
ms_agent/tools/search/arxiv/search.py:107
↓ 6 callers
Class
AutoSkills
Automatic skill retrieval and DAG construction for user queries. Uses hybrid retrieval (dense + sparse) to find relevant skills, with LL
ms_agent/skill/auto_skills.py:1081
↓ 6 callers
Class
MCPClient
MCP client for all mcp tools This class can hold multiple mcp servers. Args: config(`DictConfig`): The config instance. mcp_
ms_agent/tools/mcp_client.py:33
↓ 5 callers
Class
Anthropic
ms_agent/llm/anthropic_llm.py:11
↓ 5 callers
Class
DAGExecutor
Executor for skill DAG with dependency-aware parallel execution. Handles execution order parsing, input/output linking between skills, a
ms_agent/skill/auto_skills.py:402
↓ 5 callers
Class
SkillContainer
Secure container for executing skills. Supports two execution modes: - use_sandbox=True: Execute in Docker sandbox via ms-enclave (recom
ms_agent/skill/container.py:325
↓ 5 callers
Class
WebSearchTool
Unified web search tool for agents. It can search the web and fetch page content. - Search via multiple engines (Exa, SerpAPI, Arxiv) - D
ms_agent/tools/search/websearch_tool.py:265
↓ 4 callers
Class
ArxivSearchResult
ArXiv search result implementation.
ms_agent/tools/search/arxiv/schema.py:95
↓ 4 callers
Class
OpenAIChat
ms_agent/llm/openai.py:16
↓ 4 callers
Class
ResearchProgress
Model for tracking research progress.
ms_agent/workflow/deep_research/research_utils.py:10
↓ 4 callers
Class
SearchResponse
Base class for search responses.
ms_agent/tools/search/search_base.py:54
↓ 4 callers
Class
SummaryResult
Result of content summarization.
ms_agent/tools/search/content_optimizer.py:156
↓ 3 callers
Class
DaemonThreadPoolExecutor
A ThreadPoolExecutor whose worker threads are daemon threads. Why: - In this repo, we run synchronous network calls in `run_in_executor`
ms_agent/utils/thread_util.py:78
↓ 3 callers
Class
DocLoader
ms_agent/tools/docling/doc_loader.py:35
↓ 3 callers
Class
EvidenceTool
Evidence management tool for DeepResearch agents. Provides structured storage and retrieval of evidence cards (notes). Each note represe
projects/deep_research/v2/tools/evidence_tool.py:301
↓ 3 callers
Class
FileSystemTool
A file system operation tool
ms_agent/tools/filesystem_tool.py:21
↓ 3 callers
Class
HierarchicalKeyInformationExtraction
ms_agent/rag/extraction.py:33
↓ 3 callers
Class
ImageGenerator
ms_agent/tools/image_generator/image_gen.py:8
↓ 3 callers
Class
JinaReaderConfig
ms_agent/tools/jina_reader.py:20
↓ 3 callers
Class
LearningsResponse
Response model for processed search results.
ms_agent/workflow/deep_research/research_utils.py:48
↓ 3 callers
Class
MECEPrinciple
ms_agent/workflow/deep_research/principle.py:74
↓ 3 callers
Class
ResearchResult
Model for research results.
ms_agent/workflow/deep_research/research_utils.py:22
↓ 2 callers
Class
BaseResult
A class representing the base fields of a search result. Attributes: url (str): The URL of the search result. id (str): The tempo
ms_agent/tools/search/search_base.py:31
↓ 2 callers
Class
CodeExecutionTool
Tool for executing Python code in an isolated Docker sandbox. Features: - Complete Docker container isolation - Resource limits (mem
ms_agent/tools/code/code_executor.py:83
↓ 2 callers
Class
ContentOptimizer
Integrated content optimization combining summarization and reranking. This is the main entry point for content optimization in the web sear
ms_agent/tools/search/content_optimizer.py:893
↓ 2 callers
Class
ContentOptimizerConfig
Configuration for content optimization.
ms_agent/tools/search/content_optimizer.py:179
↓ 2 callers
Class
DAGExecutionResult
Result of executing the entire skill DAG. Attributes: success: Whether all skills executed successfully. results: Dict mappi
ms_agent/skill/auto_skills.py:88
↓ 2 callers
Class
Document
Manages comments in unpacked Word documents.
examples/skills/claude_skills/docx/scripts/document.py:617
↓ 2 callers
Class
ExaSearch
Search engine using Exa API. Best for: semantic understanding, finding similar content, recent web pages with date filtering.
ms_agent/tools/search/exa/search.py:13
↓ 2 callers
Class
ExaSearchRequest
ms_agent/tools/search/exa/schema.py:10
↓ 2 callers
Class
HistoryEventizer
webui/backend/deep_research_eventizer.py:18
↓ 2 callers
Class
HybridDocumentChunker
ms_agent/tools/docling/chunker.py:38
↓ 2 callers
Class
JinaContentFetcher
Fetch content using Jina Reader.
ms_agent/tools/search/websearch_tool.py:140
↓ 2 callers
Class
KeyInformation
Represents key information extracted from a document. text (str): The text of the key information. Note that this text may contain `
ms_agent/rag/schema.py:6
↓ 2 callers
Class
LSPCodeServer
ms_agent/tools/code_server/lsp_code_server.py:496
↓ 2 callers
Class
LlamaIndexRAG
LlamaIndexRAG class to implement the RAG of llama-index The configuration needed in the config yaml: - name: LlamaIndexRAG - embe
ms_agent/rag/llama_index_rag.py:13
↓ 2 callers
Class
MockArxivResult
Mock class for arxiv.Result to simulate search results.
tests/search/test_search.py:12
↓ 2 callers
Class
RectAndField
examples/skills/claude_skills/pdf/scripts/check_bounding_boxes.py:11
↓ 2 callers
Class
ResearchWorkflow
A workflow for conducting deep research tasks using LLMs and various tools.
ms_agent/workflow/deep_research/research_workflow.py:15
↓ 2 callers
Class
ResearchWorkflowBeta
Overview ------- A deep-research workflow that orchestrates recursive web search, structured extraction, and final answer/report gene
ms_agent/workflow/deep_research/research_workflow_beta.py:107
↓ 2 callers
Class
Runtime
ms_agent/agent/runtime.py:9
↓ 2 callers
Class
SerpApiSearch
Search engine using SerpApi service. Best for: general web search via Google/Bing/Baidu, current events, news, and real-time information
ms_agent/tools/search/serpapi/search.py:13
↓ 2 callers
Class
SerpApiSearchRequest
A class representing a search request to SerpApi.
ms_agent/tools/search/serpapi/schema.py:9
↓ 2 callers
Class
SkillFile
Represents a file within a Skill directory. Attributes: name: File name (e.g., "SKILL.md", "script.py") type: File extension
ms_agent/skill/schema.py:24
↓ 2 callers
Class
SkillSchema
Complete schema for a Skill directory. Attributes: skill_id: Unique identifier for the Skill name: Skill name (max 64 charac
ms_agent/skill/schema.py:67
↓ 2 callers
Class
Spec
Specification for an AI agent's task planning and execution.
ms_agent/skill/spec.py:9
↓ 2 callers
Class
SplitTask
A tool special for task splitting
ms_agent/tools/split_task.py:11
↓ 2 callers
Class
TextChunk
ms_agent/tools/search/websearch_tool.py:50
↓ 2 callers
Class
TodoListTool
Todo list tool for ms-agent. Storage format: - {output_dir}/plan.json: { "schema_version": 1, "updated_at":
ms_agent/tools/todolist_tool.py:65
↓ 2 callers
Class
ToolManager
Interacting with Agent class, hold all tools
ms_agent/tools/tool_manager.py:34
↓ 2 callers
Class
ToolResult
ms_agent/llm/utils.py:100
↓ 2 callers
Class
VideoGenerator
ms_agent/tools/video_generator/video_gen.py:8
↓ 2 callers
Class
_FakeSearchResult
tests/tools/test_server_tools_smoke.py:34
↓ 1 callers
Class
AKShareDataSource
AKShare Data Source Implementation Supports multi-market data: - A-share market data - HK stock market data - US stock market da
ms_agent/tools/findata/akshare_source.py:15
↓ 1 callers
Class
AdaptiveRateLimiter
Dynamically adjusts rate limits based on request success rate and error types. Automatically reduces request rate when rate limit errors are
ms_agent/utils/rate_limiter.py:170
↓ 1 callers
Class
AgentRunner
Runs ms-agent as a subprocess with output streaming
webui/backend/agent_runner.py:18
↓ 1 callers
Class
AgentTool
Expose existing ms-agent agents as callable tools.
ms_agent/tools/agent_tool.py:173
↓ 1 callers
Class
AnthropicConfig
ms_agent/utils/constants.py:85
↓ 1 callers
Class
AppCMD
The app webui class.
ms_agent/cli/app.py:13
↓ 1 callers
Class
ArxivSearchRequestGenerator
ms_agent/tools/search/search_request.py:185
↓ 1 callers
Class
AudioGenerator
ms_agent/tools/audio_generator/audio_gen.py:8
↓ 1 callers
Class
BM25Retriever
Sparse retriever based on BM25 algorithm.
ms_agent/retriever/hybrid_retriever.py:16
↓ 1 callers
Class
BaoStockDataSource
BaoStock Data Source Implementation Provides A-share market data: - Historical K-line data - Stock basic information - Financial
ms_agent/tools/findata/baostock_source.py:92
↓ 1 callers
Class
BaoStockSessionManager
Thread-safe BaoStock session manager with connection reuse
ms_agent/tools/findata/baostock_source.py:17
↓ 1 callers
Class
BuiltInExceptionGroup
ms_agent/utils/utils.py:32
↓ 1 callers
Class
CancellationManager
Manage cooperative cancellation flags for FinResearch tasks (per user).
ms_agent/app/fin_research.py:280
↓ 1 callers
Class
ChainWorkflow
A workflow implementation that executes tasks in a sequential chain.
ms_agent/workflow/chain_workflow.py:12
↓ 1 callers
Class
CodeAgent
A code class can be executed in a `CodeAgent` in a workflow
ms_agent/agent/code_agent.py:10
↓ 1 callers
Class
ConfigManager
Manages global configuration for the Web UI
webui/backend/config_manager.py:13
↓ 1 callers
Class
ConnectionManager
Manages WebSocket connections
webui/backend/websocket_handler.py:22
↓ 1 callers
Class
ContentSummarizer
Summarize webpage content using a fast LLM model. This class provides asynchronous content summarization with: - Timeout protection -
ms_agent/tools/search/content_optimizer.py:343
↓ 1 callers
Class
DOCXSchemaValidator
Validator for Word document XML files against XSD schemas.
examples/skills/claude_skills/docx/ooxml/scripts/validation/docx.py:14
↓ 1 callers
Class
DSImageGenerator
ms_agent/tools/image_generator/ds_image_gen.py:8
↓ 1 callers
Class
DSVideoGenerator
ms_agent/tools/video_generator/ds_video_gen.py:10
↓ 1 callers
Class
DagWorkflow
Workflow supporting multiple `next` tasks (DAG) with dynamic task execution.
ms_agent/workflow/dag_workflow.py:14
↓ 1 callers
Class
DashscopeConfig
ms_agent/utils/constants.py:70
↓ 1 callers
Class
DeepResearchWorkerManager
webui/backend/deep_research_worker_manager.py:12
↓ 1 callers
Class
DeepSeek
ms_agent/llm/deepseek_llm.py:9
↓ 1 callers
Class
DeepseekConfig
ms_agent/utils/constants.py:78
↓ 1 callers
Class
DocxXMLEditor
XMLEditor that automatically applies RSID, author, and date to new elements. Automatically adds attributes to elements that support them when ins
examples/skills/claude_skills/docx/scripts/document.py:47
↓ 1 callers
Class
EdgeTTSGenerator
ms_agent/tools/audio_generator/edge_tts.py:5
↓ 1 callers
Class
EnclaveSandbox
A sandbox environment for securely executing code and commands based on `ms-enclave`. See `https://github.com/modelscope/ms-enclave`
ms_agent/sandbox/sandbox.py:28
↓ 1 callers
Class
ExaSearchRequestGenerator
ms_agent/tools/search/search_request.py:35
↓ 1 callers
Class
ExaSearchResult
ms_agent/tools/search/exa/schema.py:58
↓ 1 callers
Class
ExecutionRecord
A single execution record in the spec log. Attributes: execution_id: Unique identifier for this execution. skill_id: The ski
ms_agent/skill/container.py:147
↓ 1 callers
Class
ExecutionSpec
Specification log for tracking execution flow across skills. Attributes: spec_id: Unique identifier for this spec. title: Ti
ms_agent/skill/container.py:239
↓ 1 callers
Class
FileRelation
projects/code_genesis/workflow/coding.py:527
next →
1–100 of 350, ranked by callers