{"id":28741264,"url":"https://github.com/coder/anyclaude","last_synced_at":"2025-06-16T07:11:35.170Z","repository":{"id":295882765,"uuid":"991510451","full_name":"coder/anyclaude","owner":"coder","description":"Claude Code with any LLM","archived":false,"fork":false,"pushed_at":"2025-05-27T20:54:52.000Z","size":54,"stargazers_count":25,"open_issues_count":2,"forks_count":4,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-13T14:06:40.714Z","etag":null,"topics":["agents","ai","claude-code","llm"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-27T18:27:23.000Z","updated_at":"2025-06-13T03:43:42.000Z","dependencies_parsed_at":"2025-05-27T21:42:44.126Z","dependency_job_id":"3e4b2fc5-67ff-4f73-97cf-3b38278804f5","html_url":"https://github.com/coder/anyclaude","commit_stats":null,"previous_names":["coder/anyclaude"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coder/anyclaude","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fanyclaude","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fanyclaude/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fanyclaude/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fanyclaude/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coder","download_url":"https://codeload.github.com/coder/anyclaude/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coder%2Fanyclaude/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260116634,"owners_count":22961066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","ai","claude-code","llm"],"created_at":"2025-06-16T07:11:34.107Z","updated_at":"2025-06-16T07:11:35.147Z","avatar_url":"https://github.com/coder.png","language":"TypeScript","readme":"# anyclaude\n\n![NPM Version](https://img.shields.io/npm/v/anyclaude)\n\nUse Claude Code with OpenAI, Google, xAI, and other providers.\n\n- Extremely simple setup - just a basic command wrapper\n- Uses the AI SDK for simple support of new providers\n- Works with Claude Code GitHub Actions\n\n\u003cimg src=\"./demo.png\" width=\"65%\"\u003e\n\n## Get Started\n\n```sh\n# Use your favorite package manager (bun, pnpm, and npm are supported)\n$ pnpm install -g anyclaude \n\n# anyclaude is a wrapper for the Claude CLI\n# `openai/`, `google/`, `xai/`, and `anthropic/` are supported\n$ anyclaude --model openai/o3\n```\n\nSwitch models in the Claude UI with `/model openai/o3`.\n\n## FAQ\n\n### What providers are supported?\n\nSee [the providers](./src/main.ts#L17) for the implementation.\n\n- `GOOGLE_API_KEY` supports `google/*` models.\n- `OPENAI_API_KEY` supports `openai/*` models.\n- `XAI_API_KEY` supports `xai/*` models.\n\nSet a custom OpenAI endpoint with `OPENAI_API_URL` to use OpenRouter\n\n### How does this work?\n\nClaude Code has added support for customizing the Anthropic endpoint with `ANTHROPIC_BASE_URL`.\n\nanyclaude spawns a simple HTTP server that translates between Anthropic's format and the [AI SDK](https://github.com/vercel/ai) format, enabling support for any [AI SDK](https://github.com/vercel/ai) provider (e.g., Google, OpenAI, etc.)\n\n## Do other models work better in Claude Code?\n\nNot really, but it's fun to experiment with them.\n\n`ANTHROPIC_MODEL` and `ANTHROPIC_SMALL_MODEL` are supported with the `\u003cprovider\u003e/` syntax.\n","funding_links":[],"categories":["HarmonyOS","代理与API工具"],"sub_categories":["Windows Manager"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fanyclaude","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoder%2Fanyclaude","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoder%2Fanyclaude/lists"}