Skip to content

Multi-provider execution: non-Anthropic LLMs don't work end-to-end #335

@kokevidaurre

Description

@kokevidaurre

Problem

squads run supports 7 LLM providers (Claude, Gemini, Codex, Vibe, Grok, Aider, Ollama) via llm-clis.ts, but only Claude actually works because:

  1. Agent definitions are Claude Code prompts — they reference Claude-specific tools (Read, Edit, Bash, Task), MCP servers, and Claude Code conventions
  2. --dangerously-skip-permissions is Claude Code-specific — other CLIs don't have it
  3. buildArgs patterns are guesses — e.g., gemini --prompt may not be the actual CLI interface
  4. No validation that agent prompts are compatible with the target provider

Current State (v0.6.0)

  • executeWithProvider() has worktree isolation (fixed in c2df44b)
  • All squad model configs use Anthropic models (haiku/sonnet/opus)
  • The provider routing code exists but is untested with real providers

What v0.7.0 Needs

  1. Validate provider CLIs actually work — install and test each
  2. Prompt adapter layer — translate Claude-specific patterns to provider-compatible prompts
  3. Tool mapping — map Claude Code tools to provider equivalents (or document limitations)
  4. Integration tests — smoke test each provider with a simple task
  5. Documentation — which providers work, what limitations, how to configure

Target

v0.7.0

Priority

P0 for v0.7.0 (not blocking v0.6.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions