Skip to content

feat: add MiniMax LLM provider example for AI agents#366

Merged
DorianZheng merged 2 commits intoboxlite-ai:mainfrom
octo-patch:feature/add-minimax-provider
Mar 12, 2026
Merged

feat: add MiniMax LLM provider example for AI agents#366
DorianZheng merged 2 commits intoboxlite-ai:mainfrom
octo-patch:feature/add-minimax-provider

Conversation

@octo-patch
Copy link
Copy Markdown
Contributor

Summary

Add MiniMax as a supported LLM provider in the AI agent examples, demonstrating how to use MiniMax M2.5 models to drive a BoxLite sandbox via OpenAI-compatible tool-use.

Supported Models

  • MiniMax-M2.5 — Peak Performance. Ultimate Value. Master the Complex
  • MiniMax-M2.5-highspeed — Same performance, faster and more agile

Changes

  • Add drive_box_with_minimax.py example in examples/python/06_ai_agents/
    • Uses OpenAI SDK with MiniMax's OpenAI-compatible endpoint (https://api.minimax.io/v1)
    • Supports MINIMAX_API_KEY and MINIMAX_BASE_URL environment variables
    • Demonstrates tool-use (function calling) with sandbox_exec
    • Follows the same pattern as the existing drive_box_with_llm.py example
  • Update examples/python/06_ai_agents/README.md with the new example
  • Update main README.md with AI Agent Integration section mentioning MiniMax

API Documentation

Testing

  • MiniMax API verified with tool calling (function calling works correctly)
  • Both MiniMax-M2.5 and MiniMax-M2.5-highspeed models tested
  • Example follows existing code patterns and conventions

- Add drive_box_with_minimax.py example demonstrating MiniMax M2.5
  driving a BoxLite sandbox via OpenAI-compatible tool-use loop
- Support models: MiniMax-M2.5, MiniMax-M2.5-highspeed
- Update AI agents README with the new example
- Update main README with AI Agent Integration section mentioning MiniMax
README.md Outdated
</details>


## AI Agent Integration
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These comments are better kept in examples/python/06_ai_agents/README.md, and we suggest avoiding adding them to this location.

Address review feedback: move the AI Agent Integration section from the
root README.md to examples/python/06_ai_agents/README.md where it is
more appropriate.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@octo-patch
Copy link
Copy Markdown
Contributor Author

Thanks for the feedback! Agreed — the AI Agent Integration section is better placed alongside the examples. I have moved it from the root README.md to examples/python/06_ai_agents/README.md in commit b71ad87.

@DorianZheng
Copy link
Copy Markdown
Member

Thank you. Merged

@DorianZheng DorianZheng merged commit 1ff3a20 into boxlite-ai:main Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants