> ## Documentation Index
> Fetch the complete documentation index at: https://platform.minimax.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Multi-Agent Cowork for Complex Tasks

> <Note> In this tutorial, we showed how to integrate the MiniMax M2.1 model into Eigent, an open-source Cowork, to complete complex tasks. </Note>

<div style={{display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '16px'}}>
  <div style={{width: '40px', height: '40px', borderRadius: '50%', background: 'linear-gradient(135deg, #6366f1, #8b5cf6)', display: 'flex', alignItems: 'center', justifyContent: 'center', color: 'white', fontWeight: 'bold'}}>B</div>

  <div>
    <div style={{fontWeight: 500}}>Blue</div>
    <div style={{fontSize: '0.875rem', color: '#9ca3af'}}>January 23, 2026</div>
  </div>
</div>

<a href="https://github.com/eigent-ai/eigent" target="_blank" style={{display: 'inline-flex', alignItems: 'center', gap: '8px', padding: '8px 16px', borderRadius: '8px', border: '1px solid #e5e7eb', textDecoration: 'none', color: 'inherit', marginBottom: '32px'}}>
  <svg height="20" width="20" viewBox="0 0 16 16" fill="currentColor">
    <path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z" />
  </svg>

  Download from GitHub
</a>

# Introduction to Eigent

**Eigent** is the Open Source Cowork Desktop built on top of CAMEL-AI, with more than **10k Stars** on GitHub.

### Core Features

* **Multi-Agent Collaboration**: Specialized Agents like Developer, Search, Document work in parallel
* **Custom Agents**: Support for creating custom Agents based on your needs
* **Clear Task Monitoring**: Clean and elegant interface for clearly monitoring the multi-Agent collaboration process

***

## Quick Start

### Step 1: Get MiniMax API Key

