Skip to content

feat: agent swarm#424

Draft
kermanx wants to merge 30 commits into
mainfrom
xtr/agent-swarm-progress-ui
Draft

feat: agent swarm#424
kermanx wants to merge 30 commits into
mainfrom
xtr/agent-swarm-progress-ui

Conversation

@kermanx
Copy link
Copy Markdown
Collaborator

@kermanx kermanx commented Jun 4, 2026

Related Issue

No linked issue. Problem explained below.

Problem

AgentSwarm work can launch many subagents at once, but the TUI did not have a dedicated command flow or live progress surface for tracking which agents are queued, running, suspended, completed, or failed.

What changed

  • Added template-based AgentSwarm launches with shared subagent type selection.
  • Added /swarm <task> and a kimi swarm-demo preview command for the TUI progress UI.
  • Added live AgentSwarm progress rendering above the input box, including suspended retry state when provider rate limits requeue subagents.
  • Added and updated tests for CLI options, slash command parsing, session event flow, subagent queue behavior, SDK event typing, and TUI progress rendering.
  • Updated user docs and changesets already present in this branch.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 4, 2026

🦋 Changeset detected

Latest commit: 206183e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@moonshot-ai/agent-core Minor
@moonshot-ai/kimi-code-sdk Minor
@moonshot-ai/kimi-code Minor
@moonshot-ai/acp-adapter Patch
@moonshot-ai/migration-legacy Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@kermanx kermanx changed the title feat: add AgentSwarm TUI support feat: agent swarm Jun 4, 2026
kermanx added 10 commits June 4, 2026 18:20
…ess-ui

# Conflicts:
#	apps/kimi-code/src/tui/controllers/session-event-handler.ts
#	apps/kimi-code/test/cli/options.test.ts
#	docs/en/reference/slash-commands.md
#	docs/zh/reference/slash-commands.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant