{"id":52095145,"url":"https://github.com/vnt-dev/kimi-code-rs","last_synced_at":"2026-08-04T10:30:41.861Z","repository":{"id":373640873,"uuid":"1309481963","full_name":"vnt-dev/kimi-code-rs","owner":"vnt-dev","description":"kimi-code implemented using rust","archived":false,"fork":false,"pushed_at":"2026-07-29T00:57:42.000Z","size":4724,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-29T02:13:22.539Z","etag":null,"topics":["kimi","kimi-code","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/vnt-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-23T03:35:32.000Z","updated_at":"2026-07-29T00:57:46.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vnt-dev/kimi-code-rs","commit_stats":null,"previous_names":["vnt-dev/kimi-code-rs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vnt-dev/kimi-code-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fkimi-code-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fkimi-code-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fkimi-code-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fkimi-code-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vnt-dev","download_url":"https://codeload.github.com/vnt-dev/kimi-code-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fkimi-code-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36273623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-04T02:00:06.901Z","response_time":57,"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":["kimi","kimi-code","rust"],"created_at":"2026-08-04T10:30:41.239Z","updated_at":"2026-08-04T10:30:41.855Z","avatar_url":"https://github.com/vnt-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kimi Code for Rust\n\n[简体中文](README.zh-CN.md) | English\n\n**A Rust rewrite of Kimi Code — fully compatible with the official Kimi CLI, with both desktop and Web access.**\n\nKimi Code for Rust is built with **Tauri 2 + React 19 + Rust 2024**. It is fully compatible with the capabilities and data of the official Kimi CLI, while bringing the Agent runtime, conversation management, and permission system into a lightweight native desktop application. Enable the built-in Web server to access it directly from a browser and view or control the same conversation in real time from both desktop and Web clients.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/vnt-dev/kimi-code-rs/blob/master/docs/kimi-code-desktop-mobile-showcase-en.png?raw=true\" alt=\"Kimi Code desktop and mobile Web interfaces\" width=\"720\"\u003e\n\u003c/p\u003e\n\n## Why Kimi Code for Rust?\n\n- 🦀 **Pure Rust core**: The Agent loop, tool execution, permission gates, and context compaction are all implemented in Rust for high performance and memory safety.\n- 🖥️ **Native desktop experience**: Powered by Tauri 2 without Electron's overhead. Manage multiple projects and conversations in the sidebar while following streaming responses in the main view.\n- 🌐 **Desktop and Web access**: Enable the built-in Web server to access Kimi Code from a computer or mobile browser, with the same conversation synchronized with the desktop client in real time.\n- 🔐 **Three permission modes**: `Request Approval` confirms protected operations, `Auto` lets the policy decide, and `Full Access` runs without approval—putting you in control of safety and speed.\n- 🧠 **Complete Agent capabilities**: Plan mode, Subagents/Swarm, MCP, skills, scheduled tasks, and automatic context compaction are all included.\n- 🔑 **One-click sign-in**: The OAuth device authorization flow opens your browser automatically, so you can connect to Kimi models by scanning a QR code or entering a device code.\n- 📡 **Streaming responses**: Reasoning and answers render in real time, with full Markdown/GFM support for code, tables, task lists, and more.\n- 💾 **Local-first data**: Conversation history and project layouts stay on your machine, while credentials are stored under `~/.kimi-code/`, keeping your data under your control.\n\n\u003e This project is a Rust implementation of [MoonshotAI/kimi-code](https://github.com/MoonshotAI/kimi-code).\n\n## Quick Start\n\nRequirements: a Rust toolchain with Rust 2024 edition support, Node.js LTS, pnpm 10.x, and the platform-specific [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/).\n\n```shell\ngit clone https://github.com/vnt-dev/kimi-code-rs.git\ncd kimi-code-rs/apps/kimi-code\npnpm install\npnpm tauri dev\n```\n\nThe first build may take a few minutes. Once the application starts, sign in to your Kimi account and open a local project directory. The Agent can then help you read code, fix bugs, and run commands.\n\nTo build a release bundle:\n\n```shell\npnpm tauri build\n```\n\nBuild artifacts are written to `target/release/bundle`.\n\nTagged releases build Windows installers, Linux AppImage and Debian (`.deb`)\npackages, and macOS disk images for both Apple Silicon and Intel Macs. The\nin-app updater is available on all three platforms; Linux automatic updates\nrequire running the AppImage distributed on the GitHub release page.\n\n## Project Structure\n\n| Path | Description |\n| --- | --- |\n| `apps/kimi-code` | Tauri 2 desktop application (React + Vite frontend and Rust shell) |\n| `crates/agent-core-v2` | Agent runtime core: loop, tools, permissions, conversations, MCP, and Subagents |\n| `crates/oauth` | OAuth device flow, credential storage, and model discovery |\n| `crates/protocol` | Shared data models and communication protocols |\n| `crates/transcript` | Conversation transcript models, compaction, and pagination |\n| `crates/minidb` | Embedded log-structured key-value/document database |\n\n## Contributing\n\n```shell\ncargo test --workspace          # Run the full test suite\ncargo fmt --all --check         # Check formatting\ncargo clippy --workspace --all-targets -- -D warnings   # Run lints\n```\n\nIssues and pull requests are welcome. If you enjoy the project, giving it a Star is the best way to show your support!\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnt-dev%2Fkimi-code-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvnt-dev%2Fkimi-code-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnt-dev%2Fkimi-code-rs/lists"}