Claude Code Kimi Groq
Description
A basic proxy to use Kimi K2 on Claude Code through Groq
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Use Kimi K2 on Claude Code through Groq
This project builds upon the original repository at https://github.com/fakerybakery/claude-code-kimi-k2 (formerly `claude-code-kimi-groq`), enhancing it with additional features and improvements.
A proxy server that enables Claude Code to use Kimi K2 (Moonshot AI's model) through Groq's API by converting between Anthropic and OpenAI API formats.
Quick Start
Installation
# Install dependencies
pip install -e .
# Or with uv
uv run proxy.py
Running the Proxy
# Using uv (recommended)
uv run proxy.py
# Using python
python proxy.py
# Or using the CLI (after installation)
proxy
Configuration
Set environment variables before running Claude Code:
export ANTHROPIC_BASE_URL=http://localhost:7187
export ANTHROPIC_API_KEY=NOT_NEEDED
# Ensure GROQ_API_KEY is set in your environment or .env file
Then run Claude Code:
claude
Alternate Run Methods
# Using the shell scripts
./run.sh
# or
./run-claude.sh # sets environment variables automatically
Architecture
The proxy handles:
- Message Format Conversion: Translates between Anthropic and OpenAI message formats
- Tool Handling: Converts tool schemas and function calls between API formats
- Response Mapping: Returns responses in Anthropic's expected format with proper message IDs and token usage
The server runs on port 7187 by default and uses the Kimi K2 model through Groq's API.
If you use this:
If you use this, I'd love to hear about your experience with Kimi K2 and how it compared with Claude! Please open an Issue to share your experience.
Acknowledgements
Inspired by [claude-code-proxy](https://github.com/1rgs/claude-code-proxy)
License
MIT
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11