Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MiniMax-AI/Mini-Agent
/ functions
Functions
783 in github.com/MiniMax-AI/Mini-Agent
⨍
Functions
783
◇
Types & classes
88
↓ 1 callers
Method
_get_usable_dimensions
Get usable width and height in pixels after accounting for margins.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:509
↓ 1 callers
Method
_has_author
Check if an author already exists in people.xml.
mini_agent/skills/document-skills/docx/scripts/document.py:1174
↓ 1 callers
Method
_load_existing_comments
Load existing comments from files to enable replies.
mini_agent/skills/document-skills/docx/scripts/document.py:904
↓ 1 callers
Method
_load_from_file
Load notes from file. Returns empty list if file doesn't exist (lazy loading).
mini_agent/tools/note_tool.py:69
↓ 1 callers
Method
_looks_like_uuid
Check if a value has the general structure of a UUID.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/pptx.py:121
↓ 1 callers
Method
_looks_like_uuid
Check if a value has the general structure of a UUID.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/pptx.py:121
↓ 1 callers
Method
_make_api_request
Execute API request (core method that can be retried). Args: system_message: Optional system message api_messages: Li
mini_agent/llm/anthropic_client.py:48
↓ 1 callers
Method
_make_api_request
Execute API request (core method that can be retried). Args: api_messages: List of messages in OpenAI format tools: O
mini_agent/llm/openai_client.py:48
↓ 1 callers
Function
_open_directory_in_file_manager
Open directory in system file manager (cross-platform).
mini_agent/cli.py:128
↓ 1 callers
Method
_parse_response
Parse Anthropic response into LLMResponse. Args: response: Anthropic Message response Returns: LLMResponse o
mini_agent/llm/anthropic_client.py:202
↓ 1 callers
Method
_parse_response
Parse OpenAI response into LLMResponse. Args: response: OpenAI ChatCompletion response (full response object) Returns:
mini_agent/llm/openai_client.py:203
↓ 1 callers
Method
_prepare_request
Prepare the request for Anthropic API. Args: messages: List of conversation messages tools: Optional list of availabl
mini_agent/llm/anthropic_client.py:180
↓ 1 callers
Method
_prepare_request
Prepare the request for OpenAI API. Args: messages: List of conversation messages tools: Optional list of available t
mini_agent/llm/openai_client.py:182
↓ 1 callers
Method
_preprocess_for_mc_ignorable
Preprocess XML to handle mc:Ignorable attribute properly.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/base.py:815
↓ 1 callers
Method
_preprocess_for_mc_ignorable
Preprocess XML to handle mc:Ignorable attribute properly.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/base.py:815
↓ 1 callers
Method
_process_skill_paths
Process skill content to replace relative paths with absolute paths. Supports Progressive Disclosure Level 3+: converts relative fil
mini_agent/tools/skill_loader.py:119
↓ 1 callers
Method
_remove
Remove a background shell from management (internal use only).
mini_agent/tools/bash_tool.py:130
↓ 1 callers
Method
_remove_ignorable_elements
Recursively remove all elements not in allowed namespaces.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/base.py:791
↓ 1 callers
Method
_remove_ignorable_elements
Recursively remove all elements not in allowed namespaces.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/base.py:791
↓ 1 callers
Method
_remove_template_tags_from_text_nodes
Remove template tags from XML text nodes and collect warnings. Template tags follow the pattern {{ ... }} and are used as placeholders
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/base.py:906
↓ 1 callers
Method
_remove_template_tags_from_text_nodes
Remove template tags from XML text nodes and collect warnings. Template tags follow the pattern {{ ... }} and are used as placeholders
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/base.py:906
↓ 1 callers
Function
_resolve_mcp_config_path
Resolve MCP config path with fallback logic. Priority: 1. If the specified path exists, use it 2. If mcp.json doesn't exist, try mcp
mini_agent/tools/mcp_loader.py:299
↓ 1 callers
Method
_run_turn
(self, state: SessionState, session_id: str)
mini_agent/acp/__init__.py:127
↓ 1 callers
Method
_save_to_file
Save notes to file. Creates parent directory and file if they don't exist (lazy initialization).
mini_agent/tools/note_tool.py:82
↓ 1 callers
Method
_setup_tracking
Set up comment infrastructure in unpacked directory. Args: track_revisions: If True, enables track revisions in settings.xml
mini_agent/skills/document-skills/docx/scripts/document.py:933
↓ 1 callers
Method
_summarize_messages
Message history summarization: summarize conversations between user messages when tokens exceed limit Strategy (Agent mode): - Keep a
mini_agent/agent.py:180
↓ 1 callers
Method
_update_people_xml
Create people.xml if it doesn't exist.
mini_agent/skills/document-skills/docx/scripts/document.py:954
↓ 1 callers
Method
_update_settings
Add RSID and optionally enable track revisions in settings.xml. Args: path: Path to settings.xml track_revisions: If
mini_agent/skills/document-skills/docx/scripts/document.py:988
↓ 1 callers
Method
_wrap_text_line
Wrap a single line of text to fit within max_width_px.
mini_agent/skills/document-skills/pptx/scripts/inventory.py:534
↓ 1 callers
Function
addBackground
(slideData, targetSlide, tmpDir)
mini_agent/skills/document-skills/pptx/scripts/html2pptx.js:121
↓ 1 callers
Function
addElements
(slideData, targetSlide, pres)
mini_agent/skills/document-skills/pptx/scripts/html2pptx.js:133
↓ 1 callers
Method
add_frame
Add a frame to the GIF. Args: frame: Frame as numpy array or PIL Image (will be converted to RGB)
mini_agent/skills/slack-gif-creator/core/gif_builder.py:33
↓ 1 callers
Function
agent_loop
Run the agent loop with MCP tools.
mini_agent/skills/mcp-builder/scripts/evaluation.py:86
↓ 1 callers
Function
apply_font_properties
Apply font properties to a text run.
mini_agent/skills/document-skills/pptx/scripts/replace.py:113
↓ 1 callers
Function
apply_kaleidoscope
Apply kaleidoscope effect by mirroring/rotating frame sections. Args: frame: Input frame segments: Number of mirror segments
mini_agent/skills/slack-gif-creator/templates/kaleidoscope.py:18
↓ 1 callers
Function
apply_paragraph_properties
Apply formatting properties to a paragraph.
mini_agent/skills/document-skills/pptx/scripts/replace.py:43
↓ 1 callers
Function
apply_replacements
Apply text replacements from JSON to PowerPoint presentation.
mini_agent/skills/document-skills/pptx/scripts/replace.py:214
↓ 1 callers
Function
blend_colors
Blend two colors together. Args: color1: First RGB color color2: Second RGB color ratio: Blend ratio (0.0 = all colo
mini_agent/skills/slack-gif-creator/core/color_palettes.py:199
↓ 1 callers
Function
calculate_arc_motion
Calculate position along a parabolic arc (natural motion path). Args: start: (x, y) starting position end: (x, y) ending pos
mini_agent/skills/slack-gif-creator/core/easing.py:194
↓ 1 callers
Function
calculate_overlap
Calculate if and how much two rectangles overlap. Args: rect1: (left, top, width, height) of first rectangle in inches rect2: (le
mini_agent/skills/document-skills/pptx/scripts/inventory.py:849
↓ 1 callers
Function
clear_paragraph_bullets
Clear bullet formatting from a paragraph.
mini_agent/skills/document-skills/pptx/scripts/replace.py:26
↓ 1 callers
Function
collect_shapes_with_absolute_positions
Recursively collect all shapes with valid text, calculating absolute positions. For shapes within groups, their positions are relative to the gro
mini_agent/skills/document-skills/pptx/scripts/inventory.py:766
↓ 1 callers
Method
compare_paragraph_counts
Compare paragraph counts between original and new document.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/docx.py:263
↓ 1 callers
Method
compare_paragraph_counts
Compare paragraph counts between original and new document.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/docx.py:263
↓ 1 callers
Function
condense_xml
Strip unnecessary whitespace and remove comments.
mini_agent/skills/document-skills/pptx/ooxml/scripts/pack.py:133
↓ 1 callers
Function
condense_xml
Strip unnecessary whitespace and remove comments.
mini_agent/skills/document-skills/docx/ooxml/scripts/pack.py:133
↓ 1 callers
Function
convert
(pdf_path, output_dir, max_dim=1000)
mini_agent/skills/document-skills/pdf/scripts/convert_pdf_to_images.py:10
↓ 1 callers
Function
convert_to_images
Convert PowerPoint to images via PDF, handling hidden slides.
mini_agent/skills/document-skills/pptx/scripts/thumbnail.py:197
↓ 1 callers
Method
count_paragraphs_in_original
Count the number of paragraphs in the original docx file.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/docx.py:192
↓ 1 callers
Method
count_paragraphs_in_original
Count the number of paragraphs in the original docx file.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/docx.py:192
↓ 1 callers
Method
count_paragraphs_in_unpacked
Count the number of paragraphs in the unpacked document.
mini_agent/skills/document-skills/pptx/ooxml/scripts/validation/docx.py:173
↓ 1 callers
Method
count_paragraphs_in_unpacked
Count the number of paragraphs in the unpacked document.
mini_agent/skills/document-skills/docx/ooxml/scripts/validation/docx.py:173
↓ 1 callers
Function
create_attention_pulse
Create attention-grabbing pulse (good for emoji GIFs). Args: emoji: Emoji to pulse num_frames: Number of frames fram
mini_agent/skills/slack-gif-creator/templates/pulse.py:156
↓ 1 callers
Function
create_bounce_animation
Create frames for a bouncing animation. Args: object_type: 'circle', 'emoji', or 'custom' object_data: Data for the object (
mini_agent/skills/slack-gif-creator/templates/bounce.py:19
↓ 1 callers
Function
create_connection
Factory function to create the appropriate MCP connection. Args: transport: Connection type ("stdio", "sse", or "http") command:
mini_agent/skills/mcp-builder/scripts/connections.py:112
↓ 1 callers
Function
create_crossfade
Crossfade between two objects. Args: object1_data: First object configuration object2_data: Second object configuration
mini_agent/skills/slack-gif-creator/templates/fade.py:175
↓ 1 callers
Function
create_excited_wiggle
Create excited wiggle for emoji GIFs. Args: emoji: Emoji to wiggle num_frames: Number of frames frame_size: Frame si
mini_agent/skills/slack-gif-creator/templates/wiggle.py:233
↓ 1 callers
Function
create_explosion_zoom
Create dramatic explosion zoom effect. Args: emoji: Emoji to explode num_frames: Number of frames frame_width: Frame
mini_agent/skills/slack-gif-creator/templates/zoom.py:151
↓ 1 callers
Function
create_grid
Create thumbnail grid from slide images with optional placeholder outlining.
mini_agent/skills/document-skills/pptx/scripts/thumbnail.py:321
↓ 1 callers
Function
create_grids
Create multiple thumbnail grids from slide images, max cols×(cols+1) images per grid.
mini_agent/skills/document-skills/pptx/scripts/thumbnail.py:274
↓ 1 callers
Function
create_hidden_slide_placeholder
Create placeholder image for hidden slides.
mini_agent/skills/document-skills/pptx/scripts/thumbnail.py:149
↓ 1 callers
Function
create_kaleidoscope_animation
Create animated kaleidoscope effect. Args: base_frame: Frame to apply effect to (or None for demo pattern) num_frames: Numbe
mini_agent/skills/slack-gif-creator/templates/kaleidoscope.py:140
↓ 1 callers
Function
create_loading_spinner
Create a loading spinner animation. Args: num_frames: Number of frames spinner_type: Type of spinner size: Spinner s
mini_agent/skills/slack-gif-creator/templates/spin.py:149
↓ 1 callers
Function
create_mind_blown_zoom
Create "mind blown" dramatic zoom with shake. Args: emoji: Emoji to use num_frames: Number of frames frame_width: Fr
mini_agent/skills/slack-gif-creator/templates/zoom.py:221
↓ 1 callers
Function
create_multi_slide
Create animation with multiple objects sliding in sequence. Args: objects: List of object configs with 'type', 'data', 'direction',
mini_agent/skills/slack-gif-creator/templates/slide.py:140
↓ 1 callers
Function
create_particle_burst
Create simple particle burst effect. Args: num_frames: Number of frames particle_count: Number of particles center_p
mini_agent/skills/slack-gif-creator/templates/explode.py:240
↓ 1 callers
Function
create_quick_flip
Create quick flip for emoji GIFs. Args: emoji_front: Front emoji emoji_back: Back emoji num_frames: Number of frames
mini_agent/skills/slack-gif-creator/templates/flip.py:195
↓ 1 callers
Function
create_screen_shake_offset
Calculate screen shake offset for a frame. Args: intensity: Shake intensity in pixels frame_index: Current frame number
mini_agent/skills/slack-gif-creator/core/visual_effects.py:455
↓ 1 callers
Function
create_shake_animation
Create frames for a shaking animation. Args: object_type: 'circle', 'emoji', 'text', or 'custom' object_data: Data for the o
mini_agent/skills/slack-gif-creator/templates/shake.py:19
↓ 1 callers
Function
create_shape_morph
Morph through a sequence of shapes. Args: shapes: List of shape dicts with 'radius' and 'color' num_frames: Total number of
mini_agent/skills/slack-gif-creator/templates/morph.py:232
↓ 1 callers
Function
create_validation_image
(page_number, fields_json_path, input_path, output_path)
mini_agent/skills/document-skills/pdf/scripts/create_validation_image.py:11
↓ 1 callers
Function
create_zoom_animation
Create zoom animation. Args: object_type: 'emoji', 'text', 'image' object_data: Object configuration num_frames: Num
mini_agent/skills/slack-gif-creator/templates/zoom.py:20
↓ 1 callers
Method
deduplicate_frames
Remove duplicate or near-duplicate consecutive frames. Args: threshold: Similarity threshold (0.0-1.0). Higher = more st
mini_agent/skills/slack-gif-creator/core/gif_builder.py:113
↓ 1 callers
Function
delete_slide
Delete a slide from the presentation.
mini_agent/skills/document-skills/pptx/scripts/rearrange.py:130
↓ 1 callers
Function
demo_agent_with_notes
Demo: Agent using Session Notes to remember context.
examples/03_session_notes.py:77
↓ 1 callers
Function
demo_anthropic_provider
Demo using LLMClient with Anthropic provider.
examples/05_provider_selection.py:15
↓ 1 callers
Function
demo_bash_task
Demo: Agent executes bash commands.
examples/02_simple_agent.py:115
↓ 1 callers
Function
demo_bash_tool
Demo: Execute bash commands.
examples/01_basic_tools.py:90
↓ 1 callers
Function
demo_default_provider
Demo using LLMClient with default provider.
examples/05_provider_selection.py:85
↓ 1 callers
Function
demo_direct_note_usage
Demo: Direct usage of Session Note tools.
examples/03_session_notes.py:21
↓ 1 callers
Function
demo_edit_tool
Demo: Edit an existing file.
examples/01_basic_tools.py:63
↓ 1 callers
Function
demo_file_creation
Demo: Agent creates a file based on user request.
examples/02_simple_agent.py:19
↓ 1 callers
Function
demo_full_agent
Demo: Full-featured agent with all capabilities.
examples/04_full_agent.py:24
↓ 1 callers
Function
demo_interactive_mode
Demo: Interactive conversation with agent.
examples/04_full_agent.py:186
↓ 1 callers
Function
demo_multiple_tools
Demonstrate using multiple Tool instances.
examples/06_tool_schema_demo.py:203
↓ 1 callers
Function
demo_openai_provider
Demo using LLMClient with OpenAI provider.
examples/05_provider_selection.py:50
↓ 1 callers
Function
demo_provider_comparison
Compare responses from both providers.
examples/05_provider_selection.py:117
↓ 1 callers
Function
demo_read_tool
Demo: Read a file.
examples/01_basic_tools.py:40
↓ 1 callers
Function
demo_tool_schema_methods
Demonstrate Tool schema conversion methods.
examples/06_tool_schema_demo.py:242
↓ 1 callers
Function
demo_tool_schemas
Demonstrate using Tool objects with LLM.
examples/06_tool_schema_demo.py:153
↓ 1 callers
Function
demo_write_tool
Demo: Write a new file.
examples/01_basic_tools.py:19
↓ 1 callers
Function
detect_overlaps
Detect overlapping shapes and update their overlapping_shapes dictionaries. This function requires each ShapeData to have its shape_id already se
mini_agent/skills/document-skills/pptx/scripts/inventory.py:882
↓ 1 callers
Method
disconnect
Properly disconnect from the MCP server.
mini_agent/tools/mcp_loader.py:269
↓ 1 callers
Function
draw_text
Draw text on a frame. Args: frame: PIL Image to draw on text: Text to draw position: (x, y) position (top-left unles
mini_agent/skills/slack-gif-creator/core/frame_composer.py:97
↓ 1 callers
Function
duplicate_slide
Duplicate a slide in the presentation.
mini_agent/skills/document-skills/pptx/scripts/rearrange.py:75
↓ 1 callers
Function
ease_in_bounce
Bounce ease-in (bouncy start).
mini_agent/skills/slack-gif-creator/core/easing.py:51
↓ 1 callers
Function
ease_out_quad
Quadratic ease-out (fast start, decelerating).
mini_agent/skills/slack-gif-creator/core/easing.py:22
↓ 1 callers
Method
emit
Emit a burst of particles. Args: x, y: Emission position count: Number of particles to emit spre
mini_agent/skills/slack-gif-creator/core/visual_effects.py:113
↓ 1 callers
Function
evaluate_single_task
Evaluate a single QA pair with the given tools.
mini_agent/skills/mcp-builder/scripts/evaluation.py:154
↓ 1 callers
Method
execute
(self, text: str)
tests/test_acp.py:56
← previous
next →
201–300 of 783, ranked by callers