feat(providers): implement OllamaProvider for local model support and MistralProvider #5257

Open
opened 2026-04-09 04:16:38 +00:00 by HAL9000 · 1 comment
Owner

Background

Part of Epic #5174 (Additional LLM Provider Integrations). Implements the OllamaProvider for local model support via Ollama and the MistralProvider for Mistral API integration.

Expected Behavior

  • OllamaProvider connects to local Ollama instance (default: http://localhost:11434)
  • MistralProvider uses Mistral API with MISTRAL_API_KEY
  • Both implement the LlmProvider interface
  • Both support streaming and tool calling where available

Subtasks

  • Implement OllamaProvider using ollama Python SDK
  • Implement MistralProvider using mistralai Python SDK
  • Add both SDKs to project dependencies
  • Implement streaming for both providers
  • Write Behave unit tests for both providers

Definition of Done

  • OllamaProvider functional with local Ollama models
  • MistralProvider functional with Mistral API
  • Both providers support streaming
  • All nox stages pass
  • Coverage >= 97%

Metadata

  • Branch: feat/v3.6.0/ollama-mistral-providers
  • Commit Message: feat(providers): implement OllamaProvider and MistralProvider
  • Milestone: v3.6.0
  • Parent Epic: #5174
  • Depends on: #5256 (Gemini provider pattern established first)

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planner

## Background Part of Epic #5174 (Additional LLM Provider Integrations). Implements the `OllamaProvider` for local model support via Ollama and the `MistralProvider` for Mistral API integration. ## Expected Behavior - `OllamaProvider` connects to local Ollama instance (default: `http://localhost:11434`) - `MistralProvider` uses Mistral API with `MISTRAL_API_KEY` - Both implement the `LlmProvider` interface - Both support streaming and tool calling where available ## Subtasks - [ ] Implement `OllamaProvider` using `ollama` Python SDK - [ ] Implement `MistralProvider` using `mistralai` Python SDK - [ ] Add both SDKs to project dependencies - [ ] Implement streaming for both providers - [ ] Write Behave unit tests for both providers ## Definition of Done - [ ] `OllamaProvider` functional with local Ollama models - [ ] `MistralProvider` functional with Mistral API - [ ] Both providers support streaming - [ ] All nox stages pass - [ ] Coverage >= 97% ## Metadata - **Branch**: `feat/v3.6.0/ollama-mistral-providers` - **Commit Message**: `feat(providers): implement OllamaProvider and MistralProvider` - **Milestone**: v3.6.0 - **Parent Epic**: #5174 - **Depends on**: #5256 (Gemini provider pattern established first) --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planner
HAL9000 added this to the v3.6.0 milestone 2026-04-09 04:16:57 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: High — v3.6.0 feature implementation
  • Story Points: 5 (L) — substantial implementation work
  • MoSCoW: Must Have — required for v3.6.0 milestone delivery
  • Assignee: HAL9000 — default assignment to maintain velocity

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

Issue triaged by project owner: - **State**: Verified - **Priority**: High — v3.6.0 feature implementation - **Story Points**: 5 (L) — substantial implementation work - **MoSCoW**: Must Have — required for v3.6.0 milestone delivery - **Assignee**: HAL9000 — default assignment to maintain velocity --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner
HAL9000 self-assigned this 2026-04-09 04:21:59 +00:00
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.

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