ContegoCode/Quanta-Code-Editor

Quanta AI — Local-first AI coding agent

3

stars

12

commits

Sep 4, 2026

updated

README

Ko-fi

Quanta AI Code Editor

A local-first, privacy-preserving AI code editor with a full agentic coding loop

License: MIT Platform Built with Rust Powered by Ollama

Watch Quanta AI in Action

Watch the video


What is Quanta?

Quanta is a local-first AI code editor built on VS Code OSS, powered by a high-performance Rust backend. It gives you a complete agentic coding experience — reading files, writing code, running terminals, applying LSP fixes, and managing git — all driven by local LLMs through Ollama. Cloud providers (OpenAI, Anthropic) are supported as optional backends, but Ollama is the primary engine. Your code never has to leave your machine.

Unlike cloud-first AI editors, Quanta is designed around local inference. The agent loop, tool execution, LSP integration, checkpoint system, and inline completions all happen locally through a Rust backend that communicates with the editor via JSON-RPC over TCP.


Table of Contents


Key Features

Core Agent

  • 30+ built-in tools — read/write/edit files, unified diffs, terminal, grep, glob, git operations, LSP actions, and more
  • ReAct agent loop — Think, Act, Observe, Feedback pattern with anti-loop guards and automatic retries
  • 3 agent modes — Code (full capability), Ask (read-only), Plan (read-only + plan writing)
  • Sub-agent spawning — Delegate scoped tasks to parallel sub-agents with up to 3 levels of nesting
  • Persistent todo lists — Track multi-step work across conversation turns

Local-First

  • Ollama integration — Auto-detects and lists all local models with metadata
  • Thinking/reasoning support — Configurable think levels (Low/Medium/High) for reasoning models
  • Inline code completion — FIM completions with LRU cache, debouncing, and in-flight cancellation
  • Local-first by design — Ollama is the primary backend; cloud providers (OpenAI, Anthropic) are optional. Your code never has to leave your machine.

Safety & Control

  • Shadow-git checkpoints — Automatic workspace snapshots before every agent write action
  • Edit review system — Accept/reject individual edits with diff previews
  • Stale-file detection — Prevents edits to files that changed since last read
  • Terminal safety guards — Blocks destructive commands (format, shutdown, force-delete)
  • Atomic writes — All file operations use temp-file-and-rename for crash safety

Developer Experience

  • Full LSP integration — Diagnostics, go-to-definition, find references, code actions, rename symbol
  • 20+ engineering skills — Built-in guidance for TDD, code review, security review, debugging, and more
  • MCP support — One-click enable for GitHub, Jina AI, Brave Search, Postgres, Puppeteer, and more
  • HuggingFace model browser — Search, download, and install GGUF models directly from the editor
  • Per-model configuration — Override temperature, think level, edit format, tool call mode, and more per model
  • Voice support — Speech-to-text via Whisper, text-to-speech via Piper

Feature Comparison

Note: Competitor data is based on publicly available documentation as of 2025. Features change frequently — verify with each tool's official docs before relying on this table for decisions. A dash (—) means we could not verify the feature's presence or absence and chose not to guess.

FeatureQuantaCursorClaude CodeZed AIAiderCline
Local LLM (Ollama)YesLimited ¹Yes ²YesYesYes
Ollama as primary backendYesNoNoNoNoNo
Built on VS CodeYesYesNo (CLI)No (Zed)No (CLI)Yes (extension)
Rust backendYesNoNoYesNoNo
Persistent shadow-git checkpointsYesNo ³NoNoNoYes
Edit review (accept/reject)YesYesNoNoNoYes
LSP diagnostics to modelYesYesNoYesNoYes
LSP code actions to modelYesNoNo
LSP rename symbol to modelYesNoNo
Inline completion (local)YesYesNoYesNoNo
Sub-agent spawningYesNo ⁴YesNoNoNo
Plan modeYesYesNoNoNoYes
MCP supportYesYesYesNoNoYes
HuggingFace model browserYesNoNoNoNoNo
Per-model config overridesYesNoNoPartialNoNo
Per-task model routingYesYesYesYesNoNo
Engineering skillsYesNoNoNoNoNo
Voice (STT + TTS)YesNoNoNoNoNo
Session export (MD/JSON/PDF)YesNoNoNoNoNo
Configurable thinking levelsYesNoNoNoNoNo
Tool call modes (parallel/sequential)YesNoNoNoNoNo
Tree-sitter fallback diagnosticsYesNoNoNoNoNo
Custom skills (project + global)YesNoNoNoNoNo
Todo list trackingYesNoYesNoNoYes

Footnotes:

  1. Cursor — Supports Ollama via OpenAI-compatible endpoint for chat and tab completion, but agent modes do not work with local LLMs as of May 2025 (community feature request open).
  2. Claude Code — Supports local Ollama models via Anthropic-compatible API endpoint (Ollama 0.14+). Cloud (Anthropic) is the default backend.
  3. Cursor — Has session-local checkpoints that do not persist across IDE restarts and do not use a shadow git repository. They capture file changes only, not terminal side effects.
  4. Cursor — Has parallel agents via git worktrees (Agents Window) and /best-of-n multi-model runs, but does not support spawning sub-agents from within an ongoing conversation.

Architecture

