CompareLabCompare two AI models on the same task, or test whether a prompt edit helps. A VS Code extension with side-by-side responses, text diffs, and reviews that cite the supplied evidence. Use models available in VS Code, connect Ollama or an OpenAI-compatible API, or paste existing responses. No hosted CompareLab service or runtime npm dependencies. Quick startTo run CompareLab from source:
Requires Node.js 20+ and VS Code 1.90+. Live tools require VS Code 1.95+, a tool-capable model, and a working tool provider in the same window. MCP support also depends on your VS Code version and server setup. Prefer a local install? See build and installation. The CompareLab: Compare Model Outputs command remains available in the Command Palette. Compare models
Read the reports and cited assessment side by side. The visible run summary shows how many pairs and reviews are planned; adjust them under Advanced settings. The default is three pairs with reversed-order reviews. For pasted responses, open each Paste / edit raw response editor, then use Other actions → Compare text only. No model call is needed. Generation-only runs and reviews of existing responses are also under Other actions. Test a prompt edit
By default, both prompts receive the same evidence without live tools. The review links the instruction change to quotes from both outputs. It can recommend keeping the original; a different answer is not automatically better. Try the GitHub demo for ready-to-use prompts, a triage agent, and a screenshot walkthrough. Keep and share resultsCompleted tests save to History, including partial runs. Use Save / export for JSON, Markdown, or a self-contained HTML report. Open a saved comparison without rerunning its models. Know the limits
Development
See CONTRIBUTING for the development workflow. ReleasesAfter publishing setup, each merge to Documentation
|