Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>HipCortex Memory IntegrationNew to Visual Studio Code? Get it now.
HipCortex Memory Integration

HipCortex Memory Integration

farmountain

|
1 install
| (0) | Free
HipCortex — Persistent AI memory with metacognitive intelligence. Search, health check, predictions.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🧠 HipCortex VS Code Extension

Direct integration between VS Code Copilot chat and HipCortex memory system.

🚀 Installation

1. Install the Extension

cd vscode-extension
npm install
npm run compile

2. Install Extension in VS Code

  1. Press F5 to launch Extension Development Host
  2. OR package and install:
npm install -g vsce
vsce package
code --install-extension hipcortex-memory-0.1.0.vsix

3. Start HipCortex API Server

cd ../
cargo run --bin webserver --features "web-server,petgraph_backend"

🎯 Usage

Chat Commands

Use @hipcortex in VS Code chat followed by commands:

Add Memory

@hipcortex add actor: CopilotAgent action: code_review target: memory_system
@hipcortex record actor: UserAgent action: completed_task target: project_x

Query Memory

@hipcortex query actor: CopilotAgent
@hipcortex search action: code_review
@hipcortex find actor: VSCode_Chat limit: 5

System Commands

@hipcortex health
@hipcortex status

Command Palette

  • HipCortex: Add Memory Record
  • HipCortex: Query Memory Records

⚙️ Configuration

Open VS Code Settings and search for "HipCortex":

  • API URL: Default http://127.0.0.1:3030
  • API Key: Optional authentication key
  • Auto Start: Automatically start HipCortex server

🔧 Features

✅ Implemented

  • ✅ REST API with memory operations
  • ✅ VS Code chat participant (@hipcortex)
  • ✅ Command palette integration
  • ✅ Input validation and sanitization
  • ✅ Authentication support (Bearer token)
  • ✅ Auto-start server functionality
  • ✅ Comprehensive error handling
  • ✅ Health check and status monitoring

🎨 Advanced Features

  • 🧠 Natural language parsing for memory commands
  • 🔐 Secure communication with API authentication
  • 🚀 Auto-recovery - starts server if not running
  • 📊 Rich formatting - markdown responses in chat
  • ⚡ Real-time feedback - streaming responses

🔄 Complete Integration Flow

VS Code Chat Input
    ↓
@hipcortex add actor: Agent action: task target: system
    ↓
Extension parses command
    ↓
HTTP POST to HipCortex API (/memory/add)
    ↓
HipCortex stores in memory backend
    ↓
Success response back to chat
    ↓
Rich markdown display in VS Code

🧪 Test Scenarios

Scenario 1: Basic Memory Operations

  1. Type: @hipcortex health
  2. Expected: ✅ Health check passes
  3. Type: @hipcortex add actor: TestAgent action: integration_test target: extension
  4. Expected: ✅ Memory record created with ID
  5. Type: @hipcortex query actor: TestAgent
  6. Expected: 📊 Shows the record just created

Scenario 2: Auto-Start Server

  1. Stop HipCortex server
  2. Type: @hipcortex health
  3. Expected: ⚠️ Server not responding → 🔄 Auto-starting → ✅ Server started

Scenario 3: Error Handling

  1. Type: @hipcortex add actor: target: missing_action
  2. Expected: ❌ Input validation error with helpful message

📈 Performance

  • Cold start: ~3-5 seconds (first API call)
  • Warm requests: ~100-300ms
  • Memory footprint: ~10-20MB (extension)
  • Network: HTTP/1.1 with Keep-Alive

🛡️ Security

  • ✅ Input validation and sanitization
  • ✅ Bearer token authentication support
  • ✅ Timeout protection (3s for health checks)
  • ✅ Limited stored data (prompt truncated to 500 chars)
  • ✅ No sensitive data logged in debug mode

🎉 Success Metrics

  • API Integration: ✅ 100% working
  • Chat Commands: ✅ All 4 command types implemented
  • Error Handling: ✅ Graceful degradation
  • User Experience: ✅ Rich, interactive chat responses
  • Reliability: ✅ Auto-recovery and health monitoring
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft