MCPcopy Create free account

hub / github.com/MiniMax-AI/Mini-Agent / types & classes

Types & classes88 in github.com/MiniMax-AI/Mini-Agent

↓ 34 callersClassMessage
Chat message.
mini_agent/schema/schema.py:29
↓ 32 callersClassToolResult
Tool execution result.
mini_agent/tools/base.py:8
↓ 22 callersClassLLMClient
LLM Client wrapper supporting multiple providers. This class provides a unified interface for different LLM providers. It automatically insta
mini_agent/llm/llm_wrapper.py:18
↓ 21 callersClassBashTool
Execute shell commands in foreground or background. Automatically detects OS and uses appropriate shell: - Windows: PowerShell - Unix/Lin
mini_agent/tools/bash_tool.py:217
↓ 17 callersClassAgent
Single agent with basic tools and MCP support.
mini_agent/agent.py:45
↓ 17 callersClassGIFBuilder
Builder for creating optimized GIFs from frames.
mini_agent/skills/slack-gif-creator/core/gif_builder.py:16
↓ 12 callersClassReadTool
Read file content.
mini_agent/tools/file_tools.py:63
↓ 12 callersClassSkillLoader
Skill loader
mini_agent/tools/skill_loader.py:47
↓ 12 callersClassWriteTool
Write content to a file.
mini_agent/tools/file_tools.py:155
↓ 10 callersClassBashOutputResult
Bash command execution result with separated stdout and stderr. Inherits from ToolResult which provides: - success: bool - content: str (
mini_agent/tools/bash_tool.py:18
↓ 10 callersClassMCPServerConnection
Manages connection to a single MCP server (STDIO or URL-based) with timeout handling.
mini_agent/tools/mcp_loader.py:122
↓ 10 callersClassSessionNoteTool
Tool for recording and recalling session notes. The agent can use this tool to: - Record important facts, decisions, or context during sessio
mini_agent/tools/note_tool.py:17
↓ 9 callersClassRecallNoteTool
Tool for recalling recorded session notes.
mini_agent/tools/note_tool.py:128
↓ 7 callersClassBashKillTool
Terminate a running background bash shell.
mini_agent/tools/bash_tool.py:535
↓ 7 callersClassEditTool
Edit file by replacing text.
mini_agent/tools/file_tools.py:212
↓ 6 callersClassBashOutputTool
Retrieve output from background bash shells.
mini_agent/tools/bash_tool.py:441
↓ 5 callersClassRetryConfig
Retry configuration class
mini_agent/retry.py:23
↓ 4 callersClassAnthropicClient
LLM client using Anthropic's protocol. This client uses the official Anthropic SDK and supports: - Extended thinking content - Tool calli
mini_agent/llm/anthropic_client.py:15
↓ 4 callersClassLLMResponse
LLM response.
mini_agent/schema/schema.py:48
↓ 4 callersClassMockWeatherTool
Mock weather tool for testing.
tests/test_tool_schema.py:10
↓ 3 callersClassFunctionCall
Function call details.
mini_agent/schema/schema.py:14
↓ 3 callersClassGetSkillTool
Tool to get detailed information about a specific skill
mini_agent/tools/skill_tool.py:13
↓ 3 callersClassMCPTimeoutConfig
MCP timeout configuration.
mini_agent/tools/mcp_loader.py:22
↓ 3 callersClassOpenAIClient
LLM client using OpenAI's protocol. This client uses the official OpenAI SDK and supports: - Reasoning content (via reasoning_split=True)
mini_agent/llm/openai_client.py:16
↓ 3 callersClassParticle
A single particle in a particle system.
mini_agent/skills/slack-gif-creator/core/visual_effects.py:16
↓ 3 callersClassToolCall
Tool call structure.
mini_agent/schema/schema.py:21
↓ 2 callersClassAgentConfig
Agent configuration
mini_agent/config.py:32
↓ 2 callersClassLLMConfig
LLM configuration
mini_agent/config.py:22
↓ 2 callersClassMiniMaxACPAgent
Minimal ACP adapter wrapping the existing Agent runtime.
mini_agent/acp/__init__.py:70
↓ 2 callersClassMockCalculatorTool
Mock calculator tool for testing.
tests/test_tool_schema.py:38
↓ 2 callersClassMockSearchTool
Mock search tool with complex schema.
tests/test_tool_schema.py:66
↓ 2 callersClassParagraphData
Data structure for paragraph properties extracted from a PowerPoint paragraph.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:137
↓ 2 callersClassRectAndField
mini_agent/skills/document-skills/pdf/scripts/check_bounding_boxes.py:11
↓ 2 callersClassTokenUsage
Token usage statistics from LLM API response.
mini_agent/schema/schema.py:40
↓ 2 callersClassToolsConfig
Tools configuration
mini_agent/config.py:48
↓ 2 callersClassWeatherTool
Example weather tool.
examples/06_tool_schema_demo.py:24
↓ 1 callersClassAgentLogger
Agent run logger Responsible for recording the complete interaction process of each agent run, including: - LLM requests and responses -
mini_agent/logger.py:11
↓ 1 callersClassBackgroundShell
Background shell data container. Pure data class that only stores state and output. IO operations are managed externally by BackgroundShellMa
mini_agent/tools/bash_tool.py:52
↓ 1 callersClassCalculatorTool
Example calculator tool.
examples/06_tool_schema_demo.py:91
↓ 1 callersClassConfig
Main configuration class
mini_agent/config.py:66
↓ 1 callersClassDOCXSchemaValidator
Validator for Word document XML files against XSD schemas.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/docx.py:14
↓ 1 callersClassDocxXMLEditor
XMLEditor that automatically applies RSID, author, and date to new elements. Automatically adds attributes to elements that support them when ins
mini_agent/skills/document-skills/docx/scripts/document.py:47
↓ 1 callersClassDummyConn
tests/test_acp.py:13
↓ 1 callersClassDummyLLM
tests/test_acp.py:21
↓ 1 callersClassEchoTool
tests/test_acp.py:43
↓ 1 callersClassMCPConfig
MCP (Model Context Protocol) timeout configuration
mini_agent/config.py:40
↓ 1 callersClassMCPConnectionHTTP
MCP connection using Streamable HTTP.
mini_agent/skills/mcp-builder/scripts/connections.py:100
↓ 1 callersClassMCPConnectionSSE
MCP connection using Server-Sent Events.
mini_agent/skills/mcp-builder/scripts/connections.py:88
↓ 1 callersClassMCPConnectionStdio
MCP connection using standard input/output.
mini_agent/skills/mcp-builder/scripts/connections.py:73
↓ 1 callersClassMCPTool
Wrapper for MCP tools with timeout handling.
mini_agent/tools/mcp_loader.py:60
↓ 1 callersClassMockEnumTool
Mock tool with enum parameter.
tests/test_tool_schema.py:108
↓ 1 callersClassParticleSystem
Manages a collection of particles.
mini_agent/skills/slack-gif-creator/core/visual_effects.py:106
↓ 1 callersClassRedliningValidator
Validator for tracked changes in Word documents.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/redlining.py:11
↓ 1 callersClassRetryConfig
Retry configuration
mini_agent/config.py:12
↓ 1 callersClassRetryExhaustedError
Retry exhausted exception
mini_agent/retry.py:64
↓ 1 callersClassSearchTool
Example search tool.
examples/06_tool_schema_demo.py:58
↓ 1 callersClassSessionState
mini_agent/acp/__init__.py:65
↓ 1 callersClassShapeData
Data structure for shape properties extracted from a PowerPoint shape.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:266
↓ 1 callersClassShapeWithPosition
A shape with its absolute position on the slide.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:129
↓ 1 callersClassSkill
Skill data structure
mini_agent/tools/skill_loader.py:16
↓ 1 callersClassTranslateTool
Example translate tool.
examples/06_tool_schema_demo.py:120
Class
mini_agent/skills/algorithmic-art/templates/generator_template.js:92
ClassBackgroundShellManager
Manager for all background shell processes.
mini_agent/tools/bash_tool.py:108
ClassBaseSchemaValidator
Base validator with common validation logic for document files.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/base.py:11
ClassBaseSchemaValidator
Base validator with common validation logic for document files.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/base.py:11
ClassColors
Terminal color definitions
mini_agent/cli.py:44
ClassColors
Terminal color definitions
mini_agent/agent.py:19
ClassDOCXSchemaValidator
Validator for Word document XML files against XSD schemas.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/docx.py:14
ClassDocument
Manages comments in unpacked Word documents.
mini_agent/skills/document-skills/docx/scripts/document.py:612
ClassEntity
mini_agent/skills/algorithmic-art/templates/generator_template.js:92
ClassInitializeRequestPatch
mini_agent/acp/__init__.py:45
ClassLLMClientBase
Abstract base class for LLM clients. This class defines the interface that all LLM clients must implement, regardless of the underlying API p
mini_agent/llm/base.py:10
ClassLLMProvider
LLM provider types.
mini_agent/schema/schema.py:7
ClassMCPConnection
Base class for MCP server connections.
mini_agent/skills/mcp-builder/scripts/connections.py:13
ClassPPTXSchemaValidator
Validator for PowerPoint presentation XML files against XSD schemas.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py:10
ClassPPTXSchemaValidator
Validator for PowerPoint presentation XML files against XSD schemas.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/pptx.py:10
ClassRedliningValidator
Validator for tracked changes in Word documents.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/redlining.py:11
ClassTestCalculateDisplayWidth
Tests for calculate_display_width function.
tests/test_terminal_utils.py:12
ClassTestDetermineConnectionType
Tests for _determine_connection_type function.
tests/test_mcp.py:34
ClassTestGetBoundingBoxMessages
mini_agent/skills/document-skills/pdf/scripts/check_bounding_boxes_test.py:8
ClassTestMCPServerConnectionInit
Tests for MCPServerConnection initialization.
tests/test_mcp.py:88
ClassTestMCPServerConnectionTimeout
Tests for MCPServerConnection timeout behavior.
tests/test_mcp.py:222
ClassTestMCPTimeoutConfig
Tests for MCP timeout configuration.
tests/test_mcp.py:160
ClassTestPadToWidth
Tests for pad_to_width function.
tests/test_terminal_utils.py:114
ClassTestRealWorldScenarios
Tests for real-world usage scenarios.
tests/test_terminal_utils.py:175
ClassTestTruncateWithEllipsis
Tests for truncate_with_ellipsis function.
tests/test_terminal_utils.py:66
ClassTool
Base class for all tools.
mini_agent/tools/base.py:16
ClassXMLEditor
Editor for manipulating OOXML XML files with line-number-based node finding. This class parses XML files and tracks the original line and co
mini_agent/skills/document-skills/docx/scripts/utilities.py:41