Skip to content

Conversation

@0xSero
Copy link
Contributor

@0xSero 0xSero commented Nov 16, 2025

Summary

Adds support for using Mini-Agent in Zed editor through the Agent Client Protocol (ACP), enabling seamless integration with Zed's AI assistant features.

Changes

  • ACP Server: New mini-agent-acp command that exposes Mini-Agent via ACP
  • Visual Feedback: Added emoji-based tool call indicators (🔧 for execution, ✅/❌ for results)
  • Config Helper: Added Config.load() convenience method for easier configuration loading

Installation

# Install with ACP support
uv pip install -e .

# Configure in Zed settings.json
"agent_servers": {
  "mini-agent": {
    "command": "/path/to/.venv/bin/mini-agent-acp"
  }
}

Testing

Tested with Zed editor on macOS with MiniMax API endpoint.

@0xSero
Copy link
Contributor Author

0xSero commented Nov 16, 2025

This addresses #3
image

@0xSero 0xSero mentioned this pull request Nov 16, 2025
@AkairoDev
Copy link
Collaborator

Thanks for this valuable PR! The ACP integration for Zed is great, and the AsyncAnthropic migration is a solid improvement. 👍

Suggested Changes

1. Remove redundant default_headers

The main branch works fine with just api_key. Please simplify:
self.client = anthropic.AsyncAnthropic(
base_url=api_base,
api_key=api_key,
)**

  1. Add basic tests**

Please add tests/test_acp.py to verify:

  • ACP server initialization
  • Session management and tool execution

3. Document Zed integration
Maybe has a optional marked.

Add a brief section in README (before "Usage Examples"):

Zed Editor Integration

Add to your Zed settings.json:
{
"agent_servers": {
"mini-agent": {
"command": "/path/to/.venv/bin/mini-agent-acp"
}
}
}With these changes, this will be ready to merge. Great work! 🎉

@0xSero
Copy link
Contributor Author

0xSero commented Nov 17, 2025

Thanks for this valuable PR! The ACP integration for Zed is great, and the AsyncAnthropic migration is a solid improvement. 👍

Suggested Changes

1. Remove redundant default_headers

The main branch works fine with just api_key. Please simplify:

self.client = anthropic.AsyncAnthropic(

base_url=api_base,

api_key=api_key,

)**

  1. Add basic tests**

Please add tests/test_acp.py to verify:

  • ACP server initialization

  • Session management and tool execution

3. Document Zed integration

Maybe has a optional marked.

Add a brief section in README (before "Usage Examples"):

Zed Editor Integration

Add to your Zed settings.json:

{

"agent_servers": {

"mini-agent": {

  "command": "/path/to/.venv/bin/mini-agent-acp"

}

}

}With these changes, this will be ready to merge. Great work! 🎉

Done, let me know if anything else is needed

@AkairoDev AkairoDev merged commit ba9d476 into MiniMax-AI:main Nov 18, 2025
@AkairoDev
Copy link
Collaborator

Thank you @0xSero for this excellent contribution! 🎉

The tests pass successfully and the code quality is solid. I have merged this into main. Great work! 🚀

Looking forward to more contributions from you!

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