anyclaude  by coder

Universal Claude Code interface for diverse LLM providers

Created 8 months ago
255 stars

Top 98.8% on SourcePulse

GitHubView on GitHub
Project Summary

<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> anyclaude is a command-line utility designed to unify access to various Large Language Model (LLM) providers, including OpenAI, Google, xAI, and Anthropic, through a single interface. It addresses the complexity of integrating with different LLM APIs by acting as a simple wrapper and translator, enabling users to leverage their preferred models and services seamlessly within their workflows, particularly with Claude Code.

How It Works

The core of anyclaude is a lightweight HTTP server that translates between the Anthropic API's request/response format and the standardized format used by the AI SDK. This architectural choice allows it to abstract away provider-specific nuances. By setting appropriate environment variables for API keys and endpoints, users can direct anyclaude to interact with services like OpenAI, Google, or xAI, effectively making these providers compatible with tools expecting an Anthropic-like interface.

Quick Start & Requirements

  • Installation: Install globally using your preferred package manager: pnpm install -g anyclaude (npm and bun are also supported).
  • Basic Usage: Execute commands like anyclaude --model openai/gpt-5-mini to switch models.
  • Prerequisites: Requires setting environment variables for API keys (e.g., GOOGLE_API_KEY, OPENAI_API_KEY, XAI_API_KEY). For Anthropic models, ANTHROPIC_MODEL and ANTHROPIC_SMALL_MODEL are needed, with ANTHROPIC_BASE_URL for custom endpoints.
  • Dependencies: Leverages the AI SDK for provider integrations.
  • Links: No specific documentation or demo links are provided beyond command-line examples.

Highlighted Details

  • Offers explicit support for OpenAI's GPT-5 series, including fine-tuning parameters like --reasoning-effort (values: minimal, low, medium, high) and --service-tier (values: flex, priority).
  • Designed for extensibility, allowing straightforward integration of new providers supported by the AI SDK.
  • Compatible with Claude Code GitHub Actions.

Maintenance & Community

The provided README does not contain information regarding maintainers, community channels (like Discord or Slack), sponsorships, or a public roadmap.

Licensing & Compatibility

No license information is specified in the README. Consequently, its compatibility for commercial use or integration within closed-source projects remains undetermined.

Limitations & Caveats

Provider compatibility is directly tied to the correct configuration of API keys and the underlying AI SDK's support for each service. The project is characterized as a "basic command wrapper," which may imply a lack of advanced features or robust error handling compared to more comprehensive integration solutions.

Health Check
Last Commit

6 months ago

Responsiveness

Inactive

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

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems") and David Cramer David Cramer(Cofounder of Sentry).

llmgateway by theopenco

1.7%
874
LLM API gateway for unified provider access
Created 10 months ago
Updated 19 hours ago
Feedback? Help us improve.