┌─────────────────────────────────────────────────────────────┐
│                     Quanta AI Editor                        │
│  ┌───────────────────────────────────────────────────────┐  │
│  │              VS Code OSS (Electron Frontend)          │  │
│  │  ┌───────────────┐  ┌─────────────┐  ┌──────────────┐ │  │
│  │  │  Chat Webview │  │   Editor    │  │  Inline Comp │ │  │
│  │  │  (TypeScript) │  │  (Monaco)   │  │  (TypeScript)│ │  │
│  │  └──────┬────────┘  └──────┬──────┘  └──────┬───────┘ │  │
│  │         │                  │                │         │  │
│  │  ┌──────┴──────────────────┴────────────────┴───────┐ │  │
│  │  │           Quanta Extension (TypeScript)          │ │  │
│  │  │     RPC Client · Diagnostics · LSP Bridge        │ │  │
│  │  └──────────────────────┬───────────────────────────┘ │  │
│  └─────────────────────────┼─────────────────────────────┘  │
│                            │ JSON-RPC 2.0 over TCP          │
│  ┌─────────────────────────┴─────────────────────────────┐  │
│  │              Quanta Backend (Rust)                    │  │
│  │  ┌─────────────┐  ┌──────────────┐  ┌──────────────────┐ │  
│  │  │ Agent Loop  │  │ Tool Registry│  │  Session Manager │ │ 
│  │  │ (ReAct)     │  │ (30+ tools)  │  │  (persistence)   │ │ 
│  │  └──────┬──────┘  └──────────────┘  └──────────────────┘ │ 
│  │  ┌──────┴──────────────────────────────────────────────┐ │ 
│  │  │  Checkpoint Service · MCP · LSP Reverse RPC         │ │ 
│  │  └─────────────────────────────────────────────────────┘ │ 
│  │  ┌─────────────┐  ┌─────────────┐  ┌──────────────┐   │  │
│  │  │   Ollama    │  │  OpenAI API │  │ Anthropic API│   │  │
│  │  │ (localhost) │  │  (optional) │  │  (optional)  │   │  │
│  │  └─────────────┘  └─────────────┘  └──────────────┘   │  │
│  └───────────────────────────────────────────────────────┘  │
└─────────────────────────────────────────────────────────────┘

Key design principles:

  • The extension is a thin UI layer — all agent logic lives in the Rust backend
  • Communication via newline-delimited JSON-RPC 2.0 over TCP (localhost only)
  • The backend manages tool execution, LSP reverse-RPC, checkpoints, sessions, and MCP
  • Cloud providers (OpenAI, Anthropic) are optional — Ollama is the primary inference engine

Quick Start

Prerequisites

  1. Ollama — Install and start the Ollama service

    # Install a model (example)
    ollama pull qwen2.5-coder:7b
    
  2. Git — Required for the checkpoint system

Run Quanta

  1. Download the latest release from the Releases page
  2. Extract the archive and run Quanta.exe
  3. Open a project folder (File > Open Folder)
  4. Open the chat panel — Click the Quanta icon in the activity bar
  5. Select a model — Click the model name in the chat header to pick from your Ollama models
  6. Start coding — Ask Quanta to build features, fix bugs, refactor code, or explain your codebase

Tip: Use @ in the chat input to mention files and inject them as context.


Installation

Download the latest release from the Releases page. Extract and run — no build tools required.

Option 2: Build from Source

Prerequisites


Agent Tools

Quanta's agent has access to 30+ tools organized into functional groups:

Filesystem & Terminal

ToolDescription
read_fileRead file contents with line numbers (10MB limit, outline for large files)
write_fileCreate or overwrite files atomically (auto-creates parent dirs)
edit_fileFind-and-replace edits with multi-strategy matching (exact, fuzzy, ellipsis)
apply_diffApply unified diffs with 7-strategy flexible patching
list_directoryList directory contents (dirs first, then files, alphabetical)
find_pathGlob-based file search (**/*.rs, respects .gitignore)
grepRegex content search across files (with context lines, pagination)
terminalExecute shell commands (safety guards, streaming output, sandbox support)
create_directoryCreate directories recursively
delete_pathDelete files or directories (blocked in Code mode for safety)
copy_pathCopy files or directories recursively
move_pathMove or rename files (atomic when possible)

LSP Integration

ToolDescription
diagnosticsGet LSP errors/warnings with freshness tracking and tree-sitter fallback
go_to_definitionJump to symbol definition via reverse RPC to VS Code
find_referencesFind all references to a symbol across the project
get_code_actionsGet available quick fixes and refactorings
apply_code_actionApply a code action with edit tracking and staleness checks
rename_symbolRename a symbol across the entire workspace

Git

ToolDescription
git_statusShow working tree status with branch info
git_diffShow staged or unstaged changes
git_commitStage and commit changes (auto-creates .gitignore if missing)
git_branchCreate, switch, or list branches
git_logShow recent commit history
git_stashStash, pop, or list stashes

Agent Management

ToolDescription
spawn_agentSpawn synchronous or async sub-agents (up to 3 levels deep)
create_threadCreate independent background conversation threads
check_subagentCheck status and retrieve results from async sub-agents
list_agents_and_modelsList available agents and models

Network & Context

ToolDescription
fetchHTTP GET with HTML-to-Markdown conversion
image_searchSearch the web for images (DuckDuckGo, no API key)
skillLoad engineering skills from project, global, or built-in sources
tool_searchOn-demand deferred loading of MCP tools
write_plan_fileWrite implementation plans in Plan mode
undo_editUndo the most recent accepted edit to a file
todo_listPersistent task tracking across conversation turns

Agent Modes

ModeCapabilitiesUse Case
CodeFull toolset (except delete_path)Building features, fixing bugs, refactoring
AskRead-only (no file writes, no terminal)Understanding code, asking questions
PlanRead-only + write_plan_filePlanning before implementing

Switch modes using the mode button in the chat header.


LSP & Diagnostics

Quanta provides deep LSP integration that feeds real-time diagnostics to the model:

  • Push-based diagnostics — VS Code sends diagnostics to the backend cache as they change
  • Per-file version tracking — Ensures diagnostics are fresh and correctly scoped
  • Deduplication — Merges diagnostics from multiple sources (LSP, tree-sitter)
  • Auto-refresh — Diagnostics are re-fetched after agent file edits
  • Tree-sitter fallback — Syntax-based diagnostics for languages without an LSP
  • Language-specific configuration — Auto-configures LSP servers for 20+ languages

Supported LSP features:

  • Diagnostics (errors, warnings, info, hints)
  • Go to definition
  • Find references
  • Code actions (quick fixes, refactorings)
  • Apply code action (with edit tracking)
  • Rename symbol (workspace-wide)

Auto-configured languages: C#, TypeScript/JavaScript, Rust, Python, Go, Java, Kotlin, Dart, Ruby, F#, Erlang, Haskell, D, R, LaTeX, and more.


Checkpoint System

Quanta creates automatic workspace-level snapshots using a shadow git repository — completely separate from your project's own git repo.

  • Automatic — A checkpoint is saved before every agent write action
  • Works without git — Your project doesn't need to be a git repo
  • Workspace-level — Covers edits, deletes, moves, and terminal-generated changes
  • Browseable — View checkpoint timeline with messages and timestamps
  • Restorable — Revert the entire workspace to any checkpoint
  • Diffable — Compare any checkpoint against current state or another checkpoint
  • Deletable — Select and delete individual checkpoints or all at once
  • Safe — Checkpoints are stored in ~/.quanta/checkpoints/ and never touch your project

Edit History & Undo/Redo

Every agent edit is tracked in a per-edit history with full undo/redo support:

  • Diff preview — See exactly what changed before accepting
  • Accept/reject individually — Review each edit one at a time
  • Accept/reject all — Bulk operations for multi-file changes
  • Undo — Revert specific edits after they've been applied
  • Redo — Re-apply undone edits
  • Full diff view — Open a complete diff in a separate editor panel
  • Edit history panel — Timeline of all edits in the current session

MCP Integration

Quanta supports the Model Context Protocol for extending the agent with external tools:

Built-in MCP Servers (One-Click Enable)

ServerToolsDescription
Jina AI20Web reading, search, screenshots, academic search (arXiv/SSRN), image search, reranking, classification, PDF extraction. Requires Jina API key.
GitHub7Search repositories, read files, create issues, list issues, create PRs, create branches, push files. Requires GitHub token.
Filesystem6Read, write, list, create, move, and search files on the local filesystem. No API key required.
Fetch1Fetch web pages and convert HTML to markdown. Requires uvx (Python). No API key required.
Git5Git status, diff, log, commit, and branch management. Requires uvx (Python). No API key required.
Sequential-thinking1Structured step-by-step reasoning with branching, revision, and dynamic thought count. Recommended for Plan mode.
Memory4Persistent knowledge graph — create entities, relations, search nodes, read graph.
HuggingFace4Search models, get model info, list model files, download models. Requires HF token.
Serena7Semantic code analysis via LSP — find symbols, references, get details, replace symbol bodies, insert code before/after. Requires uvx.
Playwright6Browser automation — navigate, click, fill, screenshot, evaluate JS, select options. Official Microsoft server.
Arxiv5Search arXiv papers (free-text, author, category), get full metadata, list subject categories.
Augments7Coding research — API docs, code examples, version comparisons, migration guides, error diagnosis, dependency scanning. Optional GitHub token.
PlantUML4Generate UML diagrams (sequence, class, activity, and more) from text descriptions.
Context72Up-to-date library and framework documentation fetched live from the source.

MCP Features

  • On-demand tool loading — MCP tools are deferred until needed, reducing context overhead by ~85%
  • Custom server configuration — Add any MCP-compatible server
  • API key management — Securely store credentials for MCP servers
  • Server status monitoring — See connection status at a glance
  • Tool search — The agent can search for and load MCP tools by keyword

Model Management

Per-Task Model Routing

Route different models to different tasks for optimal performance:

TaskConfig SettingDescription
Main chatquanta.defaultModelPrimary model for agent conversations
Sub-agentsquanta.subagentModelModel for spawned sub-agents
Summarizationquanta.summarizationModelModel for auto-generating conversation titles
Inline completionquanta.inlineCompletion.modelCoder model for FIM completions

Per-Model Configuration Overrides

Fine-tune each model individually via the Local Model Override Settings panel (~/.quanta/model_overrides.json):

SettingOptionsDescription
Think levelLow / Medium / HighReasoning depth for thinking models
Temperature0.0–2.0Sampling temperature
Top-p0.0–1.0Nucleus sampling threshold
Top-k1–100Top-k sampling
Num predict multiplier1x–10xScale max output tokens
Tool call modeParallel / SequentialHow the model calls tools
Edit formatWholeFile / UnifiedDiff / FindReplacePreferred file editing strategy
Context windowCustomOverride the model's context length
Prefer write_fileOn / OffPrefer whole-file writes (with fallback to edit/diff)
Preserve thinkingOn / OffKeep thinking content during context compaction
Max empty retries1–10Retries for empty completions (thinking models)
Max unfinished retries1–10Retries when LSP errors remain

Override priority: User override > Built-in profile > Baseline defaults


HuggingFace Integration

Browse and install models directly from HuggingFace without leaving the editor:

  • Search — Find GGUF models by name, filter by pipeline tag and size
  • Sort — By downloads, likes, or relevance
  • Download — GGUF files or safetensors directories with progress tracking
  • Auto-register — Downloaded models are automatically registered with Ollama
  • Hardware specs — Detects CPU, RAM, GPU VRAM to help you pick the right model
  • Cleanup — Tracks and removes orphaned blobs from cancelled downloads
  • Model management — View and delete locally installed models

Engineering Skills

Quanta includes 20+ built-in engineering skills that provide structured guidance for common development tasks:

User-Invoked Skills

SkillDescription
helpGet help with Quanta features and commands
implementImplementation guidance for features
initInitialize a new project with Quanta
setup-projectConfigure project with issue tracker
wayfinderNavigate and understand a codebase
triageTriage and prioritize issues
to-specConvert requirements to specifications
to-ticketsConvert specifications to tickets
grill-with-docsValidate code against documentation
improve-codebase-architectureSystematic architecture improvement

Model-Invoked Skills

SkillDescription
tddTest-driven development with mocking
code-reviewStructured code review
security-reviewSecurity vulnerability review
diagnosing-bugsSystematic bug diagnosis
deep-researchDeep research methodology
researchGeneral research approach
prototypePrototyping (logic + UI)
domain-modelingDomain modeling with ADRs
codebase-designArchitecture design (Design-It-Twice)
simplifyCode simplification
verifyVerification strategies
resolving-merge-conflictsMerge conflict resolution
webapp-testingWeb application testing
grillingCode quality grilling

Custom Skills

Create your own skills in:

  • Project-local: .agents/skills/{name}/SKILL.md
  • Global: ~/.agents/skills/{name}/SKILL.md

Voice & TTS

Speech-to-Text

  • integration (tiny.en, base.en, small.en models)
  • Configurable language
  • Dictation toggle: Ctrl+Shift+M
  • Audio buffer processing with temporary file handling

Text-to-Speech

  • integration with voice model downloads from HuggingFace
  • Configurable voice (e.g., en_US-lessac-medium)
  • Speed control
  • Read aloud toggle: Ctrl+Shift+L
  • Markdown cleaning for natural speech
  • Voice listing (installed and available)

Session Management

Conversations

  • Create, list, load, and delete sessions
  • Auto-generated conversation titles
  • Search sessions by content
  • Per-session and cumulative token usage tracking
  • Session persistence to disk
  • Cascade delete for sub-agent sessions

Export & Import

  • Export to Markdown, JSON, or PDF
  • Import from JSON or Markdown
  • Exports include thinking content, tool calls, and timestamps

Plan Mode

Plan before you build:

  1. Switch to Plan mode in the chat header
  2. Ask Quanta to create an implementation plan
  3. Review the rendered markdown plan in the plan panel
  4. Click Implement Plan to switch to Code mode and execute
  5. Edit the plan at any time via Edit Plan

Plan files are saved to .quanta/plans/ and persist across sessions.


Configuration

Server

SettingDefaultDescription
quanta.serverHost127.0.0.1Backend server host
quanta.serverPort8080Backend server port
quanta.serverPath""Custom path to backend binary
quanta.autoStartServertrueAuto-start backend on activation

Models

SettingDefaultDescription
quanta.defaultModel""Default model (empty = first available)
quanta.subagentModel""Model for sub-agents
quanta.summarizationModel""Model for title generation

Inline Completion

SettingDefaultDescription
quanta.inlineCompletion.enabledtrueEnable inline completions
quanta.inlineCompletion.model""Override completion model
quanta.inlineCompletion.debounceMs300Debounce delay
quanta.inlineCompletion.maxContextLines100Context lines to send
quanta.inlineCompletion.minPrefixChars3Minimum prefix to trigger

Editing

SettingDefaultDescription
quanta.autoApproveEditsfalseAuto-approve without diff preview
quanta.terminalSandboxfalseTerminal sandbox mode

Diagnostics

SettingDefaultDescription
quanta.treeSitterFallbacktrueTree-sitter syntax linting fallback
quanta.diagnosticsWaitMs2000LSP diagnostic wait time

Voice

SettingDefaultDescription
quanta.speechToText.enabledfalseEnable speech-to-text
quanta.speechToText.languageenLanguage code
quanta.textToSpeech.enabledfalseEnable text-to-speech
quanta.textToSpeech.speed1.0Speech speed

License

MIT License — see LICENSE for details.

Copyright (c) 2026 Quanta AI


Quanta AI — Local-first AI coding, powered by Rust and Ollama.

Report Bug · Request Feature · Releases

Contributors

ContegoCode

12 commits

ContegoCode/Quanta-Code-Editor

Quanta AI — Local-first AI coding agent

3

stars

12

commits

Sep 4, 2026

updated

README

Ko-fi

Quanta AI Code Editor

A local-first, privacy-preserving AI code editor with a full agentic coding loop

License: MIT Platform Built with Rust Powered by Ollama

Watch Quanta AI in Action

Watch the video


What is Quanta?

Quanta is a local-first AI code editor built on VS Code OSS, powered by a high-performance Rust backend. It gives you a complete agentic coding experience — reading files, writing code, running terminals, applying LSP fixes, and managing git — all driven by local LLMs through Ollama. Cloud providers (OpenAI, Anthropic) are supported as optional backends, but Ollama is the primary engine. Your code never has to leave your machine.

Unlike cloud-first AI editors, Quanta is designed around local inference. The agent loop, tool execution, LSP integration, checkpoint system, and inline completions all happen locally through a Rust backend that communicates with the editor via JSON-RPC over TCP.


Table of Contents


Key Features

Core Agent

  • 30+ built-in tools — read/write/edit files, unified diffs, terminal, grep, glob, git operations, LSP actions, and more
  • ReAct agent loop — Think, Act, Observe, Feedback pattern with anti-loop guards and automatic retries
  • 3 agent modes — Code (full capability), Ask (read-only), Plan (read-only + plan writing)
  • Sub-agent spawning — Delegate scoped tasks to parallel sub-agents with up to 3 levels of nesting
  • Persistent todo lists — Track multi-step work across conversation turns

Local-First

  • Ollama integration — Auto-detects and lists all local models with metadata
  • Thinking/reasoning support — Configurable think levels (Low/Medium/High) for reasoning models
  • Inline code completion — FIM completions with LRU cache, debouncing, and in-flight cancellation
  • Local-first by design — Ollama is the primary backend; cloud providers (OpenAI, Anthropic) are optional. Your code never has to leave your machine.

Safety & Control

  • Shadow-git checkpoints — Automatic workspace snapshots before every agent write action
  • Edit review system — Accept/reject individual edits with diff previews
  • Stale-file detection — Prevents edits to files that changed since last read
  • Terminal safety guards — Blocks destructive commands (format, shutdown, force-delete)
  • Atomic writes — All file operations use temp-file-and-rename for crash safety

Developer Experience

  • Full LSP integration — Diagnostics, go-to-definition, find references, code actions, rename symbol
  • 20+ engineering skills — Built-in guidance for TDD, code review, security review, debugging, and more
  • MCP support — One-click enable for GitHub, Jina AI, Brave Search, Postgres, Puppeteer, and more
  • HuggingFace model browser — Search, download, and install GGUF models directly from the editor
  • Per-model configuration — Override temperature, think level, edit format, tool call mode, and more per model
  • Voice support — Speech-to-text via Whisper, text-to-speech via Piper

Feature Comparison

Note: Competitor data is based on publicly available documentation as of 2025. Features change frequently — verify with each tool's official docs before relying on this table for decisions. A dash (—) means we could not verify the feature's presence or absence and chose not to guess.

FeatureQuantaCursorClaude CodeZed AIAiderCline
Local LLM (Ollama)YesLimited ¹Yes ²YesYesYes
Ollama as primary backendYesNoNoNoNoNo
Built on VS CodeYesYesNo (CLI)No (Zed)No (CLI)Yes (extension)
Rust backendYesNoNoYesNoNo
Persistent shadow-git checkpointsYesNo ³NoNoNoYes
Edit review (accept/reject)YesYesNoNoNoYes
LSP diagnostics to modelYesYesNoYesNoYes
LSP code actions to modelYesNoNo
LSP rename symbol to modelYesNoNo
Inline completion (local)YesYesNoYesNoNo
Sub-agent spawningYesNo ⁴YesNoNoNo
Plan modeYesYesNoNoNoYes
MCP supportYesYesYesNoNoYes
HuggingFace model browserYesNoNoNoNoNo
Per-model config overridesYesNoNoPartialNoNo
Per-task model routingYesYesYesYesNoNo
Engineering skillsYesNoNoNoNoNo
Voice (STT + TTS)YesNoNoNoNoNo
Session export (MD/JSON/PDF)YesNoNoNoNoNo
Configurable thinking levelsYesNoNoNoNoNo
Tool call modes (parallel/sequential)YesNoNoNoNoNo
Tree-sitter fallback diagnosticsYesNoNoNoNoNo
Custom skills (project + global)YesNoNoNoNoNo
Todo list trackingYesNoYesNoNoYes

Footnotes:

  1. Cursor — Supports Ollama via OpenAI-compatible endpoint for chat and tab completion, but agent modes do not work with local LLMs as of May 2025 (community feature request open).
  2. Claude Code — Supports local Ollama models via Anthropic-compatible API endpoint (Ollama 0.14+). Cloud (Anthropic) is the default backend.
  3. Cursor — Has session-local checkpoints that do not persist across IDE restarts and do not use a shadow git repository. They capture file changes only, not terminal side effects.
  4. Cursor — Has parallel agents via git worktrees (Agents Window) and /best-of-n multi-model runs, but does not support spawning sub-agents from within an ongoing conversation.

Architecture

┌─────────────────────────────────────────────────────────────┐
│                     Quanta AI Editor                        │
│  ┌───────────────────────────────────────────────────────┐  │
│  │              VS Code OSS (Electron Frontend)          │  │
│  │  ┌───────────────┐  ┌─────────────┐  ┌──────────────┐ │  │
│  │  │  Chat Webview │  │   Editor    │  │  Inline Comp │ │  │
│  │  │  (TypeScript) │  │  (Monaco)   │  │  (TypeScript)│ │  │
│  │  └──────┬────────┘  └──────┬──────┘  └──────┬───────┘ │  │
│  │         │                  │                │         │  │
│  │  ┌──────┴──────────────────┴────────────────┴───────┐ │  │
│  │  │           Quanta Extension (TypeScript)          │ │  │
│  │  │     RPC Client · Diagnostics · LSP Bridge        │ │  │
│  │  └──────────────────────┬───────────────────────────┘ │  │
│  └─────────────────────────┼─────────────────────────────┘  │
│                            │ JSON-RPC 2.0 over TCP          │
│  ┌─────────────────────────┴─────────────────────────────┐  │
│  │              Quanta Backend (Rust)                    │  │
│  │  ┌─────────────┐  ┌──────────────┐  ┌──────────────────┐ │  
│  │  │ Agent Loop  │  │ Tool Registry│  │  Session Manager │ │ 
│  │  │ (ReAct)     │  │ (30+ tools)  │  │  (persistence)   │ │ 
│  │  └──────┬──────┘  └──────────────┘  └──────────────────┘ │ 
│  │  ┌──────┴──────────────────────────────────────────────┐ │ 
│  │  │  Checkpoint Service · MCP · LSP Reverse RPC         │ │ 
│  │  └─────────────────────────────────────────────────────┘ │ 
│  │  ┌─────────────┐  ┌─────────────┐  ┌──────────────┐   │  │
│  │  │   Ollama    │  │  OpenAI API │  │ Anthropic API│   │  │
│  │  │ (localhost) │  │  (optional) │  │  (optional)  │   │  │
│  │  └─────────────┘  └─────────────┘  └──────────────┘   │  │
│  └───────────────────────────────────────────────────────┘  │
└─────────────────────────────────────────────────────────────┘

Key design principles:

  • The extension is a thin UI layer — all agent logic lives in the Rust backend
  • Communication via newline-delimited JSON-RPC 2.0 over TCP (localhost only)
  • The backend manages tool execution, LSP reverse-RPC, checkpoints, sessions, and MCP
  • Cloud providers (OpenAI, Anthropic) are optional — Ollama is the primary inference engine

Quick Start

Prerequisites

  1. Ollama — Install and start the Ollama service

    # Install a model (example)
    ollama pull qwen2.5-coder:7b
    
  2. Git — Required for the checkpoint system

Run Quanta

  1. Download the latest release from the Releases page
  2. Extract the archive and run Quanta.exe
  3. Open a project folder (File > Open Folder)
  4. Open the chat panel — Click the Quanta icon in the activity bar
  5. Select a model — Click the model name in the chat header to pick from your Ollama models
  6. Start coding — Ask Quanta to build features, fix bugs, refactor code, or explain your codebase

Tip: Use @ in the chat input to mention files and inject them as context.


Installation

Download the latest release from the Releases page. Extract and run — no build tools required.

Option 2: Build from Source

Prerequisites


Agent Tools

Quanta's agent has access to 30+ tools organized into functional groups:

Filesystem & Terminal

ToolDescription
read_fileRead file contents with line numbers (10MB limit, outline for large files)
write_fileCreate or overwrite files atomically (auto-creates parent dirs)
edit_fileFind-and-replace edits with multi-strategy matching (exact, fuzzy, ellipsis)
apply_diffApply unified diffs with 7-strategy flexible patching
list_directoryList directory contents (dirs first, then files, alphabetical)
find_pathGlob-based file search (**/*.rs, respects .gitignore)
grepRegex content search across files (with context lines, pagination)
terminalExecute shell commands (safety guards, streaming output, sandbox support)
create_directoryCreate directories recursively
delete_pathDelete files or directories (blocked in Code mode for safety)
copy_pathCopy files or directories recursively
move_pathMove or rename files (atomic when possible)

