MCPcopy Create free account

hub / github.com/modelscope/ms-agent / types & classes

Types & classes350 in github.com/modelscope/ms-agent

↓ 150 callersClassMessage
ms_agent/llm/utils.py:28
↓ 74 callersClassTool
ms_agent/llm/utils.py:17
↓ 27 callersClassExecutionOutput
Output specification for skill execution. Attributes: return_value: Return value from function execution. stdout: Standard o
ms_agent/skill/container.py:111
↓ 17 callersClassDataSourceError
Base data source error class
ms_agent/tools/findata/data_source_base.py:8
↓ 16 callersClassLLMAgent
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 callersClassOpenAI
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 callersClassImportInfo
Detailed information about an import statement
ms_agent/utils/parser_utils.py:11
↓ 11 callersClassNoDataFoundError
Data not found exception
ms_agent/tools/findata/data_source_base.py:13
↓ 10 callersClassSkillExecutionResult
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 callersClassExecutionInput
Input specification for skill execution. Attributes: args: Command line arguments or positional parameters. kwargs: Keyword
ms_agent/skill/container.py:76
↓ 9 callersClassSkillDAGResult
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 callersClassToolCall
ms_agent/llm/utils.py:9
↓ 7 callersClassArxivSearchRequest
A class representing a search request to ArXiv.
ms_agent/tools/search/arxiv/schema.py:15
↓ 6 callersClassArxivSearch
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 callersClassAutoSkills
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 callersClassMCPClient
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 callersClassAnthropic
ms_agent/llm/anthropic_llm.py:11
↓ 5 callersClassDAGExecutor
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 callersClassSkillContainer
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 callersClassWebSearchTool
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 callersClassArxivSearchResult
ArXiv search result implementation.
ms_agent/tools/search/arxiv/schema.py:95
↓ 4 callersClassOpenAIChat
ms_agent/llm/openai.py:16
↓ 4 callersClassResearchProgress
Model for tracking research progress.
ms_agent/workflow/deep_research/research_utils.py:10
↓ 4 callersClassSearchResponse
Base class for search responses.
ms_agent/tools/search/search_base.py:54
↓ 4 callersClassSummaryResult
Result of content summarization.
ms_agent/tools/search/content_optimizer.py:156
↓ 3 callersClassDaemonThreadPoolExecutor
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 callersClassDocLoader
ms_agent/tools/docling/doc_loader.py:35
↓ 3 callersClassEvidenceTool
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 callersClassFileSystemTool
A file system operation tool
ms_agent/tools/filesystem_tool.py:21
↓ 3 callersClassHierarchicalKeyInformationExtraction
ms_agent/rag/extraction.py:33
↓ 3 callersClassImageGenerator
ms_agent/tools/image_generator/image_gen.py:8
↓ 3 callersClassJinaReaderConfig
ms_agent/tools/jina_reader.py:20
↓ 3 callersClassLearningsResponse
Response model for processed search results.
ms_agent/workflow/deep_research/research_utils.py:48
↓ 3 callersClassMECEPrinciple
ms_agent/workflow/deep_research/principle.py:74
↓ 3 callersClassResearchResult
Model for research results.
ms_agent/workflow/deep_research/research_utils.py:22
↓ 2 callersClassBaseResult
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 callersClassCodeExecutionTool
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 callersClassContentOptimizer
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 callersClassContentOptimizerConfig
Configuration for content optimization.
ms_agent/tools/search/content_optimizer.py:179
↓ 2 callersClassDAGExecutionResult
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 callersClassDocument
Manages comments in unpacked Word documents.
examples/skills/claude_skills/docx/scripts/document.py:617
↓ 2 callersClassExaSearch
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 callersClassExaSearchRequest
ms_agent/tools/search/exa/schema.py:10
↓ 2 callersClassHistoryEventizer
webui/backend/deep_research_eventizer.py:18
↓ 2 callersClassHybridDocumentChunker
ms_agent/tools/docling/chunker.py:38
↓ 2 callersClassJinaContentFetcher
Fetch content using Jina Reader.
ms_agent/tools/search/websearch_tool.py:140
↓ 2 callersClassKeyInformation
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 callersClassLSPCodeServer
ms_agent/tools/code_server/lsp_code_server.py:496
↓ 2 callersClassLlamaIndexRAG
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 callersClassMockArxivResult
Mock class for arxiv.Result to simulate search results.
tests/search/test_search.py:12
↓ 2 callersClassRectAndField
examples/skills/claude_skills/pdf/scripts/check_bounding_boxes.py:11
↓ 2 callersClassResearchWorkflow
A workflow for conducting deep research tasks using LLMs and various tools.
ms_agent/workflow/deep_research/research_workflow.py:15
↓ 2 callersClassResearchWorkflowBeta
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 callersClassRuntime
ms_agent/agent/runtime.py:9
↓ 2 callersClassSerpApiSearch
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 callersClassSerpApiSearchRequest
A class representing a search request to SerpApi.
ms_agent/tools/search/serpapi/schema.py:9
↓ 2 callersClassSkillFile
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 callersClassSkillSchema
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 callersClassSpec
Specification for an AI agent's task planning and execution.
ms_agent/skill/spec.py:9
↓ 2 callersClassSplitTask
A tool special for task splitting
ms_agent/tools/split_task.py:11
↓ 2 callersClassTextChunk
ms_agent/tools/search/websearch_tool.py:50
↓ 2 callersClassTodoListTool
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 callersClassToolManager
Interacting with Agent class, hold all tools
ms_agent/tools/tool_manager.py:34
↓ 2 callersClassToolResult
ms_agent/llm/utils.py:100
↓ 2 callersClassVideoGenerator
ms_agent/tools/video_generator/video_gen.py:8
↓ 2 callersClass_FakeSearchResult
tests/tools/test_server_tools_smoke.py:34
↓ 1 callersClassAKShareDataSource
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 callersClassAdaptiveRateLimiter
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 callersClassAgentRunner
Runs ms-agent as a subprocess with output streaming
webui/backend/agent_runner.py:18
↓ 1 callersClassAgentTool
Expose existing ms-agent agents as callable tools.
ms_agent/tools/agent_tool.py:173
↓ 1 callersClassAnthropicConfig
ms_agent/utils/constants.py:85
↓ 1 callersClassAppCMD
The app webui class.
ms_agent/cli/app.py:13
↓ 1 callersClassArxivSearchRequestGenerator
ms_agent/tools/search/search_request.py:185
↓ 1 callersClassAudioGenerator
ms_agent/tools/audio_generator/audio_gen.py:8
↓ 1 callersClassBM25Retriever
Sparse retriever based on BM25 algorithm.
ms_agent/retriever/hybrid_retriever.py:16
↓ 1 callersClassBaoStockDataSource
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 callersClassBaoStockSessionManager
Thread-safe BaoStock session manager with connection reuse
ms_agent/tools/findata/baostock_source.py:17
↓ 1 callersClassBuiltInExceptionGroup
ms_agent/utils/utils.py:32
↓ 1 callersClassCancellationManager
Manage cooperative cancellation flags for FinResearch tasks (per user).
ms_agent/app/fin_research.py:280
↓ 1 callersClassChainWorkflow
A workflow implementation that executes tasks in a sequential chain.
ms_agent/workflow/chain_workflow.py:12
↓ 1 callersClassCodeAgent
A code class can be executed in a `CodeAgent` in a workflow
ms_agent/agent/code_agent.py:10
↓ 1 callersClassConfigManager
Manages global configuration for the Web UI
webui/backend/config_manager.py:13
↓ 1 callersClassConnectionManager
Manages WebSocket connections
webui/backend/websocket_handler.py:22
↓ 1 callersClassContentSummarizer
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 callersClassDOCXSchemaValidator
Validator for Word document XML files against XSD schemas.
examples/skills/claude_skills/docx/ooxml/scripts/validation/docx.py:14
↓ 1 callersClassDSImageGenerator
ms_agent/tools/image_generator/ds_image_gen.py:8
↓ 1 callersClassDSVideoGenerator
ms_agent/tools/video_generator/ds_video_gen.py:10
↓ 1 callersClassDagWorkflow
Workflow supporting multiple `next` tasks (DAG) with dynamic task execution.
ms_agent/workflow/dag_workflow.py:14
↓ 1 callersClassDashscopeConfig
ms_agent/utils/constants.py:70
↓ 1 callersClassDeepResearchWorkerManager
webui/backend/deep_research_worker_manager.py:12
↓ 1 callersClassDeepSeek
ms_agent/llm/deepseek_llm.py:9
↓ 1 callersClassDeepseekConfig
ms_agent/utils/constants.py:78
↓ 1 callersClassDocxXMLEditor
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 callersClassEdgeTTSGenerator
ms_agent/tools/audio_generator/edge_tts.py:5
↓ 1 callersClassEnclaveSandbox
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 callersClassExaSearchRequestGenerator
ms_agent/tools/search/search_request.py:35
↓ 1 callersClassExaSearchResult
ms_agent/tools/search/exa/schema.py:58
↓ 1 callersClassExecutionRecord
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 callersClassExecutionSpec
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 callersClassFileRelation
projects/code_genesis/workflow/coding.py:527
next →1–100 of 350, ranked by callers