Show HN: Have your agent consult other models Developer Raine released consult-llm, an open-source tool that lets AI agents query other models for second opinions during coding tasks. The tool supports multiple providers including GPT-5.5, Gemini 3.1 Pro, and Claude Opus 4.7, and can be integrated via slash commands in agents like Claude Code and Codex to catch blind spots in reasoning. Quick start quick-start · Usage usage · Providers & Configuration providers--configuration · Skills skills · Logging logging · Monitor monitor · Changelog /raine/consult-llm/blob/main/CHANGELOG.md consult-llm is a tool for getting a second opinion from another AI model, right inside your existing agent workflow. Use it to plan architecture, review changes, debate approaches, or get unstuck on tricky bugs. It supports GPT-5.5, Gemini 3.1 Pro, Claude Opus 4.7, DeepSeek V4 Pro, MiniMax M2.7, and Grok 4.3, along with any openrouter/ model, with API and local CLI backends, multi-turn threads, git diff context, web-mode clipboard export, and a live monitor TUI. A model reviewing its own work isn't an independent check. Even in a fresh context, it shares the same training, priors, and many of the same failure modes. A different model was trained differently and makes different mistakes, so it's more likely to push back, challenge weak reasoning, or expose a blind spot. Model strengths are uneven and hard to predict per task. A quick cross-check is cheap, and sometimes the other model is the one that finds the path forward. - Install skills into your agent Claude Code, Codex, OpenCode - Trigger with a slash command: /consult , /debate , /collab - The skill pipes your prompt into consult-llm , which calls the backend and streams the response back inline For the more detailed flow, continue below how-it-really-works . The hint unlocking is still broken after your fix. Ask gemini ⏺ Skill consult-llm ⎿ Successfully loaded skill · 1 tool allowed ⏺ Let me consult Gemini to understand this segmentation mismatch: ⏺ Bash cat issue.md | consult-llm -m gemini -f HintsText.tsx -f hints.ts ⎿ model:gemini-3.1-pro-preview The root cause is a race condition in handleConfirmGenerateHints . After await generateHints , the component state updates in the background, but the function continues with a stale activeSegment variable, requesting a hint for "isn't" instead of "isn't it". ⏺ Gemini identified the real issue: a race condition with stale state after async operations. I was looking at the wrong thing entirely. Note This project previously used MCP as its transport layer. If you were using that version, see the migration guide migrating-from-mcp below. Get a second opinion from another model from your agent with relevant file context /consult Have models debate the best approach and synthesize a consensus /debate Use existing subscriptions via CLI backends without API keys Gemini CLI gemini-cli , Codex CLI codex-cli , Cursor CLI cursor-cli , Claude CLI profile-backend , OpenCode opencode Continue conversations across requests with thread id Copy prompts to clipboard for browser-based LLMs --web in a real-time TUI Monitor monitor active and past runs - Install the binaries: Homebrew brew install raine/consult-llm/consult-llm Shell script macOS/Linux curl -fsSL https://raw.githubusercontent.com/raine/consult-llm/main/scripts/install.sh | bash - Configure a backend. CLI backends are the easiest if you have an existing subscription no API key needed : consult-llm config set gemini.backend gemini-cli requires: gemini login consult-llm config set openai.backend codex-cli requires: codex login Or set API keys: consult-llm config set openai.api key your openai key consult-llm config set gemini.api key your gemini key consult-llm config set grok.api key your xai key or via environment variables: OPENAI API KEY, GEMINI API KEY, XAI API KEY, etc. - Verify your setup: consult-llm models see available models and resolved selectors echo "hello" | consult-llm -m gemini quick smoke test - Install the skills so your agent can call consult-llm for you: consult-llm install-skills Then invoke skills from inside your agent see Usage usage right below . Some real-world examples. Click to expand. Explain the problem, and tell CC to consult a smarter LLM