Discover and explore top open-source AI tools and projects—updated daily.
rynfarEnables Claude Max subscription with OpenCode's multi-model agent routing
Top 46.8% on SourcePulse
This project provides a proxy to integrate Claude Max subscriptions with OpenCode, enabling OpenCode's multi-model agent routing. It bridges Anthropic's Agent SDK with OpenCode by forwarding tool calls, ensuring agent assignments and full system prompts are respected across different models, overcoming the SDK's default routing.
How It Works
The proxy intercepts Claude Agent SDK tool calls via the PreToolUse hook. It captures tool details, blocks SDK execution, and returns the tool_use payload to OpenCode. OpenCode executes the tool and handles agent routing. Upon receiving the tool_result, the proxy resumes the SDK session, preserving distributed execution and Claude's interaction flow.
Quick Start & Requirements
curl -fsSL https://raw.githubusercontent.com/ianjwhite99/opencode-claude-max-proxy/main/install.sh | bash.claude login), clear OpenCode Anthropic auth.CLAUDE_PROXY_PASSTHROUGH=1 claude-max-proxy (npm) or CLAUDE_PROXY_PASSTHROUGH=1 bun run proxy (source, requires Bun). Docker option available../bin/oc.sh launcher or configure OpenCode with ANTHROPIC_API_KEY=dummy and ANTHROPIC_BASE_URL=http://127.0.0.1:3456.Highlighted Details
oh-my-opencode routing to models like GPT-5.4, Gemini via OpenCode.oh-my-opencode, and custom agents.Maintenance & Community
An unofficial wrapper; no explicit community channels (Discord/Slack) or active maintainer links are provided, though specific contributions are credited.
Licensing & Compatibility
Limitations & Caveats
1 day ago
Inactive
agi-inc