VS Code Extension

The official Snipara extension for Visual Studio Code brings AI-optimized documentation context, agent memory, multi-agent swarms, and team collaboration directly into your editor — with native GitHub Copilot integration.

Standalone Extension

The VS Code extension connects directly to the Snipara API — no MCP server configuration or Python installation needed. Just install, enter your API key, and start querying.

What You Get

43 Commands

Full coverage of all Snipara MCP tools plus RLM Runtime — query, search, memory, swarms, documents, runtime execution, and more.

Ask QuestionRememberExecute in DockerCreate Swarm+39 more

4 Sidebar Views

Dedicated activity bar icon with Results, Session Context, Memories, and Swarm Dashboard panels.

  • Results (TreeView)
  • Session Context
  • Memories (TreeView)
  • Swarm Dashboard (WebView)

Copilot Integration

15 Language Model Tools for GitHub Copilot agent mode, plus MCP Server Definition Provider.

  • Query Documentation
  • Store & Recall Memory
  • Execute Python (Docker/Local)
  • Team Standards & Multi-Query

Installation

Option A: VS Code Marketplace (Recommended)

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "Snipara"
  4. Click Install

Option B: OpenVSX Registry

For VSCodium, Gitpod, Theia, and other open-source VS Code alternatives:

  1. Open the Extensions panel and search for "Snipara"
  2. Or install from open-vsx.org

Option C: From VSIX

Download the latest .vsix from GitHub Releases, then:

code --install-extension snipara-1.2.0.vsix

Configuration

Quick Setup

  1. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Run "Snipara: Configure"
  3. Enter your API key from the Snipara Dashboard
  4. Enter your project ID (or slug)

Or configure directly in settings.json:

{
  "snipara.apiKey": "rlm_your_api_key",
  "snipara.projectId": "your-project-slug",
  "snipara.serverUrl": "https://api.snipara.com",
  "snipara.maxTokens": 4000,
  "snipara.searchMode": "hybrid"
}
snipara.apiKey

API key from Snipara Dashboard (default: -)

snipara.projectId

Project ID or slug (default: -)

snipara.serverUrl

