Overview
VibeLearn’s worker exposes a localhost HTTP API on port 37778. Any IDE or tool can integrate with it by calling the session lifecycle endpoints — the same way the Claude Code and Cursor hooks do.Session Lifecycle Integration
To integrate VibeLearn into any IDE or tool, call these endpoints in order:1. Initialize Session (on session start)
2. Record Observations (per tool use / file edit)
tool_type values: file_edit, bash_command, mcp_tool
3. Trigger Analysis Pipeline (on session end)
Call these 5 endpoints sequentially after the session ends:Full API Reference
Session Endpoints
Analysis Pipeline
Learning Data
System
Settings Reference
The worker reads from~/.vibelearn/settings.json:
Minimal Platform Integration Checklist
- Call
/api/readinesson startup — wait up to 15s for worker - Call
/api/sessions/initwhen a new session starts - Call
/api/sessions/observationsfor each file edit/tool use (fire-and-forget) - Call the 5 analysis endpoints sequentially when session ends
- All calls are localhost — no external network required at runtime

