TsinHzl/kiro2cc-proxy

Kiro代理到Claude Code与Codex,支持Claude Fable5.2/5.1 Opus5.5/5/4.8/4.7/4.6、Sonnet5.5/5/4.6、Haiku5.5、GPT-5.6、Kimi K3、Grok-4.7,支持前缀缓存,并支持SSE流式输出。Kiro proxy for Claude Code and Codex. Supports Claude Opus5.5/5/4.8/4.7/4.6, Sonnet 5.5/5/4.6, Haiku5.5,GPT-5.6, Kimi K3,Grok-4.7, Supports Prefix Cache, and SSE streaming.

What it solves

This project acts as a bridge that allows you to use your Kiro (AWS AI programming tool) account models within standard Anthropic Claude API clients, such as Claude Code. It solves the limitation where Kiro models are typically restricted to the official Kiro IDE or CLI.

How it works

The software runs as a local or server-based proxy service written in Rust. It intercepts standard Anthropic API requests, translates them into the format required by Kiro, and forwards them to the Kiro backend. It includes features to manage your Kiro account credentials, handle automatic token refreshing, and perform load balancing across multiple accounts if needed.

Who it’s for

It is designed for developers who want to use Kiro-provided AI models in their preferred development environments (like Claude Code or other tools compatible with the Anthropic or OpenAI API) rather than being confined to the official Kiro interface.

Highlights

  • Multi-Platform Support: Can be deployed on macOS, Windows, and Linux (including Docker).
  • Broad Compatibility: Supports both Anthropic Claude API and OpenAI-compatible endpoints (Codex CLI).
  • Account Management: Features an optional web-based Admin panel for managing multiple Kiro accounts, checking balances, and viewing logs.
  • Reliability: Built-in support for automatic retries, load balancing, and failover across multiple accounts.
  • Advanced Features: Supports streaming responses, tool use (function calling), and Claude's extended thinking mode.
  • Network Flexibility: Allows per-account proxy configuration (HTTP/SOCKS5) to bypass regional restrictions.

Related

  • Project
  • Project
  • Project
  • Project