Continue.dev — AI Coding Tool Guide
Open-source AI code assistant. Local model support, custom slash commands, configuration, and integration with Ollama, LM Studio, and cloud APIs.
Continue.dev
Continue.dev is the leading open-source AI code assistant. It's a VS Code/JetBrains extension that connects to any model — local (Ollama, LM Studio) or cloud (Anthropic, OpenAI, Gemini).
What Makes Continue.dev Different
- Fully open-source — MIT license, inspect/modify everything
- Local models — Use Ollama or LM Studio for offline coding
- Custom slash commands — Create project-specific AI workflows
- Model flexibility — Switch between local and cloud models in the same session
Getting Started
Install from continue.dev, then configure ~/.continue/config.json:
{
"models": [
{
"title": "Claude Sonnet 4",
"provider": "anthropic",
"model": "claude-sonnet-4-20250514",
"apiKey": "${ANTHROPIC_API_KEY}"
},
{
"title": "Llama 4 (Local)",
"provider": "ollama",
"model": "llama4"
}
],
"tabAutocompleteModel": {
"title": "Starcoder2",
"provider": "ollama",
"model": "starcoder2:3b"
}
}
Custom Slash Commands
~/.continue/config.ts:
export function modifyConfig(config: Config): Config {
config.slashCommands = [
{
name: "review",
description: "Code review with project standards",
prompt: `Review this code against our standards:
- TypeScript strict mode, no any types
- Server components unless interactivity needed
- Error boundaries on route segments
Return a list of violations and suggested fixes.`
},
{
name: "explain",
description: "Explain selected code",
prompt: "Explain this code at a senior engineer level. Cover: architecture decisions, patterns used, potential issues."
}
];
return config;
}
Related Pages
- Tool Comparison — Continue.dev vs other AI coding tools
- Ollama Deep Researcher (MCP) — Local model MCP integration
Related Articles
Cursor — Configuration & Rules
Configure Cursor IDE for optimal AI coding. .cursorrules setup, Cursor settings, model selection, .cursor/ directory conventions, and integration with cursor rules templates.
AI Coding Tools — Prompt Engineering & Configuration
Complete guides for Claude Code, OpenCode, Gemini CLI, Cursor, GitHub Copilot, and more. Tool-specific prompt patterns, configuration files, and setup guides for every major AI coding assistant.
Codex CLI — AI Coding Tool Guide
OpenAI's open-source CLI coding agent. Reasoning strategies, task decomposition, sandboxed execution, and configuration for multi-model workflows.