Content updated October 21, 2026 · Earlier reference: Updated: October 6, 2026 · Source-first reference141 documented agents · No paid rankings
Editorial pictogram

Agent profile · Open-source coding agent

Kimi Code

Provider: Moonshot AI

Open-source coding agent from Moonshot AI for terminals and compatible development environments. It reads and changes code, uses shell tools and MCP, and delegates subtasks to subagents.

Documented references: 8Trust: 1 of 36 controls documented (not a score)

Source-backed architecture

How the agent works

01TaskTerminal or ACP editor
02AgentPlanning and context
03ToolsFiles, shell, MCP
04ReviewDiff, tests, approval

Editorial overview. Runtime security depends on the selected configuration.

Overview & direct answer

What is Kimi Code?

Kimi Code CLI is Moonshot AI's open-source terminal coding agent. It can inspect software projects, edit code, search files, execute commands and adapt its work based on tool results. The project is distinct from the Kimi model family: it is the execution environment, not the language model itself.

The CLI supports the Agent Client Protocol (ACP), enabling compatible editors to drive an agent process through a defined interface. Its MIT license applies to the published CLI repository, not automatically to models, subscriptions or external plugins.

Standardized reference data

AI-0170
ProviderMoonshot AI
CategoryCoding
Product typeOpen-source coding agent
LicenseMIT
AudienceDevelopers · Business
AvailabilityPublicly installable CLI; model access separate
Sources8 primary sources
Source check01.12.2026 · Initial review

Capabilities & how it works

Tools, subagents and extensions

Documentation distinguishes the main agent from specialized subagents. Tasks can be delegated in parallel, and configuration can be scoped to projects. MCP servers extend available tools; plugins can supply additional agents and skills.

The agent combines a chosen model with its local tool environment. The ability to call tools alone does not establish implementation quality or appropriate permissions. Model version, harness and tools should be documented together when evaluating performance.

Harness Engineering ↗ · MCP ↗

Coder, Explore and Plan: bundled subagents

Agent documentation distinguishes three bundled roles: Coder for implementation, Explore for read-only exploration and Plan for design without shell access. Large tasks can be decomposed into specialist subtasks. Subagents receive separate model contexts and report conclusions to the main agent. This separation is not filesystem or process sandboxing; the main agent must reconcile conflicting results.

Use cases & workflows

Practical use cases

Kimi Code is suitable for analyzing an existing codebase, scoped refactoring, writing and executing tests, and investigating errors. For large tasks, subagents can inspect separate modules.

A useful pilot starts on a separate Git branch with explicit acceptance tests. Ask for a plan and then a reviewable diff. Test and review automatically generated changes before accepting them.

  • Inspect repositories
  • Prepare scoped code changes
  • Run tests and shell commands
  • Delegate subtasks to subagents

Example: investigating a monorepo before edits

A team wants to diagnose slow tests. Explore agents can independently read affected modules and describe dependencies. A Plan agent proposes changes; after review, Coder receives a bounded implementation task. This is a proposed workflow, not a measured product test. Conflicting proposals are important acceptance cases: two subagents can interpret the same shared interface differently. The main agent should expose disagreements rather than blindly combine changes.

Access, pricing & limits

Access, license and costs

The CLI is publicly installable and MIT-licensed. Documentation describes signing in via Kimi Code OAuth or a Moonshot API key. Model usage, subscriptions and external tools are separate from the free software license.

ACP-compatible development environments offer another access path; capabilities depend on client and configuration. AgentenCode does not claim uniform prices or availability for individual regions or plans.

TOML configuration, model limits and expenditure

The CLI documents persistent model and agent configuration in TOML files, separate from terminal interface preferences. Model aliases, providers, context size and loop limits are configurable. Actual input capacity can differ from total context length. Documentation also describes an experimental secondary model for subagents, disabled by default. A pilot using a cheaper secondary model should independently measure cost and solution quality.

Privacy, security & trust

Permissions, security and privacy

Configuration documentation describes permission modes and a dangerous-command guard. The guard can be disabled and is inactive in certain modes. Subagents can inherit previously granted always-allow rules from the main agent.

The documentation describes different approval behavior for noninteractive scripts: ordinary file and shell operations can proceed without prompts, while configured deny rules remain relevant. Local CLI execution does not imply local model inference. Use isolated workspaces and least privilege for sensitive projects.

1 of 36 trust controls documented

35 controls remain unknown. This is not a security rating or certification.

Documented: configurable tool permissions · Primary source

MCP and local agent execution are separate capability claims. No independently tested enforcement.

Context isolation is not security isolation

A subagent can have a separate conversation context while its tools access shared files or services. Review authorized actions per role and operating mode. Receiving only a subtask does not guarantee minimal access. Automated scripts also require review of noninteractive approval behavior.

Alternatives & decision

Comparison with Claude Code, Codex and Qwen Code

Kimi Code is a useful candidate where an open terminal harness, MCP and subagents matter. Claude Code, OpenAI Codex and Qwen Code offer related workflows with different models, tool configurations and permission modes.

A credible comparison uses equivalent tasks, models where possible, acceptance tests and permission profiles. Cost per successful task is more informative than a single successful demonstration. AgentenCode has not performed an independent runtime test.

Claude Code · OpenAI Codex · Qwen Code · OpenCode · Direct comparison ↗

In-depth analysis

AgentenCode analysis: assess model and harness separately

Kimi Code expands the choice of open coding harnesses. ACP can facilitate integration into development tools while MCP opens the tool layer. Editor control, tool integration and model access are separate interfaces.

For enterprise use, we recommend versioned permission rules and tests for subagent behavior, including inherited privileges, competing file edits and interrupted tasks. A documented capability is not treated as independently established security.

AI agent security · Agent sandboxes

Evaluating Kimi Code on larger projects

Subagents add value when tasks are genuinely independent. Highly coupled modules may introduce coordination overhead. Measure merged-result quality, model expenditure and conflict-resolution effort alongside parallel execution time. Shared interfaces deserve explicit review when multiple agents propose changes.

Frequently asked questions

Is Kimi Code open source?

The published CLI is MIT-licensed. Model access and external services need separate review.

Does Kimi Code support MCP?

Yes, as an MCP client according to official documentation.

Does Kimi Code run entirely locally?

The CLI runs locally; model calls and external tools may transmit data.

Are subagents independently secured?

Previously granted permissions can be inherited. Actual isolation needs to be evaluated.

Can Kimi Code be used in CI?

Documentation covers noninteractive scripts. Approval behavior differs from interactive use.