Back to stories
Tools

Moonshot's Kimi Code Brings Open-Source Agentic Coding to the Terminal

Michael Ouroumis2 min read
Moonshot's Kimi Code Brings Open-Source Agentic Coding to the Terminal

Moonshot AI, the Beijing-based startup behind the Kimi assistant, has open-sourced Kimi Code — a terminal-native coding agent that can autonomously navigate codebases, write and debug code, and execute multi-step engineering tasks directly from the command line.

What Kimi Code Does

Unlike IDE-integrated copilots, Kimi Code is designed for developers who live in the terminal. It operates as a CLI tool that accepts natural-language instructions and translates them into sequences of file edits, shell commands, and git operations. The agent can explore unfamiliar repositories, understand project structure, run tests, and iterate on failures without human intervention.

Moonshot claims that Kimi Code achieves a 62 percent pass rate on the SWE-bench Verified benchmark, putting it within striking distance of proprietary leaders like Claude Code and Codex while being fully open-source under an Apache 2.0 license.

Architecture

The system is built on Moonshot's Kimi-Dev model, a 72-billion-parameter code-specialized model fine-tuned for agentic workflows. The model supports 128,000-token context windows, enabling it to ingest large files and maintain coherent plans across multi-step tasks.

Kimi Code's agent loop follows a plan-execute-verify pattern: it first analyzes the task and relevant code, generates an execution plan, carries out the steps, and then verifies the result by running tests or linting. If verification fails, it automatically attempts to diagnose and fix the issue.

Why It Matters

The release is significant for several reasons. First, it demonstrates that open-source coding agents are rapidly closing the gap with proprietary alternatives. Our comparison of Claude Code, Copilot, and Cursor showed that proprietary tools still lead on complex tasks, but Kimi Code's SWE-bench score suggests that gap is narrowing fast. Second, it provides a foundation that other developers and companies can build on, customize, and deploy without API dependencies or usage fees.

"Terminal-based coding is where the most productive developers work," said Moonshot CTO Yang Zhilin. "We wanted to meet them where they are, not force them into a new editor."

Getting Started

Kimi Code is available now on GitHub with installation via pip. It supports Python, JavaScript, TypeScript, Go, Rust, and Java out of the box, with community-contributed language support expected to expand quickly.

Early community feedback has been positive, with developers praising the tool's ability to handle real-world repository structures rather than just isolated coding puzzles. GitHub's Agent HQ has already added Kimi Code as a supported agent option. For a comprehensive comparison of terminal-based AI tools, see this Claude Code vs Copilot CLI vs Gemini CLI guide. Several contributors have already submitted pull requests adding support for additional languages and custom tool integrations.

More in Tools

Best AI Code Review Tools in 2026 — A Developer's Guide
Tools

Best AI Code Review Tools in 2026 — A Developer's Guide

A practical comparison of the top AI code review tools in 2026, covering GitHub Copilot Code Review, CodeRabbit, Sourcegraph Cody, and others — with pricing, features, and real-world trade-offs.

1 day ago2 min read
Microsoft Copilot Workspace Hits GA — AI Plans and Executes GitHub Issues
Tools

Microsoft Copilot Workspace Hits GA — AI Plans and Executes GitHub Issues

Microsoft announces general availability of Copilot Workspace, a tool that reads GitHub issues, generates implementation plans, writes code across multiple files, and opens pull requests — all from a single click.

1 day ago2 min read
Replit Agent 2.0 Builds and Deploys Full-Stack Apps From a Prompt
Tools

Replit Agent 2.0 Builds and Deploys Full-Stack Apps From a Prompt

Replit launches Agent 2.0, an AI system that takes a natural language description and autonomously builds, debugs, and deploys a complete web application — including database, authentication, and hosting — in minutes.

1 day ago2 min read