Skip to content

Feature request: configurable default swarm mode #720

Open

Description

@wowlegend

Problem

Currently, swarm mode must be enabled manually every session via /swarm on or per-task via /swarm <task>. There is no persistent configuration option to start new sessions with swarm mode already enabled.

Use case

Users who consistently want parallel subagent delegation for their workflows have to remember to toggle swarm mode at the start of every session. A config default would remove this friction and make swarm mode a first-class preference alongside other defaults like default_thinking, default_permission_mode, and default_plan_mode.

Proposed solution

Add a top-level config option in ~/.kimi-code/config.toml:

default_swarm_mode = false   # or true

When set to true, new interactive sessions would start with swarm mode enabled (equivalent to the user having typed /swarm on).

Alternatively, it could live under an [experimental] or [swarm] table:

[swarm]
default_enabled = false

Additional considerations

  • Should be overridable via CLI flag (e.g., kimi --no-swarm / kimi --swarm) for one-off sessions.
  • Could also respect an environment variable such as KIMI_SWARM_MODE=1.
  • Existing /swarm on|off behavior within a session should remain unchanged.

Related

Thanks for considering this!

Activity

  1. AidenNovak commented on Jul 28, 2026

    @AidenNovak

    +1 — hit this today on v0.29.2. Verified against the current docs: config.toml has default_plan_mode but no swarm equivalent, and the only swarm-related env var is KIMI_CODE_AGENT_SWARM_MAX_CONCURRENCY (a concurrency cap, not a switch). Typing /swarm on at the start of every session is easy to forget; a persisted default_swarm_mode (with /swarm off still available per session) would slot in naturally next to the other defaults.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions