{"id":50439982,"url":"https://github.com/MoonshotAI/kimi-code","last_synced_at":"2026-06-09T11:00:30.591Z","repository":{"id":360144199,"uuid":"1246459259","full_name":"MoonshotAI/kimi-code","owner":"MoonshotAI","description":"Kimi Code CLI  —  The Starting Point for Next-Gen Agents","archived":false,"fork":false,"pushed_at":"2026-06-08T09:43:19.000Z","size":10061,"stargazers_count":2059,"open_issues_count":150,"forks_count":216,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-06-08T10:13:48.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://moonshotai.github.io/kimi-code/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MoonshotAI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-22T08:02:03.000Z","updated_at":"2026-06-08T10:09:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/MoonshotAI/kimi-code","commit_stats":null,"previous_names":["moonshotai/kimi-code"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/MoonshotAI/kimi-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonshotAI%2Fkimi-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonshotAI%2Fkimi-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonshotAI%2Fkimi-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonshotAI%2Fkimi-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoonshotAI","download_url":"https://codeload.github.com/MoonshotAI/kimi-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonshotAI%2Fkimi-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34103357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-31T19:00:18.918Z","updated_at":"2026-06-09T11:00:30.545Z","avatar_url":"https://github.com/MoonshotAI.png","language":"TypeScript","funding_links":[],"categories":["💻 コーディングエージェント","TypeScript"],"sub_categories":["自律ソフトウェアエンジニア"],"readme":"# Kimi Code CLI\n\n[![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![Docs](https://img.shields.io/badge/docs-online-blue)](https://moonshotai.github.io/kimi-code/en/) \u003cbr\u003e\n[Documentation](https://moonshotai.github.io/kimi-code/en/) · [Issues](https://github.com/MoonshotAI/kimi-code/issues) · [中文](README.zh-CN.md)\n\n![Demo of using Kimi Code](./docs/media/intro.gif)\n\n## What is Kimi Code CLI\n\nKimi Code CLI is an AI coding agent that runs in your terminal — it can read and edit code, run shell commands, search files, fetch web pages, and choose the next step based on the feedback it receives. It works out of the box with Moonshot AI’s Kimi models and can also be configured to use other compatible providers.\n\n## Install\n\nInstall with the official script. No Node.js required.\n\n- **macOS or Linux**:\n\n```sh\ncurl -fsSL https://code.kimi.com/kimi-code/install.sh | bash\n```\n\n- **Homebrew (macOS/Linux)**:\n\n```sh\nbrew install kimi-code\n```\n\n- **Windows (PowerShell)**:\n\n```powershell\nirm https://code.kimi.com/kimi-code/install.ps1 | iex\n```\n\n\u003e On Windows, install [Git for Windows](https://gitforwindows.org/) before first launch because Kimi Code CLI uses the bundled Git Bash as its shell environment. If Git Bash is installed in a custom location, set `KIMI_SHELL_PATH` to the absolute path of `bash.exe`.\n\nThen, run it with a new shell session:\n\n```sh\nkimi --version\n```\n\nFor npm install, upgrade, uninstall, see [Getting Started](https://moonshotai.github.io/kimi-code/en/guides/getting-started).\n\n## Quick Start\n\nOpen a project and start the interactive UI:\n\n```sh\ncd your-project\nkimi\n```\n\nOn first launch, run `/login` inside Kimi Code CLI and choose either Kimi Code OAuth or a Moonshot AI Open Platform API key. After login, try your first task:\n\n```\nTake a look at this project and explain its main directories.\n```\n\n## Key Features\n\n- **Single-binary distribution.** Install with one command: no Node.js setup, PATH gymnastics, or global module conflicts.\n- **Blazing-fast startup.** The TUI is ready in milliseconds, so starting a session never feels heavy.\n- **Purpose-built TUI.** A carefully tuned interface, optimized end to end for long, focused agent sessions.\n- **Video input.** Drop a screen recording or demo clip into the chat and let the agent watch what is hard to describe in words — turn a reference clip into a LUT, a long video into a short, a screen recording into working code, and more.\n- **AI-native MCP configuration.** Add, edit, and authenticate Model Context Protocol servers conversationally with `/mcp-config`, without hand-editing JSON.\n- **Rich plugin ecosystem.** Install skills, MCP servers, and data sources from the marketplace or any GitHub repo, with each install's trust level surfaced up front.\n- **Subagents for focused, parallel work.** Dispatch built-in `coder`, `explore`, and `plan` subagents in isolated contexts while keeping the main conversation clean.\n- **Lifecycle hooks.** Run local commands at key points to gate risky tool calls, audit decisions, trigger desktop notifications, or connect to your own automation.\n- **Editor \u0026 IDE integration (ACP).** Drive a Kimi Code CLI session straight from Zed, JetBrains, or any [Agent Client Protocol](https://agentclientprotocol.com/) client with `kimi acp`.\n\n## Use it in your editor (ACP)\n\nKimi Code CLI speaks the [Agent Client Protocol](https://agentclientprotocol.com/), so ACP-compatible editors and IDEs (Zed, JetBrains, …) can drive a session over stdio. Log in once, then point your editor at the `kimi acp` subcommand — no extra login needed.\n\nFor Zed, add this to `~/.config/zed/settings.json`:\n\n```json\n{\n  \"agent_servers\": {\n    \"Kimi Code CLI\": {\n      \"type\": \"custom\",\n      \"command\": \"kimi\",\n      \"args\": [\"acp\"],\n      \"env\": {}\n    }\n  }\n}\n```\n\nThen open a new conversation in Zed's Agent panel. See [Using in IDEs](https://moonshotai.github.io/kimi-code/en/guides/ides) for JetBrains setup and troubleshooting, and the [`kimi acp` reference](https://moonshotai.github.io/kimi-code/en/reference/kimi-acp) for the full capability matrix.\n\n## Docs\n\n- [Getting Started](https://moonshotai.github.io/kimi-code/en/guides/getting-started)\n- [Interaction and approvals](https://moonshotai.github.io/kimi-code/en/guides/interaction)\n- [Sessions](https://moonshotai.github.io/kimi-code/en/guides/sessions)\n- [Using in IDEs (ACP)](https://moonshotai.github.io/kimi-code/en/guides/ides)\n- [Configuration](https://moonshotai.github.io/kimi-code/en/configuration/config-files)\n- [Command reference](https://moonshotai.github.io/kimi-code/en/reference/kimi-command)\n\n## Develop\n\nRequirements: Node.js ≥ 24.15.0, pnpm 10.33.0.\n\n```sh\ngit clone https://github.com/MoonshotAI/kimi-code.git\ncd kimi-code\npnpm install\n```\n\n```sh\npnpm dev:cli    # run the CLI in dev mode\npnpm test       # run tests\npnpm typecheck  # TypeScript check\npnpm lint       # oxlint\npnpm build      # build all packages\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for the full contribution guide.\n\n## Community\n\n- [Issues](https://github.com/MoonshotAI/kimi-code/issues)\n- For security vulnerabilities, see [SECURITY.md](SECURITY.md).\n\n## Acknowledgements\n\nOur TUI is built on top of [`pi-tui`](https://github.com/earendil-works/pi-mono/tree/main/packages/tui). We thank the authors of `pi-tui` for their valuable work.\n\n## License\n\nReleased under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMoonshotAI%2Fkimi-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMoonshotAI%2Fkimi-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMoonshotAI%2Fkimi-code/lists"}