LSP Integration

ToolDescription
diagnosticsGet LSP errors/warnings with freshness tracking and tree-sitter fallback
go_to_definitionJump to symbol definition via reverse RPC to VS Code
find_referencesFind all references to a symbol across the project
get_code_actionsGet available quick fixes and refactorings
apply_code_actionApply a code action with edit tracking and staleness checks
rename_symbolRename a symbol across the entire workspace

Git

ToolDescription
git_statusShow working tree status with branch info
git_diffShow staged or unstaged changes
git_commitStage and commit changes (auto-creates .gitignore if missing)
git_branchCreate, switch, or list branches
git_logShow recent commit history
git_stashStash, pop, or list stashes

Agent Management

ToolDescription
spawn_agentSpawn synchronous or async sub-agents (up to 3 levels deep)
create_threadCreate independent background conversation threads
check_subagentCheck status and retrieve results from async sub-agents
list_agents_and_modelsList available agents and models

Network & Context

ToolDescription
fetchHTTP GET with HTML-to-Markdown conversion
image_searchSearch the web for images (DuckDuckGo, no API key)
skillLoad engineering skills from project, global, or built-in sources
tool_searchOn-demand deferred loading of MCP tools
write_plan_fileWrite implementation plans in Plan mode
undo_editUndo the most recent accepted edit to a file
todo_listPersistent task tracking across conversation turns

Agent Modes

ModeCapabilitiesUse Case
CodeFull toolset (except delete_path)Building features, fixing bugs, refactoring
AskRead-only (no file writes, no terminal)Understanding code, asking questions
PlanRead-only + write_plan_filePlanning before implementing

Switch modes using the mode button in the chat header.


LSP & Diagnostics

Quanta provides deep LSP integration that feeds real-time diagnostics to the model:

  • Push-based diagnostics — VS Code sends diagnostics to the backend cache as they change
  • Per-file version tracking — Ensures diagnostics are fresh and correctly scoped
  • Deduplication — Merges diagnostics from multiple sources (LSP, tree-sitter)
  • Auto-refresh — Diagnostics are re-fetched after agent file edits
  • Tree-sitter fallback — Syntax-based diagnostics for languages without an LSP
  • Language-specific configuration — Auto-configures LSP servers for 20+ languages

Supported LSP features:

  • Diagnostics (errors, warnings, info, hints)
  • Go to definition
  • Find references
  • Code actions (quick fixes, refactorings)
  • Apply code action (with edit tracking)
  • Rename symbol (workspace-wide)

Auto-configured languages: C#, TypeScript/JavaScript, Rust, Python, Go, Java, Kotlin, Dart, Ruby, F#, Erlang, Haskell, D, R, LaTeX, and more.


