kimi-cli icon indicating copy to clipboard operation
kimi-cli copied to clipboard

Feature Request: Agent Swarm Support for CLI

Open dorukardahan opened this issue 10 months ago • 7 comments

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

dorukardahan avatar Jan 28 '26 07:01 dorukardahan

+1

ChrisFeldmeier avatar Jan 29 '26 17:01 ChrisFeldmeier

+1

ovitinhooo avatar Jan 31 '26 00:01 ovitinhooo

+1

StancuRobertAlexandru avatar Feb 01 '26 08:02 StancuRobertAlexandru

+1

skyberk avatar Feb 01 '26 16:02 skyberk

+1

Somebi avatar Feb 02 '26 09:02 Somebi

+1

gulubao avatar Feb 02 '26 15:02 gulubao

You can already tell kimi-cli to launch multiple subagents in your prompt and it will activate this. It's already available now.

Image

creativebastard avatar Feb 05 '26 11:02 creativebastard