Sulcus — AI Memory & Context Engine (VS Code Extension)A comprehensive VS Code extension bringing the full power of Sulcus Memory-as-a-Service directly into your editor, mirroring the architecture and capabilities of the native Antigravity ( Sulcus provides cognitive, thermodynamic persistent memory with knowledge graphs, semantic recall, SIU auto-capture, and bidirectional sync for developers and AI agents (such as GitHub Copilot and Antigravity). Key Features1. Auto-Recall & Context Injection (
|
| Command | Title | Description |
|---|---|---|
sulcus.recallContext |
Auto-Recall Context | Recall relevant memories for active selection or prompt query |
sulcus.captureSelection |
Capture Selection | Sanitize & capture selection using SIU quality classification |
sulcus.addMemoryInteractive |
Add Memory Node (Wizard) | Step-by-step memory creation dialog |
sulcus.searchMemories |
Search Memories & Graph | QuickPick memory search with live preview and actions |
sulcus.boostMemory |
Boost Memory Heat (+15%) | Reinforces memory node heat |
sulcus.retractMemory |
Retract Memory Heat (-15%) | Cools down memory node heat |
sulcus.pinMemory |
Toggle Pin Status (📌) | Freezes memory against decay |
sulcus.forgetMemory |
Forget / Delete Memory | Deletes memory node |
sulcus.promoteToRule |
Promote Memory to Rule | Converts memory into .agents/rules/*.md |
sulcus.switchNamespace |
Switch Namespace | Changes active memory namespace |
sulcus.openDashboard |
Open Dashboard | Opens web or local control panel |
sulcus.startDaemon |
Start Local Daemon | Spawns background sulcus serve |
sulcus.restartDaemon |
Restart Local Daemon | Restarts local daemon |
sulcus.refreshMemories |
Refresh Views | Re-queries active memories and status |
Configuration Settings
Configured in VS Code Settings (Preferences > Settings > Sulcus):
{
"sulcus.serverUrl": "https://api.sulcus.ca",
"sulcus.apiKey": "",
"sulcus.namespace": "default",
"sulcus.oidcIssuer": "http://127.0.0.1:8082/realms/master",
"sulcus.binPath": "sulcus",
"sulcus.autoStartDaemon": true,
"sulcus.daemonPort": 4203,
"sulcus.hybridMode": true,
"sulcus.autoRecallLimit": 10,
"sulcus.maxSummaryChars": 500
}
Note: Sulcus credentials are also automatically resolved from ~/.config/sulcus/sulcus.ini and standard environment variables (SULCUS_API_KEY, SULCUS_SERVER_URL, SULCUS_NAMESPACE).
Architecture & Parity with sulcus-agy
| Feature | sulcus-agy (Antigravity CLI) |
vscode-sulcus (VS Code Extension) |
|---|---|---|
| Daemon Auto-Spawn | ensureLocalDaemon() in sulcus_api.js |
DaemonManager.ensureDaemonRunning() |
| Recall Hook | recall.js (PreInvocation) |
RecallService.recallForPrompt() + LM Tool sulcus_recall |
| Capture Hook | capture.js (Stop / PostInvocation) |
CaptureService.captureText() + LM Tool sulcus_capture |
| SIU Quality Gate | /api/v2/siu/label evaluation |
Supported via client.labelWithSIU() |
| Graph Expansion | /api/v1/agent/entity-context |
Supported in RecallService + Sidebar Graph View |
| Thermodynamic Tuning | Pinned status, decay curves, heat boost | Supported via TreeView actions, Wizard, and LM Tools |
| Rule Promotion | .agents/rules/ promotion guideline |
Interactive command sulcus.promoteToRule |
| Hybrid Mode & OIDC | Local daemon ping + Cerberus Keycloak OIDC | Full parity in SulcusClient |
Building and Packaging
cd vscode-sulcus
npm install
npm run compile
To package into a .vsix file for installation:
npx @vscode/vsce package