Kimi Code, Moonshot AI's open-source terminal coding agent, just shipped v0.12.0 with a headline feature that changes how the tool handles large, parallelizable tasks: a /swarm command that lets you spin up a coordinated fleet of sub-agents directly from your terminal session. It's a meaningful step up from single-agent workflows, and it's available right now.

The agent swarm concept, in plain terms

Most coding agents work sequentially: one agent reads a file, makes a change, runs a test, then moves on. That's fine for small tasks, but it becomes a bottleneck on anything with independent workstreams. Swarm mode breaks that pattern.

An agent swarm has an orchestrator that dynamically creates specialized sub-agents and decomposes complex tasks into parallelizable subtasks for efficient distributed execution. Think of it as the difference between one developer working through a list versus a team splitting the list across members simultaneously.

The coordinator analyzes your prompt and breaks it into independent subtasks, each with a clear scope, input context, and expected output format. For example: "Migrate all 60 Express route handlers from callbacks to async/await, add error boundaries, and update the tests" gets decomposed into groups of agents handling migrations, error boundaries, and test updates in parallel.

What /swarm actually does in v0.12.0

The new /swarm command surfaces this capability directly in the CLI's interactive terminal UI (TUI). Before this release, running multiple sub-agents required either manual orchestration or experimental flags. Now it's a first-class slash command with two important production-readiness additions:

  • Live progress display: You can watch sub-agents work in real time from a single terminal view, with status breakdowns and elapsed time per agent group.
Alpha Signal

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves