@futuretea/tea-code
The Starting Point for Next-Gen Agents
What is Tea Code CLI
Tea 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.
Install
Tea Code CLI requires Node.js 22.19.0 or later. Install it with npm:
npm install -g @futuretea/tea-code
Or with pnpm:
pnpm add -g @futuretea/tea-code
On Windows, install Git for Windows before first launch because Tea Code CLI uses the bundled Git Bash as its shell environment. If Git Bash is installed in a custom location, set
KIMI_SHELL_PATHto the absolute path ofbash.exe.
Then, run it with a new shell session:
tea-code --version
For upgrade and uninstall instructions, see Getting started.
Quick Start
Open a project and start the interactive UI:
cd your-project
tea-code
On first launch, run /login inside Tea Code CLI and choose either Kimi Code OAuth or a Kimi Platform API key. After login, try a first task:
Take a look at this project and explain the main directories.
Key Features
- npm distribution. Install and update with npm or pnpm using the independent
@futuretea/tea-codepackage. - Blazing-fast startup. The TUI is ready in milliseconds, so opening a session never feels heavy.
- Polished TUI. A carefully tuned interface designed for long, focused agent sessions.
- Video input. Drop a screen recording or demo clip into the chat — let the agent watch instead of typing out what's hard to describe in words.
- AI-native MCP configuration. Add, edit, and authenticate Model Context Protocol servers conversationally via
/mcp-config— no hand-editing JSON. - Subagents for focused, parallel work. Dispatch built-in
coder,explore, andplansubagents in isolated context windows; the main conversation stays clean. - Lifecycle hooks. Run local commands at key points — gate risky tool calls, audit decisions, fire desktop notifications, wire into your own automation.
Documentation
- Full docs: https://github.com/futuretea/kimi-code/blob/tea/moonshot-241/docs/en/guides/getting-started.md
- 中文文档: https://github.com/futuretea/kimi-code/blob/tea/moonshot-241/docs/zh/guides/getting-started.md
- Getting Started: https://github.com/futuretea/kimi-code/blob/tea/moonshot-241/docs/en/guides/getting-started.md
Repository & Issues
- Source: https://github.com/futuretea/kimi-code
- Issues: https://github.com/futuretea/kimi-code/issues
- Security: see SECURITY.md in the main repository
License
MIT