Mini-Agent
View GitHub Repository
Core Features
- Complete Agent Execution Loop: A robust execution framework with built-in tools for file system and shell operations
- Persistent Memory: Through the built-in Session Note Tool, the Agent can retain key information across multiple sessions
- Intelligent Context Management: Automatically summarizes conversation history, handling configurable token limits for unlimited task lengths
- Integrated Claude Skills: 15 built-in professional skills covering document processing, design, testing, and development
- Integrated MCP Tools: Native support for MCP protocol, easily connecting to knowledge graphs, web search, and other tools
- Comprehensive Logging: Detailed logs for every request, response, and tool execution for easy debugging
- Clean Design: Beautiful command-line interface and easy-to-understand codebase, making it an ideal starting point for building advanced Agents
Usage Examples
Task Execution
Ask the Agent to create a clean and beautiful webpage and display it in the browser, demonstrating the basic tool usage loop.
Using Claude Skill (e.g., PDF Generation)
The Agent uses Claude Skill to create professional documents (such as PDF or DOCX) based on user requests, demonstrating its powerful advanced capabilities.
Web Search and Summary (MCP Tool)
The Agent uses web search tools to find the latest information online and summarize it for the user.
Quick Start
1. Install uv
2. Install Mini Agent
3. Run Configuration Script
4. Configure API Key
The configuration script will create a config file in~/.mini-agent/config/. Edit this file:
5. Start Using
Development Mode
This mode is suitable for developers who need to modify code, add features, or debug. Installation and Configuration Steps:For more development guidance, please refer to Development Guide
ACP & Zed Editor Integration
Mini Agent supports Agent Communication Protocol (ACP) for integration with code editors like Zed. Setting up in Zed Editor:- Install Mini Agent in development mode or tool mode
- Add the following to your Zed
settings.json:
- If installed via
uv tool install: use the output ofwhich mini-agent-acp - Development mode:
./mini_agent/acp/server.py
- Use
Ctrl+Shift+P→ “Agent: Toggle Panel” to open Zed’s Agent panel - Select “mini-agent” from the Agent dropdown
- Start chatting with Mini Agent directly in the editor