kiro2api  by caidaoli

High-performance AI proxy server for LLM integration

Created 1 year ago
643 stars

Top 52.0% 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

5 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Feedback? Help us improve.