Skip to main content

Kimi CLI engine plugin for Takopi

Project description

takopi-engine-kimi

Kimi CLI engine plugin for Takopi.

Installation

With pip

pip install takopi-engine-kimi

With uv (in a project)

# Add to your project's dependencies
uv add takopi takopi-engine-kimi

# Or from git (before it's published)
uv add takopi git+https://github.com/z80dev/takopi-engine-kimi

# Or from local path during development
uv add takopi /path/to/takopi-engine-kimi

With uv (as a tool)

# Install takopi with the kimi plugin
uv tool install takopi --with takopi-engine-kimi

# Or from git
uv tool install takopi --with git+https://github.com/z80dev/takopi-engine-kimi

# Or upgrade an existing installation
uv tool upgrade takopi --with takopi-engine-kimi

With uv tool run (temporary)

# Run takopi with kimi support without installing
uv tool run --with takopi-engine-kimi --from takopi takopi

Usage

Once installed, the kimi engine is automatically available. The plugin defaults to:

  • Model: kimi-for-coding (Kimi's coding-optimized model)

Minimal configuration in takopi.toml:

[engines.kimi]
# Uses "kimi-for-coding" by default

Enable auto-approval (yolo mode):

[engines.kimi]
yolo = true  # Auto-approve all actions

Full configuration options:

[engines.kimi]
model = "kimi-for-coding"  # Or "kimi-k2", etc.
allowed_tools = ["Bash", "Read", "Edit", "Write"]
yolo = true  # Auto-approve all actions

Verification

Verify the plugin is installed:

# Check available engines
uv run python -c "from takopi.engines import list_backend_ids; print(list_backend_ids())"
# ['claude', 'codex', 'kimi', 'opencode', 'pi']

Configuration Options

Option Type Default Description
model string kimi-for-coding Kimi model to use
allowed_tools list[string] ["Bash", "Read", "Edit", "Write"] Tools to allow
yolo boolean false Auto-approve all actions (Kimi's --yolo flag)
use_api_billing boolean false Use API billing mode

Requirements

  • Python >= 3.14
  • Takopi >= 0.22.0
  • Kimi CLI installed

License

MIT

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

takopi_engine_kimi-0.1.0.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

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

takopi_engine_kimi-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file takopi_engine_kimi-0.1.0.tar.gz.

File metadata

  • Download URL: takopi_engine_kimi-0.1.0.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for takopi_engine_kimi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2d632717c578809cf4958b7d2b2ed08701a756a5631b9ca066793e432b384a98
MD5 c1cce101671fd29a8c104b2d12e5b10b
BLAKE2b-256 32bd2d868671ae9283596d24cb509361b1c0cb9c883559229bb7c13f18ab0130

See more details on using hashes here.

File details

Details for the file takopi_engine_kimi-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for takopi_engine_kimi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c50fbc0cc326cadec1c57b408363f30ed8314b3bef0b9d9995a82e67bc456631
MD5 03df15843ba6fab19e622cd7678862ec
BLAKE2b-256 62676eb1670cc68d49f44e06475bd886aa64dc8a6774728641727902a44b3de6

See more details on using hashes here.

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