Snipara API endpoint (default: https://api.snipara.com)

snipara.maxTokens

Max tokens for context queries (default: 4000)

snipara.searchMode

keyword, semantic, or hybrid (default: hybrid)

snipara.runtimeEnabled

Enable RLM Runtime integration (default: true)

Commands Reference

All commands are available from the Command Palette under the Snipara category.

Documentation & Search

Snipara: Ask Question

Query docs with semantic search (Cmd+Shift+R)

Snipara: Search Documentation

Regex pattern search

Snipara: Multi-Query

Execute multiple queries in one call

Snipara: Decompose Query

Break complex query into sub-queries

Snipara: Generate Plan

Create execution plan

Snipara: Multi-Project Query

Search across all team projects

Session Context

Snipara: Show Current Context

View active session context

Snipara: Inject Context

Add context for better results

Snipara: Clear Context

Reset session context

Agent Memory

Snipara: Remember

Store a fact, decision, or learning

Snipara: Recall Memory

Semantically search memories

Snipara: Browse Memories

List all memories

Snipara: Forget Memory

Delete memories

Multi-Agent Swarms

Snipara: Create / Join Swarm

Create or join agent swarm

Snipara: Claim / Release Resource

Exclusive file/module access

Snipara: Create / Claim / Complete Task

Distributed task queue

Snipara: Broadcast Event

Send events to all agents

Snipara: Get / Set Shared State

Shared swarm state

Team & Shared Context

Snipara: Load Shared Context

Team coding standards

Snipara: Browse / Apply Templates

Prompt templates

Document Management

Snipara: Upload Document

Upload .md/.mdx/.txt files

Snipara: Sync Documents

Bulk sync documents

Snipara: Store / View / Delete Summary

Document summaries

RLM Runtime

Snipara: Execute in Docker

Run tasks in Docker-isolated environment

Snipara: Execute Locally

Run tasks locally (no isolation)

Snipara: View Execution Logs

View recent trajectory logs

Snipara: Launch Trajectory Visualizer

Open Streamlit dashboard

The extension adds a Snipara icon to the VS Code Activity Bar with four panels:

Results

Shows query results with relevant documentation sections. Click on a section to view its full content with file path, line numbers, and relevance scores.

Session Context

Displays the current session context being used to enhance query results. Shows injected context and provides a quick-clear option.

Memories

Browse all stored memories grouped by type (fact, decision, learning, preference, todo, context). Right-click to forget. Refresh button in the title bar.

Swarm Dashboard

Interactive WebView panel showing active swarm info, connected agents, task queue with status, and resource claims. Manage swarms directly from the panel.

GitHub Copilot Integration

The extension registers 15 Language Model Tools that GitHub Copilot can use in agent mode. When you ask Copilot a question, it can automatically query your documentation, store memories, execute code, and retrieve team standards.

Query Documentation

Copilot searches your indexed docs and returns relevant sections

snipara_contextQuery

Store Memory

Copilot saves facts, decisions, and learnings for future recall

snipara_remember

Recall Memory

Copilot retrieves relevant memories using semantic search

snipara_recall

Team Standards

Copilot loads team coding standards and best practices

snipara_sharedContext

VS Code 1.93+ Required

Language Model Tools require VS Code 1.93 or later and GitHub Copilot. The extension gracefully degrades — all 43 commands work without Copilot.

RLM Runtime Integration

The extension includes a lightweight bridge to the RLM-Runtime CLI for code execution, trajectory logs, and visualization — with optional Docker isolation.

Optional Feature

RLM Runtime features require pip install rlm-runtime[all]. The extension auto-detects availability and gracefully degrades — all other features work without it. Docker is optional for isolated execution.

Snipara Runtime: Execute in Docker

Run tasks in Docker-isolated environment

Snipara Runtime: Execute Locally

Run tasks locally (no isolation)

Snipara Runtime: View Execution Logs

View recent execution history

Snipara Runtime: Launch Trajectory Visualizer

Open Streamlit dashboard at localhost:8501

The status bar shows RLM and Docker availability at a glance — green when both are running, warning when Docker is stopped, and a prompt to install when RLM is missing.

File Explorer Integration

Right-click any .md, .mdx, or .txt file in the Explorer to upload it directly to Snipara with the Upload Document context menu item.

Workflow Examples

Quick Documentation Query

Press Cmd+Shift+R (or Ctrl+Shift+R)
How does authentication work?
[Snipara] Querying documentation...
Found 3 relevant sections (2,847 tokens)
Results appear in the Snipara sidebar

Memory-Driven Development

Save a decision via Command Palette:
Snipara: Remember
Type: decision
Content: "Chose JWT over sessions for auth"
Memory stored. View in Memories panel.
Later, recall it:
Snipara: Recall Memory
Query: "authentication approach"
[decision] Chose JWT over sessions for auth (0.94 relevance)

Copilot Agent Mode

In Copilot Chat (agent mode):
@workspace How is rate limiting implemented?
[Using snipara_contextQuery]
Based on your documentation, rate limiting uses...

Troubleshooting

Extension says "not configured"

Run Snipara: Configure from the Command Palette and enter both your API key and project ID. Or set snipara.apiKey and snipara.projectId in VS Code settings.

Queries return errors

Check that your API key is valid and hasn't expired. Verify the project ID matches an active project. Check the Output panel (View > Output > Snipara) for detailed error messages.

Copilot tools not appearing

Language Model Tools require VS Code 1.93+ and GitHub Copilot installed. Make sure Copilot is active and try reloading the window (Ctrl+Shift+P > "Developer: Reload Window").

Results don't seem relevant

Use the hybrid search mode for best results. Inject context about your current task using Snipara: Inject Context. Make sure your documentation has been uploaded and indexed.

Source Code & Resources

Next Steps