Skip to main content

Cimi - A CLI agent for software engineering tasks (forked from kimi-cli)

Project description

CIMI (Kimi CLI Clone)

License Python

Cimi is a CLI agent for software engineering tasks, forked from kimi-cli.

Note: This is a fork of the original Kimi CLI project, renamed and adapted for separate distribution.

Key features

  • Shell-like UI and shell command execution
  • Zsh integration
  • Agent Client Protocol support
  • MCP support
  • And more to come...

Installation

Cimi is published as a Python package on PyPI. We highly recommend installing it with uv. If you have not installed uv yet, please follow the uv installation guide to install it first.

Once uv is installed, you can install Cimi with:

uv tool install --python 3.13 cimi

Run cimi --help to check if CIMI is installed successfully.

Note: Due to the security checks on macOS, the first time you run cimi command may take 10 seconds or more depending on your system environment.

Upgrading

Upgrade cimi to the latest version with:

uv tool upgrade cimi --no-cache

Usage

Run cimi command in the directory you want to work on, then send /setup to setup Cimi:

After setup, Cimi will be ready to use. You can send /help to get more information.

Differences from kimi-cli

This fork maintains feature parity with the original kim-cli project. The only differences are:

  • Package name: cimi instead of kimi-cli
  • Command name: cimi instead of kimi
  • Source repository: Independent fork for separate development

All functionality and features remain the same as the original project.

Features

Shell mode

Kimi CLI is not only a coding agent, but also a shell. You can switch the mode by pressing Ctrl-X. In shell mode, you can directly run shell commands without leaving Kimi CLI.

[!NOTE] Built-in shell commands like cd are not supported yet.

Zsh integration

You can use Cimi together with Zsh, to empower your shell experience with AI agent capabilities. Please refer to the zsh-kimi-cli plugin for integration instructions.

Note: The zsh plugin is designed for the original kimi-cli but should work with cimi with minimal modifications.

ACP support

Cimi supports Agent Client Protocol out of the box. You can use it together with any ACP-compatible editor or IDE.

For example, to use Cimi with Zed, add the following configuration to your ~/.config/zed/settings.json:

{
  "agent_servers": {
    "Cimi": {
      "command": "cimi",
      "args": ["--acp"],
      "env": {}
    }
  }
}

Then you can create Cimi threads in Zed's agent panel.

Using MCP tools

Kimi CLI supports the well-established MCP config convention. For example:

{
  "mcpServers": {
    "context7": {
      "url": "https://mcp.context7.com/mcp",
      "headers": {
        "CONTEXT7_API_KEY": "YOUR_API_KEY"
      }
    },
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}

Run cimi with --mcp-config-file option to connect to the specified MCP servers:

cimi --mcp-config-file /path/to/mcp.json

Development

To develop Cimi, run:

git clone https://github.com/abhishekbhakat/cimi.git
cd cimi

make prepare  # prepare the development environment

Then you can start working on Cimi.

Refer to the following commands after you make changes:

uv run cimi  # run CIMI

make format  # format code
make check   # run linting and type checking
make test    # run tests
make help    # show all make targets

Contributing

We welcome contributions to Cimi! Please fork the repository and submit pull requests.

Origin and License

Cimi is a fork of kimi-cli by Moonshot AI, licensed under the Apache License 2.0.

LICENSE

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cimi-0.58.tar.gz (106.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cimi-0.58-py3-none-any.whl (146.9 kB view details)

Uploaded Python 3

File details

Details for the file cimi-0.58.tar.gz.

File metadata

  • Download URL: cimi-0.58.tar.gz
  • Upload date:
  • Size: 106.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cimi-0.58.tar.gz
Algorithm Hash digest
SHA256 72afd0b04c34e3dde99f722ec637420cf1c969c8920c64fd5d1077c58c2bc181
MD5 53a7c48187ebe02229494c30fa01d227
BLAKE2b-256 ab0f48192ae0569abc1ad71cc50993f808e411571bddcdf7b0f2cd6ea1bd5770

See more details on using hashes here.

Provenance

The following attestation bundles were made for cimi-0.58.tar.gz:

Publisher: publish-to-pypi.yml on abhishekbhakat/cimi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cimi-0.58-py3-none-any.whl.

File metadata

  • Download URL: cimi-0.58-py3-none-any.whl
  • Upload date:
  • Size: 146.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cimi-0.58-py3-none-any.whl
Algorithm Hash digest
SHA256 8a453d60c721de187e0796932b06b2841f14ad875004092df0e5123a81f41ffa
MD5 1a40f1d2a6dc9bdeea0f219e8cf5339f
BLAKE2b-256 0a08eb9a99d2cb0ee4b9efb73ef8f6259d419933672f758257a7f024a232b24a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cimi-0.58-py3-none-any.whl:

Publisher: publish-to-pypi.yml on abhishekbhakat/cimi

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page