Checkpoint System

Quanta creates automatic workspace-level snapshots using a shadow git repository — completely separate from your project's own git repo.

  • Automatic — A checkpoint is saved before every agent write action
  • Works without git — Your project doesn't need to be a git repo
  • Workspace-level — Covers edits, deletes, moves, and terminal-generated changes
  • Browseable — View checkpoint timeline with messages and timestamps
  • Restorable — Revert the entire workspace to any checkpoint
  • Diffable — Compare any checkpoint against current state or another checkpoint
  • Deletable — Select and delete individual checkpoints or all at once
  • Safe — Checkpoints are stored in ~/.quanta/checkpoints/ and never touch your project

Edit History & Undo/Redo

Every agent edit is tracked in a per-edit history with full undo/redo support:

  • Diff preview — See exactly what changed before accepting
  • Accept/reject individually — Review each edit one at a time
  • Accept/reject all — Bulk operations for multi-file changes
  • Undo — Revert specific edits after they've been applied
  • Redo — Re-apply undone edits
  • Full diff view — Open a complete diff in a separate editor panel
  • Edit history panel — Timeline of all edits in the current session

MCP Integration

Quanta supports the Model Context Protocol for extending the agent with external tools:

Built-in MCP Servers (One-Click Enable)

ServerToolsDescription
Jina AI20Web reading, search, screenshots, academic search (arXiv/SSRN), image search, reranking, classification, PDF extraction. Requires Jina API key.
GitHub7Search repositories, read files, create issues, list issues, create PRs, create branches, push files. Requires GitHub token.
Filesystem6Read, write, list, create, move, and search files on the local filesystem. No API key required.
Fetch1Fetch web pages and convert HTML to markdown. Requires uvx (Python). No API key required.
Git5Git status, diff, log, commit, and branch management. Requires uvx (Python). No API key required.
Sequential-thinking1Structured step-by-step reasoning with branching, revision, and dynamic thought count. Recommended for Plan mode.
Memory4Persistent knowledge graph — create entities, relations, search nodes, read graph.
HuggingFace4Search models, get model info, list model files, download models. Requires HF token.
Serena7Semantic code analysis via LSP — find symbols, references, get details, replace symbol bodies, insert code before/after. Requires uvx.
Playwright6Browser automation — navigate, click, fill, screenshot, evaluate JS, select options. Official Microsoft server.
Arxiv5Search arXiv papers (free-text, author, category), get full metadata, list subject categories.
Augments7Coding research — API docs, code examples, version comparisons, migration guides, error diagnosis, dependency scanning. Optional GitHub token.
PlantUML4Generate UML diagrams (sequence, class, activity, and more) from text descriptions.
Context72Up-to-date library and framework documentation fetched live from the source.

