Skip to main content

Minimal CLI coding agent

Project description

Kin Code

PyPI Version Python Version License

An AI-powered CLI coding assistant.

Kin Code provides a conversational interface to your codebase, allowing you to explore, modify, and interact with projects using natural language and a powerful set of tools.

Based on Mistral Vibe by Mistral AI.

[!NOTE] For complete documentation, see the docs directory.

Installation

Using uv (recommended)

uv tool install kin-code

Using pip

pip install kin-code

Quick Start

# Navigate to your project
cd /path/to/project

# Run Kin Code
kin

# Or with an initial prompt
kin "Explain this codebase"

On first run, Kin Code will prompt you to configure your API key.

Features

  • Interactive Chat - Conversational AI that understands your codebase
  • Powerful Tools - Read, write, search, and execute commands
  • Project Awareness - Automatic context from file structure and git
  • Multiple Agents - Different profiles for different workflows
  • Skills System - Extend functionality with reusable components
  • MCP Support - Integrate external tools via Model Context Protocol

Usage

Interactive Mode

kin                          # Start interactive session
kin "your prompt"            # Start with a prompt
kin --agent plan             # Use read-only agent
kin --continue               # Continue last session

Programmatic Mode

kin --prompt "Analyze code" --max-turns 5 --output json

Key Shortcuts

Shortcut Action
Enter Send message
Ctrl+J New line
Ctrl+C Interrupt
Ctrl+O Toggle tool output
Shift+Tab Toggle auto-approve

File References

Reference files with @:

> Explain what @src/main.py does

Configuration

Configuration is stored in ~/.kin-code/:

~/.kin-code/
  config.toml      # Main configuration
  .env             # API keys
  agents/          # Custom agents
  prompts/         # Custom prompts
  skills/          # Global skills

API Keys

Configure via kin --setup or add to ~/.kin-code/.env:

OPENAI_API_KEY=sk-...

Built-in Agents

Agent Description
default Standard agent, asks for approval
plan Read-only, auto-approves safe tools
accept-edits Auto-approves file edits
auto-approve Auto-approves everything
kin --agent plan

Editor Integration

Kin Code supports Agent Client Protocol for editor integration.

See ACP Setup for Zed, JetBrains, and Neovim configuration.

Documentation

Full documentation is available in docs/:

Resources

Acknowledgments

Kin Code is built on the foundation of Mistral Vibe, an excellent CLI coding assistant created by Mistral AI. We're grateful for their work in open-sourcing the project under the Apache 2.0 license.

License

Apache License 2.0. See LICENSE.

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

kin_code-1.1.1.tar.gz (528.3 kB view details)

Uploaded Source

Built Distribution

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

kin_code-1.1.1-py3-none-any.whl (276.3 kB view details)

Uploaded Python 3

File details

Details for the file kin_code-1.1.1.tar.gz.

File metadata

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

File hashes

Hashes for kin_code-1.1.1.tar.gz
Algorithm Hash digest
SHA256 0cbac67702b336e5ae822adb6a467a51766ce9f79dd38893ea934e724b2121c4
MD5 f6dd88fe0eb3313ade3c53938e552099
BLAKE2b-256 2c1288e5d27e97a63c7a50b4f71b747b66a921050301de1449d7e6ba9be41aaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for kin_code-1.1.1.tar.gz:

Publisher: release.yml on kinra-ai/kin-code

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

File details

Details for the file kin_code-1.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for kin_code-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e7e1959f32240354afe082b992fccb6c469571e380e2c994407299c54cae4ceb
MD5 e79378de8a507338ab446d53a2882218
BLAKE2b-256 4bc90aece7a8176b62761b8300a7c3549830788fe9a4197a2dba057ab43d9f57

See more details on using hashes here.

Provenance

The following attestation bundles were made for kin_code-1.1.1-py3-none-any.whl:

Publisher: release.yml on kinra-ai/kin-code

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