Skip to content

Feature Request: Agent Swarm Support for CLI #746

Description

@dorukardahan

Feature Request: Agent Swarm Support for Kimi Code CLI

Summary

Add Agent Swarm capability to Kimi Code CLI, similar to the web UI at kimi.com/agent-swarm

Motivation

Currently, agent swarm is only available in the web UI. As a CLI-heavy user, I want to:

  • Launch multiple parallel agents from terminal
  • Decompose complex tasks into sub-agents
  • Execute parallel workflows (up to 100 sub-agents like web UI)
  • Stay in terminal workflow without switching to browser

Current State

  • ✅ Web UI (kimi.com/agent-swarm): Has agent swarm (beta)
  • ❌ Kimi Code CLI: Single agent only
  • MCP support exists but no native swarm orchestration

Proposed Solution

# Option 1: Swarm subcommand
kimi swarm "analyze codebase" --agents 5 --parallel

# Option 2: Configuration-based
kimi --swarm-config swarm.json

# swarm.json
{
  "agents": [
    {"name": "analyzer", "prompt": "analyze code structure"},
    {"name": "tester", "prompt": "write tests"},
    {"name": "documenter", "prompt": "write docs"}
  ],
  "parallel": true,
  "max_agents": 10
}

Use Cases

  1. Large codebase analysis (multiple agents scan different modules)
  2. Parallel testing (agents test different components simultaneously)
  3. Multi-file refactoring coordinated across agents
  4. Research tasks split across agents

Additional Context

  • Kimi K2.5 supports up to 100 sub-agents in web UI
  • Would enable production-grade coding workflows in CLI
  • Can pair with existing MCP servers for tool diversity

Date: 2026-01-28
User: dorukardahan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions