kiro2api  by caidaoli

High-performance AI proxy server for LLM integration

Created 5 months ago
423 stars

Top 69.6% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

kiro2api offers a high-performance, unified gateway for integrating with multiple AI API providers like Anthropic Claude, OpenAI, and AWS CodeWhisperer. It simplifies API access for developers by providing a single proxy that supports diverse authentication, multi-account management, and cross-provider compatibility.

How It Works

This Go-based API gateway acts as a proxy, handling authentication (Social/IdC), managing account pools with failover, and converting formats between Anthropic, OpenAI, and CodeWhisperer APIs. It supports streaming responses and multimodal image inputs via data URLs.

Quick Start & Requirements

  • Primary Install/Run:
    • Source: Clone the repository (git clone), build with Go (go build -o kiro2api main.go), and run ./kiro2api. Configure via .env file.
    • Docker: Recommended. Use docker-compose up -d or docker run with environment variables.
  • Prerequisites: Go 1.24.0, Docker & Docker Compose.
  • Dependencies: gin-gonic/gin, bytedance/sonic, godotenv.
  • Configuration: Requires KIRO_AUTH_TOKEN (Social/IdC tokens) and KIRO_CLIENT_TOKEN via .env file or environment variables.
  • Links: Detailed development guide available at CLAUDE.md.

Highlighted Details

  • Native Claude Code integration with full API support, streaming, tool calls, and data URL image input.
  • Multi-account pool management offers sequential usage, failover, and monitoring.
  • Flexible Social/IdC authentication with hybrid support.
  • Unifies Anthropic and OpenAI API formats.

Maintenance & Community

The project welcomes community contributions via Issues and Pull Requests. No specific community channels (like Discord/Slack) or roadmap details are provided.

Licensing & Compatibility

The project's license is not explicitly stated in the README, posing a significant adoption blocker. Commercial use compatibility cannot be determined without this information.

Limitations & Caveats

Image input is limited to data: URL formats, excluding remote HTTP addresses. The unspecified license requires clarification before adoption.

Health Check
Last Commit

2 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
2
Star History
162 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Wei-Lin Chiang Wei-Lin Chiang(Cofounder of LMArena), and
13 more.

awesome-tensor-compilers by merrymercy

0.1%
3k
Curated list of tensor compiler projects and papers
Created 5 years ago
Updated 1 year ago
Starred by Shengjia Zhao Shengjia Zhao(Chief Scientist at Meta Superintelligence Lab), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
14 more.

BIG-bench by google

0.1%
3k
Collaborative benchmark for probing and extrapolating LLM capabilities
Created 5 years ago
Updated 1 year ago
Starred by Lysandre Debut Lysandre Debut(Chief Open-Source Officer at Hugging Face), Shizhe Diao Shizhe Diao(Author of LMFlow; Research Scientist at NVIDIA), and
14 more.

simpletransformers by ThilinaRajapakse

0%
4k
Rapid NLP task implementation
Created 6 years ago
Updated 4 months ago
Starred by Aravind Srinivas Aravind Srinivas(Cofounder of Perplexity), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
16 more.

text-to-text-transfer-transformer by google-research

0.1%
6k
Unified text-to-text transformer for NLP research
Created 6 years ago
Updated 2 days ago
Starred by Vaibhav Nivargi Vaibhav Nivargi(Cofounder of Moveworks), Chuan Li Chuan Li(Chief Scientific Officer at Lambda), and
5 more.

awesome-mlops by visenger

0.1%
14k
Curated MLOps knowledge hub
Created 5 years ago
Updated 1 year ago
Feedback? Help us improve.