Add Claude (Anthropic) LLM Provider #125

Closed
opened 2026-01-30 21:28:18 +00:00 by jason.woltje · 0 comments
Owner

Implement Anthropic Claude provider for Claude Opus, Sonnet, and Haiku models.

Objective: Add Anthropic Claude as a supported LLM backend option.

Tasks:

  • Create claude.provider.ts implementing base provider interface
  • Add Anthropic SDK integration
  • Implement chat completion with streaming
  • Add tool use support
  • Handle rate limits and retries
  • Write unit tests with mocks

Acceptance Criteria:

  • Can create chat completions via Claude API
  • Streaming works correctly
  • API key configuration via database
  • Tests pass with 85%+ coverage

Related: Epic #121, Phase 1 LLM Abstraction
Depends on: #122 (provider interface)

Implement Anthropic Claude provider for Claude Opus, Sonnet, and Haiku models. Objective: Add Anthropic Claude as a supported LLM backend option. Tasks: - Create claude.provider.ts implementing base provider interface - Add Anthropic SDK integration - Implement chat completion with streaming - Add tool use support - Handle rate limits and retries - Write unit tests with mocks Acceptance Criteria: - Can create chat completions via Claude API - Streaming works correctly - API key configuration via database - Tests pass with 85%+ coverage Related: Epic #121, Phase 1 LLM Abstraction Depends on: #122 (provider interface)
jason.woltje added the apiapip1phase-1 labels 2026-01-30 21:28:18 +00:00
jason.woltje added this to the M4-LLM (0.0.4) milestone 2026-01-30 23:40:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#125