<Note>
  **How to get:**

  * Users with Token Plan or Credits access can use [Subscription Key](https://platform.minimax.io/user-center/payment/token-plan)
  * New users without subscription can try the free quota from [Pay-as-you-go](https://platform.minimax.io/user-center/basic-information/interface-key)
</Note>

### Step 2: Download and Install Eigent

<Steps>
  <Step title="Install Node.js">
    Make sure Node.js (version 18 \~ 22) and npm are installed
  </Step>

  <Step title="Clone Repository">
    ```bash theme={null}
    git clone https://github.com/eigent-ai/eigent.git
    cd eigent
    ```
  </Step>

  <Step title="Install Dependencies">
    ```bash theme={null}
    npm install
    ```
  </Step>
</Steps>

### Step 3: Launch Eigent Application

Run the following command in the terminal to start the Eigent application:

```bash theme={null}
npm run dev
```

<Note>
  This article runs Eigent in self-hosted (community edition) mode. First-time users need to register on the Eigent website, then log in with your account in the local Eigent application.
  First-time startup requires installing environment dependencies, which may take some time. Please be patient.
</Note>

### Step 4: Configure MiniMax M2.1 Model

Click: **Logo in upper left → Settings → Models tab** to enter the model configuration interface.

<img src="https://filecdn.minimax.chat/public/2ea73de8-9d24-45dd-944e-c3ab820e981b.png" alt="Eigent configuration interface" style={{borderRadius: '8px', marginBottom: '16px', maxWidth: '100%'}} />

Scroll down to the MiniMax model configuration area and configure as follows:

| Configuration Item     | Value                       |
| :--------------------- | :-------------------------- |
| **API Key Setting**    | Your MiniMax API Key        |
| **API Host Setting**   | `https://api.minimax.io/v1` |
| **Model Type Setting** | `MiniMax-M2.1`              |

Click the **Save** button to save the configuration. A success prompt will appear when configuration is complete.

<img src="https://filecdn.minimax.chat/public/703a8573-5d29-4c70-bf39-f1d37f21c88b.png" alt="M2.1 model settings" style={{borderRadius: '8px', marginBottom: '16px', maxWidth: '100%'}} />

### Step 5: Create Project and Start Task

Enter the Project interface, click the **"+"** button in the upper right corner to create a new Project, and enter the new Project interface. Input your task requirements and send them to the Agent for execution.

<img src="https://filecdn.minimax.chat/public/82b7df44-37a9-4fb7-b19f-29991bd4511b.png" alt="Project interface" style={{borderRadius: '8px', marginBottom: '16px', maxWidth: '100%'}} />

***

## Demo

### Task Requirements

We will test the following task:

> "We have a new contact at Global Media - Jennifer Martinez ([jennifer.m@globalmedia.com](mailto:jennifer.m@globalmedia.com)) is their new Senior Marketing Manager. Add her to our Salesforce and make sure she is connected to the right company."

<img src="https://file.cdn.minimax.io/public/241c7725-3dbf-4cd9-b8f1-57c55ddcadbd.png" alt="Task requirements" style={{borderRadius: '8px', marginBottom: '16px', maxWidth: '100%'}} />

### Task Execution Process

<Steps>
  <Step title="Phase 1: Task Planning">
    MiniMax M2.1 has built-in thinking capabilities. After the task requirements are sent in Eigent, it first performs deep reasoning to clarify the task requirements and goals.

    For this task, MiniMax M2.1 determines that decomposition is unnecessary, so it enhances the prompt for the current task instead.

    <img src="https://file.cdn.minimax.io/public/3406247b-c8b6-45eb-9e94-62560b299f27.png" alt="Task planning" style={{borderRadius: '8px', marginBottom: '16px', maxWidth: '100%'}} />
  </Step>

  <Step title="Phase 2: Browser Use">
    Based on task planning, the MiniMax M2.1 model acts as a **Browser Agent** calling browser tools to conduct tasks and perform automated form filling.

    In this task, MiniMax M2.1 operated within a complex Salesforce interface to add a new contact, Jennifer Martinez (Senior Marketing Manager), to Global Media and ensure she was correctly associated with the right account.

    This required:

    * Navigating multiple UI layers
    * Identifying the correct entry points
    * Creating the contact
    * Populating key fields
    * Validating the account linkage

    <img src="https://file.cdn.minimax.io/public/794db6a6-15e3-4302-b8ab-c8e4b8f82f41.png" alt="Browser automation" style={{borderRadius: '8px', marginBottom: '16px', maxWidth: '100%'}} />

    <img src="https://file.cdn.minimax.io/public/85b69816-d122-475e-b049-c5c21b36edd4.png" alt="Task completed" style={{borderRadius: '8px', marginBottom: '16px', maxWidth: '100%'}} />

    The results show that **MiniMax M2.1 executed every step accurately** without mis-clicks or workflow breakdowns. This demonstrates the model's strong capability in understanding complex enterprise UIs, planning multi-step actions, and reliably executing end-to-end tasks.
  </Step>
</Steps>

***

## Summary

In this tutorial, we showed how to integrate the MiniMax M2.1 model into Eigent, an open-source Cowork, to complete complex tasks:

* **MiniMax M2.1's reasoning capability** enables it to autonomously plan and execute steps for complex tasks
* **Eigent supports parallel form filling**, enabling multiple items to be completed at the same time, and delivers a cowork-for-enterprises experience with significantly improved efficiency
* Ultimately, **MiniMax accurately completed every item** throughout the process, fully demonstrating MiniMax M2.1's outstanding performance in long-horizon planning tasks

***

## Related Resources

<Columns cols={3}>
  <Card title="MiniMax M2.1" icon="sparkles" href="https://minimax.io/news/minimax-m21">
    Detailed Model Introduction
  </Card>

  <Card title="Eigent GitHub" icon="github" href="https://github.com/eigent-ai/eigent">
    Open Source Project
  </Card>

  <Card title="MiniMax Platform" icon="globe" href="https://platform.minimax.io">
    Get API Key
  </Card>
</Columns>