MCP Features

  • On-demand tool loading — MCP tools are deferred until needed, reducing context overhead by ~85%
  • Custom server configuration — Add any MCP-compatible server
  • API key management — Securely store credentials for MCP servers
  • Server status monitoring — See connection status at a glance
  • Tool search — The agent can search for and load MCP tools by keyword

Model Management

Per-Task Model Routing

Route different models to different tasks for optimal performance:

TaskConfig SettingDescription
Main chatquanta.defaultModelPrimary model for agent conversations
Sub-agentsquanta.subagentModelModel for spawned sub-agents
Summarizationquanta.summarizationModelModel for auto-generating conversation titles
Inline completionquanta.inlineCompletion.modelCoder model for FIM completions

Per-Model Configuration Overrides

Fine-tune each model individually via the Local Model Override Settings panel (~/.quanta/model_overrides.json):

SettingOptionsDescription
Think levelLow / Medium / HighReasoning depth for thinking models
Temperature0.0–2.0Sampling temperature
Top-p0.0–1.0Nucleus sampling threshold
Top-k1–100Top-k sampling
Num predict multiplier1x–10xScale max output tokens
Tool call modeParallel / SequentialHow the model calls tools
Edit formatWholeFile / UnifiedDiff / FindReplacePreferred file editing strategy
Context windowCustomOverride the model's context length
Prefer write_fileOn / OffPrefer whole-file writes (with fallback to edit/diff)
Preserve thinkingOn / OffKeep thinking content during context compaction
Max empty retries1–10Retries for empty completions (thinking models)
Max unfinished retries1–10Retries when LSP errors remain

