Skip to content

Good #94

Open
Open

Description

@mohmmadbd90-cmyk

mini-agent # Use current directory as workspace
mini-agent --workspace /path/to/your/project # Specify workspace directory
mini-agent --version # View version info

Management commands

uv tool upgrade mini-agent # Upgrade to latest version
uv tool uninstall mini-agent # Uninstall tool
uv tool list # View all installed tools
https://github.com/MiniMax-AI/Mini-Agent.git

1. Clone repository

git clone https://github.com/MiniMax-AI/Mini-Agent.git
cd Mini-Agent

2. Sync dependencies

uv sync

3. Initialize Claude Skills (optional)

git submodule update --init --recursive

4. Copy configuration template

cp mini_agent/config/config-example.yaml mini_agent/config/config.yaml

5. Edit configuration file

vim mini_agent/config/config.yaml
100
api_key: "YOUR_API_KEY_HERE" # Enter your API Key
api_base: "https://api.minimax.io"
model: "MiniMax-M2.7"
max_steps: 100
workspace_dir: "./workspace"

在 Agent 代码中添加日志,以便实时查看工具的调用详情:

logger.debug(f"工具调用: {tool_call.name}")
logger.debug(f"工具参数: {tool_call.arguments}")
logger.debug(f"工具结果: {result.content[:200]}")
tool_call.name

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions