Ad

Meridian: Anthropic SDK Proxy for Third-Party Tools

Meridian bridges the Claude Code SDK to the standard Anthropic API, enabling Claude Max in tools like OpenCode, Pi, and Crush. It facilitates seamless integration without requiring OAuth interception or binary patching.

Meridian enables seamless integration of Anthropic's Claude Max with various third-party tools. By acting as a proxy, Meridian translates the Claude Code SDK's requests into the standard Anthropic API format. This allows tools that natively support the standard API to leverage the capabilities of Claude Max, including session management, streaming, and prompt caching, without requiring modifications to the tools themselves. Meridian simplifies the process of utilizing Claude Max in existing workflows by providing a consistent interface.

Meridian's key strength lies in its compatibility with a wide range of Anthropic-compatible tools, providing a consistent API interface. It allows the use of standard API concepts like tool_completion and model_completion along with forward compatibility. Configuration is streamlined by offering a simple installation process, including a Nix flake for declarative deployments. The architecture is carefully designed to respect Anthropic's rate limiting and authentication mechanisms, ensuring sustainable usage and reliability. Additionally, telemetry and monitoring endpoints offer insights into proxy performance.

  • API Compatibility: Supports tools aligned with both Anthropic and OpenAI API conventions, enabling wide integration.
  • Session Management: Persists conversations and context across requests for sustained multi-turn interactions.
  • Streaming Support: Provides real-time streaming of responses from Claude models for interactive applications.
  • Configurable Subagents: Allows for resource allocation to subagents, improving performance and cost optimization.
  • Telemetry & Monitoring: Offers tools to monitor proxy usage and performance, including metrics and dashboards.
  • Service Mode: Runs as a user systemd service for easy management and automatic startup.
  • Multi-profile Support: Enables users to seamlessly switch between different Anthropic accounts without restarting the proxy.

Meridian is an actively developed project with a growing community. Recent commits and issue activity indicate ongoing maintenance and improvements. Documentation is comprehensive, covering installation, configuration, and usage details. Support for home manager is well-integrated, demonstrating a commitment to developer convenience. The inclusion of telemetry and metrics emphasizes reliability and performance monitoring.

Meridian is beneficial for developers seeking to incorporate Claude Max into their existing workflows and tools. It simplifies the integration process by providing a consistent API and handles critical aspects like session management and streaming. It is particularly valuable for users who prefer to leverage familiar tools without needing to modify them or manage complex authentication flows, thus improving developer productivity and enabling wider adoption of Claude's advanced capabilities.

Summarize:
Share:
Stars
1,949
Forks
213
Issues
59
Created
7 months ago
Commit
9 days ago
License
None
Archived
No
Updated 9 days ago

Similar Repositories