Override priority: User override > Built-in profile > Baseline defaults


HuggingFace Integration

Browse and install models directly from HuggingFace without leaving the editor:

  • Search — Find GGUF models by name, filter by pipeline tag and size
  • Sort — By downloads, likes, or relevance
  • Download — GGUF files or safetensors directories with progress tracking
  • Auto-register — Downloaded models are automatically registered with Ollama
  • Hardware specs — Detects CPU, RAM, GPU VRAM to help you pick the right model
  • Cleanup — Tracks and removes orphaned blobs from cancelled downloads
  • Model management — View and delete locally installed models

Engineering Skills

Quanta includes 20+ built-in engineering skills that provide structured guidance for common development tasks:

User-Invoked Skills

SkillDescription
helpGet help with Quanta features and commands
implementImplementation guidance for features
initInitialize a new project with Quanta
setup-projectConfigure project with issue tracker
wayfinderNavigate and understand a codebase
triageTriage and prioritize issues
to-specConvert requirements to specifications
to-ticketsConvert specifications to tickets
grill-with-docsValidate code against documentation
improve-codebase-architectureSystematic architecture improvement

Model-Invoked Skills

SkillDescription
tddTest-driven development with mocking
code-reviewStructured code review
security-reviewSecurity vulnerability review
diagnosing-bugsSystematic bug diagnosis
deep-researchDeep research methodology
researchGeneral research approach
prototypePrototyping (logic + UI)
domain-modelingDomain modeling with ADRs
codebase-designArchitecture design (Design-It-Twice)
simplifyCode simplification
verifyVerification strategies
resolving-merge-conflictsMerge conflict resolution
webapp-testingWeb application testing
grillingCode quality grilling

Custom Skills

Create your own skills in:

  • Project-local: .agents/skills/{name}/SKILL.md
  • Global: ~/.agents/skills/{name}/SKILL.md

Voice & TTS

Speech-to-Text

  • integration (tiny.en, base.en, small.en models)
  • Configurable language
  • Dictation toggle: Ctrl+Shift+M
  • Audio buffer processing with temporary file handling

Text-to-Speech

  • integration with voice model downloads from HuggingFace
  • Configurable voice (e.g., en_US-lessac-medium)
  • Speed control
  • Read aloud toggle: Ctrl+Shift+L
  • Markdown cleaning for natural speech
  • Voice listing (installed and available)

Session Management

Conversations

  • Create, list, load, and delete sessions
  • Auto-generated conversation titles
  • Search sessions by content
  • Per-session and cumulative token usage tracking
  • Session persistence to disk
  • Cascade delete for sub-agent sessions

Export & Import

  • Export to Markdown, JSON, or PDF
  • Import from JSON or Markdown
  • Exports include thinking content, tool calls, and timestamps

Plan Mode

Plan before you build:

  1. Switch to Plan mode in the chat header
  2. Ask Quanta to create an implementation plan
  3. Review the rendered markdown plan in the plan panel
  4. Click Implement Plan to switch to Code mode and execute
  5. Edit the plan at any time via Edit Plan

Plan files are saved to .quanta/plans/ and persist across sessions.


Configuration

Server

SettingDefaultDescription
quanta.serverHost127.0.0.1Backend server host
quanta.serverPort8080Backend server port
quanta.serverPath""Custom path to backend binary
quanta.autoStartServertrueAuto-start backend on activation

Models

SettingDefaultDescription
quanta.defaultModel""Default model (empty = first available)
quanta.subagentModel""Model for sub-agents
quanta.summarizationModel""Model for title generation

Inline Completion

SettingDefaultDescription
quanta.inlineCompletion.enabledtrueEnable inline completions
quanta.inlineCompletion.model""Override completion model
quanta.inlineCompletion.debounceMs300Debounce delay
quanta.inlineCompletion.maxContextLines100Context lines to send
quanta.inlineCompletion.minPrefixChars3Minimum prefix to trigger

Editing

SettingDefaultDescription
quanta.autoApproveEditsfalseAuto-approve without diff preview
quanta.terminalSandboxfalseTerminal sandbox mode

Diagnostics

SettingDefaultDescription
quanta.treeSitterFallbacktrueTree-sitter syntax linting fallback
quanta.diagnosticsWaitMs2000LSP diagnostic wait time

Voice

SettingDefaultDescription
quanta.speechToText.enabledfalseEnable speech-to-text
quanta.speechToText.languageenLanguage code
quanta.textToSpeech.enabledfalseEnable text-to-speech
quanta.textToSpeech.speed1.0Speech speed

License

MIT License — see LICENSE for details.

Copyright (c) 2026 Quanta AI


Quanta AI — Local-first AI coding, powered by Rust and Ollama.

Report Bug · Request Feature · Releases

See what people are saying

Contributors

ContegoCode

12 commits