Multi Agent logo

Multi Agent

Organization
opencrabs
multi-agent

Orchestrate a task across multiple AI models/providers. Define a team of agents with different roles, providers, and models. Each agent handles a phase (planning, execution, auditing, etc.) and results are combined. (/multi-agent, orchestrate, multi-model, team)

Overview

Publisheropencrabs
Repositoryopencrabs
Skill namemulti-agent
Stars
981
Forks
105
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by opencrabs on GitHub. Read the source before you install it.

Installation

Install the Multi Agent AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/opencrabs/opencrabs/tree/main/src/docs/reference/templates/skills/multi-agent
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/opencrabs/opencrabs.git /tmp/opencrabs
mkdir -p .claude/skills
cp -r /tmp/opencrabs/src/docs/reference/templates/skills/multi-agent .claude/skills/multi-agent
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Multi Agent in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Multi Agent on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Multi Agent is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Multi-Agent Orchestration

You are orchestrating a task across a team of AI agents. Each team member has a role, a provider, and a model. You dispatch sub-tasks to the right model, collect results, and produce a unified output.

How It Works

When the user provides a task, follow this flow:

Phase 1 — Define the Team

If the user provides a team definition, use it. If not, propose a default team based on the task type. The team definition is a list of agents:

yaml
team:
  - role: planner
    provider: anthropic
    model: claude-opus-4-20250514
    task: "Analyze the request and produce a structured plan with clear steps, dependencies, and risks."
  - role: executor
    provider: openrouter
    model: google/gemini-2.5-pro
    task: "Execute each step of the plan. Write code, make changes, run commands."
  - role: auditor
    provider: xiaomi
    model: mimo-v2-omni
    task: "Review all changes for correctness, security, style, and completeness. Report issues."

Present the team to the user for confirmation before proceeding. The user can:

  • Change providers/models for any role
  • Add or remove roles
  • Adjust the task description for each role
  • Skip confirmation with "go" or "just do it"

Phase 2 — Execute Sequentially

Run each agent in order. For each agent:

  1. Switch model: Use /models <provider>/<model> or the config to set the active model to the agent's provider+model combination.

  2. Dispatch the task: Send the agent's task as a prompt, along with:

    • The original user request
    • Any output from previous agents (context handoff)
    • Specific instructions for this phase
  3. Collect output: Capture the full response. This becomes input for the next agent.

  4. Log progress: Report to the user which phase just completed and a 1-line summary.

Phase 3 — Synthesize

After all agents have run:

  1. Combine all outputs into a coherent result
  2. Highlight any conflicts or issues found by the auditor
  3. Present a final summary with:
    • What was planned (planner output)
    • What was done (executor output)
    • What was found (auditor output)
    • Final recommendation

Provider/Model Reference

When the user doesn't specify models, suggest from these based on the task:

RoleRecommended ProviderModelWhy
Planner (strategy, architecture)anthropicclaude-opus-4-20250514Deep reasoning, structured thinking
Executor (code, implementation)openrouteranthropic/claude-sonnet-4Fast, good code quality
Auditor (review, security)openroutergoogle/gemini-2.5-proLarge context, good at catching details
Researcher (web, docs)brave/web_search—Built-in search tools
Writer (docs, content)openrouteropenai/gpt-4.1Clear, concise writing
Quick tasks (formatting, small fixes)xiaomimimo-v2-omniFast, lightweight

The user can override any of these. Ask which providers they have configured.

Dispatch Methods

To actually call a different model, use one of:

  1. Model switch (preferred): Use /models <provider>/<model> to switch the active model, then send the task as your next prompt. The model switch is session-scoped.

  2. Direct API call: If model switching isn't available, use bash to call the provider's API directly:

    bash
    curl -s https://api.example.com/v1/chat/completions \
      -H "Authorization: Bearer $API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model":"model-name","messages":[{"role":"user","content":"task here"}]}'
  3. A2A agents: If the user has remote A2A agents configured with different models, use a2a_send to dispatch work to them.

Context Handoff

Each agent receives:

  • The original request
  • Previous agent outputs (as context)
  • Any constraints or requirements

Format the handoff like:

## Context from previous phases

### Planner said:
<planner output>

### Your task:
<executor task>

### Constraints:
<user constraints>

Error Handling

  • If a provider/model isn't configured, tell the user which config key is missing
  • If an API call fails, try the fallback model for that role
  • If an agent produces empty/broken output, retry once, then report to the user
  • Never silently skip a phase — always report what happened

Examples

Example 1: Code review across models

User: Review this PR with different models

Team:
  - role: reviewer-1
    provider: anthropic
    model: claude-opus-4-20250514
    task: "Review for architecture and design patterns"
  - role: reviewer-2
    provider: openrouter
    model: google/gemini-2.5-pro
    task: "Review for security vulnerabilities and edge cases"
  - role: synthesizer
    provider: openrouter
    model: anthropic/claude-sonnet-4
    task: "Combine both reviews into a single prioritized report"

Example 2: Feature development

User: Build a rate limiter middleware

Team:
  - role: architect
    provider: anthropic
    model: claude-opus-4-20250514
    task: "Design the rate limiter: algorithm, data structures, API"
  - role: implementer
    provider: openrouter
    model: anthropic/claude-sonnet-4
    task: "Implement the design in Rust with tests"
  - role: security-auditor
    provider: openrouter
    model: google/gemini-2.5-pro
    task: "Audit for race conditions, memory safety, bypass vectors"

Example 3: Documentation generation

User: Generate docs for this API

Team:
  - role: analyzer
    provider: openrouter
    model: google/gemini-2.5-pro
    task: "Read all source files and extract API signatures, types, examples"
  - role: writer
    provider: openrouter
    model: openai/gpt-4.1
    task: "Write clear, concise documentation from the extracted API data"
  - role: reviewer
    provider: xiaomi
    model: mimo-v2-omni
    task: "Check docs for accuracy against the source code"

Frequently asked questions

What does the Multi Agent AI skill do?

Orchestrate a task across multiple AI models/providers. Define a team of agents with different roles, providers, and models. Each agent handles a phase (planning, execution, auditing, etc.) and results are combined. (/multi-agent, orchestrate, multi-model, team)

Why use Multi Agent on TypingMind?

Because you install it once and use it with any model. Multi Agent is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Multi Agent in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/opencrabs/opencrabs/tree/main/src/docs/reference/templates/skills/multi-agent. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Multi Agent?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Multi Agent?

As many as you like. As long as a model supports skills, you can use Multi Agent with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Multi Agent AI skill free?

Yes. It is published on GitHub by opencrabs under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