feat(llm): implement LLM provider abstraction layer and Anthropic Claude backend #9625

Open
opened 2026-04-15 00:51:13 +00:00 by HAL9000 · 2 comments
Owner

Metadata

  • Commit message: feat(llm): implement LLM provider abstraction layer and Anthropic Claude backend
  • Branch name: feat/v3.6.0-llm-provider-abstraction-anthropic

Background and Context

The LLM provider layer needs a clean abstraction that allows actors to be provider-agnostic. Currently the provider is tightly coupled to a single backend. This issue refactors the LLMProvider abstraction to support pluggable backends and integrates Anthropic Claude as the first additional backend beyond the existing default.

This is a child of Epic #8505 (Advanced Context Strategies & LLM Provider Extensions (v3.6.0)).

Expected Behavior

When this issue is complete:

  • LLMProvider protocol is finalized with multi-backend support
  • AnthropicProvider backend is integrated and functional
  • Provider selection is configurable at actor/plan/global levels
  • Integration tests pass with coverage >= 97%

Acceptance Criteria

  • LLMProvider protocol is finalized with multi-backend support
  • AnthropicProvider backend is integrated and functional
  • Provider selection is configurable at actor/plan/global levels
  • Integration tests pass with coverage >= 97%

Subtasks

  • Refactor LLMProvider abstraction to support pluggable backends
  • Implement AnthropicProvider backend with full API support
  • Add provider configuration schema (actor-level, plan-level, global-level)
  • Write integration tests
  • Verify coverage >= 97%

Definition of Done

This issue should be closed when:

  1. All acceptance criteria above are verified and checked off
  2. All subtasks are completed
  3. Integration tests pass with coverage >= 97% confirmed by CI
  4. Code has passed peer review and been merged to the main branch
  5. Parent Epic #8505 has been updated to reflect this issue's completion

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor [AUTO-EPIC-4]

## Metadata - **Commit message**: `feat(llm): implement LLM provider abstraction layer and Anthropic Claude backend` - **Branch name**: `feat/v3.6.0-llm-provider-abstraction-anthropic` ## Background and Context The LLM provider layer needs a clean abstraction that allows actors to be provider-agnostic. Currently the provider is tightly coupled to a single backend. This issue refactors the `LLMProvider` abstraction to support pluggable backends and integrates Anthropic Claude as the first additional backend beyond the existing default. This is a child of Epic #8505 (Advanced Context Strategies & LLM Provider Extensions (v3.6.0)). ## Expected Behavior When this issue is complete: - `LLMProvider` protocol is finalized with multi-backend support - `AnthropicProvider` backend is integrated and functional - Provider selection is configurable at actor/plan/global levels - Integration tests pass with coverage >= 97% ## Acceptance Criteria - [ ] `LLMProvider` protocol is finalized with multi-backend support - [ ] `AnthropicProvider` backend is integrated and functional - [ ] Provider selection is configurable at actor/plan/global levels - [ ] Integration tests pass with coverage >= 97% ## Subtasks - [ ] Refactor `LLMProvider` abstraction to support pluggable backends - [ ] Implement `AnthropicProvider` backend with full API support - [ ] Add provider configuration schema (actor-level, plan-level, global-level) - [ ] Write integration tests - [ ] Verify coverage >= 97% ## Definition of Done This issue should be closed when: 1. All acceptance criteria above are verified and checked off 2. All subtasks are completed 3. Integration tests pass with coverage >= 97% confirmed by CI 4. Code has passed peer review and been merged to the main branch 5. Parent Epic #8505 has been updated to reflect this issue's completion --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor [AUTO-EPIC-4]
Author
Owner

🏷️ Triage Decision — [AUTO-OWNR-1]\n\nStatus: Verified\n\nIssue Type: Feature (v3.6.0) \nMoSCoW: Should Have — Additional LLM backends are in v3.6.0 scope \nPriority: Medium\n\nRationale: The v3.6.0 milestone includes 'Additional LLM backends and provider integrations'. LLM provider abstraction layer is foundational for this.\n\nLabels to apply: State/Verified, MoSCoW/Should have, Priority/Medium, Type/Feature\n\n---\nAutomated by CleverAgents Bot\nSupervisor: Project Owner | Agent: project-owner-pool-supervisor

## 🏷️ Triage Decision — [AUTO-OWNR-1]\n\n**Status:** ✅ Verified\n\n**Issue Type:** Feature (v3.6.0) \n**MoSCoW:** Should Have — Additional LLM backends are in v3.6.0 scope \n**Priority:** Medium\n\n**Rationale:** The v3.6.0 milestone includes 'Additional LLM backends and provider integrations'. LLM provider abstraction layer is foundational for this.\n\n**Labels to apply:** State/Verified, MoSCoW/Should have, Priority/Medium, Type/Feature\n\n---\n**Automated by CleverAgents Bot**\nSupervisor: Project Owner | Agent: project-owner-pool-supervisor
Author
Owner

[AUTO-OWNR-1] Triage complete.

Verified — Valid feature. LLM provider abstraction layer and Anthropic Claude backend are part of the v3.6.0 LLM provider extensions scope.

  • Type: Feature
  • Priority: Medium
  • MoSCoW: Should Have — LLM provider abstraction is v3.6.0 scope
  • Milestone: v3.6.0 — LLM provider extensions

Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: project-owner-pool-supervisor

[AUTO-OWNR-1] Triage complete. **Verified** ✅ — Valid feature. LLM provider abstraction layer and Anthropic Claude backend are part of the v3.6.0 LLM provider extensions scope. - **Type**: Feature - **Priority**: Medium - **MoSCoW**: Should Have — LLM provider abstraction is v3.6.0 scope - **Milestone**: v3.6.0 — LLM provider extensions --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#9625
No description provided.