Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniMax-AI/Mini-Agent
/ types & classes
Types & classes
88 in github.com/MiniMax-AI/Mini-Agent
⨍
Functions
783
◇
Types & classes
88
↓ 34 callers
Class
Message
Chat message.
mini_agent/schema/schema.py:29
↓ 32 callers
Class
ToolResult
Tool execution result.
mini_agent/tools/base.py:8
↓ 22 callers
Class
LLMClient
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 callers
Class
BashTool
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 callers
Class
Agent
Single agent with basic tools and MCP support.
mini_agent/agent.py:45
↓ 17 callers
Class
GIFBuilder
Builder for creating optimized GIFs from frames.
mini_agent/skills/slack-gif-creator/core/gif_builder.py:16
↓ 12 callers
Class
ReadTool
Read file content.
mini_agent/tools/file_tools.py:63
↓ 12 callers
Class
SkillLoader
Skill loader
mini_agent/tools/skill_loader.py:47
↓ 12 callers
Class
WriteTool
Write content to a file.
mini_agent/tools/file_tools.py:155
↓ 10 callers
Class
BashOutputResult
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 callers
Class
MCPServerConnection
Manages connection to a single MCP server (STDIO or URL-based) with timeout handling.
mini_agent/tools/mcp_loader.py:122
↓ 10 callers
Class
SessionNoteTool
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 callers
Class
RecallNoteTool
Tool for recalling recorded session notes.
mini_agent/tools/note_tool.py:128
↓ 7 callers
Class
BashKillTool
Terminate a running background bash shell.
mini_agent/tools/bash_tool.py:535
↓ 7 callers
Class
EditTool
Edit file by replacing text.
mini_agent/tools/file_tools.py:212
↓ 6 callers
Class
BashOutputTool
Retrieve output from background bash shells.
mini_agent/tools/bash_tool.py:441
↓ 5 callers
Class
RetryConfig
Retry configuration class
mini_agent/retry.py:23
↓ 4 callers
Class
AnthropicClient
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 callers
Class
LLMResponse
LLM response.
mini_agent/schema/schema.py:48
↓ 4 callers
Class
MockWeatherTool
Mock weather tool for testing.
tests/test_tool_schema.py:10
↓ 3 callers
Class
FunctionCall
Function call details.
mini_agent/schema/schema.py:14
↓ 3 callers
Class
GetSkillTool
Tool to get detailed information about a specific skill
mini_agent/tools/skill_tool.py:13
↓ 3 callers
Class
MCPTimeoutConfig
MCP timeout configuration.
mini_agent/tools/mcp_loader.py:22
↓ 3 callers
Class
OpenAIClient
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 callers
Class
Particle
A single particle in a particle system.
mini_agent/skills/slack-gif-creator/core/visual_effects.py:16
↓ 3 callers
Class
ToolCall
Tool call structure.
mini_agent/schema/schema.py:21
↓ 2 callers
Class
AgentConfig
Agent configuration
mini_agent/config.py:32
↓ 2 callers
Class
LLMConfig
LLM configuration
mini_agent/config.py:22
↓ 2 callers
Class
MiniMaxACPAgent
Minimal ACP adapter wrapping the existing Agent runtime.
mini_agent/acp/__init__.py:70
↓ 2 callers
Class
MockCalculatorTool
Mock calculator tool for testing.
tests/test_tool_schema.py:38
↓ 2 callers
Class
MockSearchTool
Mock search tool with complex schema.
tests/test_tool_schema.py:66
↓ 2 callers
Class
ParagraphData
Data structure for paragraph properties extracted from a PowerPoint paragraph.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:137
↓ 2 callers
Class
RectAndField
mini_agent/skills/document-skills/pdf/scripts/check_bounding_boxes.py:11
↓ 2 callers
Class
TokenUsage
Token usage statistics from LLM API response.
mini_agent/schema/schema.py:40
↓ 2 callers
Class
ToolsConfig
Tools configuration
mini_agent/config.py:48
↓ 2 callers
Class
WeatherTool
Example weather tool.
examples/06_tool_schema_demo.py:24
↓ 1 callers
Class
AgentLogger
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 callers
Class
BackgroundShell
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 callers
Class
CalculatorTool
Example calculator tool.
examples/06_tool_schema_demo.py:91
↓ 1 callers
Class
Config
Main configuration class
mini_agent/config.py:66
↓ 1 callers
Class
DOCXSchemaValidator
Validator for Word document XML files against XSD schemas.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/docx.py:14
↓ 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
mini_agent/skills/document-skills/docx/scripts/document.py:47
↓ 1 callers
Class
DummyConn
tests/test_acp.py:13
↓ 1 callers
Class
DummyLLM
tests/test_acp.py:21
↓ 1 callers
Class
EchoTool
tests/test_acp.py:43
↓ 1 callers
Class
MCPConfig
MCP (Model Context Protocol) timeout configuration
mini_agent/config.py:40
↓ 1 callers
Class
MCPConnectionHTTP
MCP connection using Streamable HTTP.
mini_agent/skills/mcp-builder/scripts/connections.py:100
↓ 1 callers
Class
MCPConnectionSSE
MCP connection using Server-Sent Events.
mini_agent/skills/mcp-builder/scripts/connections.py:88
↓ 1 callers
Class
MCPConnectionStdio
MCP connection using standard input/output.
mini_agent/skills/mcp-builder/scripts/connections.py:73
↓ 1 callers
Class
MCPTool
Wrapper for MCP tools with timeout handling.
mini_agent/tools/mcp_loader.py:60
↓ 1 callers
Class
MockEnumTool
Mock tool with enum parameter.
tests/test_tool_schema.py:108
↓ 1 callers
Class
ParticleSystem
Manages a collection of particles.
mini_agent/skills/slack-gif-creator/core/visual_effects.py:106
↓ 1 callers
Class
RedliningValidator
Validator for tracked changes in Word documents.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/redlining.py:11
↓ 1 callers
Class
RetryConfig
Retry configuration
mini_agent/config.py:12
↓ 1 callers
Class
RetryExhaustedError
Retry exhausted exception
mini_agent/retry.py:64
↓ 1 callers
Class
SearchTool
Example search tool.
examples/06_tool_schema_demo.py:58
↓ 1 callers
Class
SessionState
mini_agent/acp/__init__.py:65
↓ 1 callers
Class
ShapeData
Data structure for shape properties extracted from a PowerPoint shape.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:266
↓ 1 callers
Class
ShapeWithPosition
A shape with its absolute position on the slide.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:129
↓ 1 callers
Class
Skill
Skill data structure
mini_agent/tools/skill_loader.py:16
↓ 1 callers
Class
TranslateTool
Example translate tool.
examples/06_tool_schema_demo.py:120
Class
mini_agent/skills/algorithmic-art/templates/generator_template.js:92
Class
BackgroundShellManager
Manager for all background shell processes.
mini_agent/tools/bash_tool.py:108
Class
BaseSchemaValidator
Base validator with common validation logic for document files.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/base.py:11
Class
BaseSchemaValidator
Base validator with common validation logic for document files.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/base.py:11
Class
Colors
Terminal color definitions
mini_agent/cli.py:44
Class
Colors
Terminal color definitions
mini_agent/agent.py:19
Class
DOCXSchemaValidator
Validator for Word document XML files against XSD schemas.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/docx.py:14
Class
Document
Manages comments in unpacked Word documents.
mini_agent/skills/document-skills/docx/scripts/document.py:612
Class
Entity
mini_agent/skills/algorithmic-art/templates/generator_template.js:92
Class
InitializeRequestPatch
mini_agent/acp/__init__.py:45
Class
LLMClientBase
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
Class
LLMProvider
LLM provider types.
mini_agent/schema/schema.py:7
Class
MCPConnection
Base class for MCP server connections.
mini_agent/skills/mcp-builder/scripts/connections.py:13
Class
PPTXSchemaValidator
Validator for PowerPoint presentation XML files against XSD schemas.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py:10
Class
PPTXSchemaValidator
Validator for PowerPoint presentation XML files against XSD schemas.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/pptx.py:10
Class
RedliningValidator
Validator for tracked changes in Word documents.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/redlining.py:11
Class
TestCalculateDisplayWidth
Tests for calculate_display_width function.
tests/test_terminal_utils.py:12
Class
TestDetermineConnectionType
Tests for _determine_connection_type function.
tests/test_mcp.py:34
Class
TestGetBoundingBoxMessages
mini_agent/skills/document-skills/pdf/scripts/check_bounding_boxes_test.py:8
Class
TestMCPServerConnectionInit
Tests for MCPServerConnection initialization.
tests/test_mcp.py:88
Class
TestMCPServerConnectionTimeout
Tests for MCPServerConnection timeout behavior.
tests/test_mcp.py:222
Class
TestMCPTimeoutConfig
Tests for MCP timeout configuration.
tests/test_mcp.py:160
Class
TestPadToWidth
Tests for pad_to_width function.
tests/test_terminal_utils.py:114
Class
TestRealWorldScenarios
Tests for real-world usage scenarios.
tests/test_terminal_utils.py:175
Class
TestTruncateWithEllipsis
Tests for truncate_with_ellipsis function.
tests/test_terminal_utils.py:66
Class
Tool
Base class for all tools.
mini_agent/tools/base.py:16
Class
XMLEditor
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