
Overview
VibeBox is local-first memory middleware that helps AI coding agents remember user preferences, project rules, validation habits, failure-avoidance rules, and reusable successful approaches across sessions. The agent reads active guidance with pretask before work and records structured memory candidates with aftertask afterward. The name comes from VIBE CODING plus BLACKBOX.
The problem
AI coding agents are capable within a single task, but durable context disappears between sessions. They change files the user wanted preserved, skip validation, or reuse approaches that were already rejected, and the user ends up re-teaching the same lessons. VibeBox keeps project decisions, user preferences, failed approaches, and review context close to the work so the next session starts from understanding instead of repeated explanation.
Built for
- Developers coding with OpenAI Codex (CLI or App)
- Developers using Claude Code plugins
- Vibe coders tired of restating the same rules every session
- People who want to review agent memory in Obsidian
Capabilities
Key capabilities
- Memory Loop01
Pretask and aftertask loop
pretaskandcontextretrieve active guidance before work, andaftertaskcaptures the original user request with structured memory candidates afterward. - Guidance Lanes02
Three guidance lanes
Active memory is grouped into User Success Criteria, AI Failure Avoidance, and AI Successful Approaches. Past memory is context, not authority; the current request always wins.
- Clear Contract03
Agent decides, Core manages
The AI agent interprets requests and creates candidates. Core never infers meaning from raw text; it only validates, stores, dedupes, indexes, and renders.
- Local First04
One global local store
All memory lives in
~/.vibebox, overridable withVIBEBOX_HOMEor--store. Work repositories stay clean, and VibeBox does not sync to a cloud service by itself. - Obsidian Wiki05
Obsidian-compatible wiki
Active memory renders as category-based Markdown notes and a graph for review. Note titles and summaries follow the user's conversation language.
- Agent Plugins06
Codex and Claude Code plugins
Ships as plugins with Core bundled, so no separate clone or
npm installis needed. In Claude Code, hooks runpretaskautomatically and add an aftertask checkpoint before work can finish.
Architecture
From agent to store
A contract separates the agent, which owns meaning, from a deterministic Core. The global store and JSON indexes are the source of truth; the wiki is a display layer for human review.
Workflow
How it works
- 01
User request
The user asks for coding work as usual, without typing VibeBox commands by hand.
- 02
Pretask retrieval
The agent runs
vibebox pretaskorvibebox contextto read active guidance from the global store. - 03
Guided work
The three guidance lanes shape repository inspection, planning, implementation, and validation.
- 04
Schema check
After meaningful work, the agent reads the Core-defined candidate schema with
vibebox schema. - 05
Aftertask capture
The agent submits the original
userRequest, outcome, validation evidence, and structured candidates, orno_reusable_memory_candidatewhen nothing is reusable. - 06
Core processing and wiki render
Core validates, stores, dedupes, indexes, and links the candidates, then renders the Obsidian-compatible wiki, so the next
pretaskreturns sharper guidance.
Gallery
Screens
01VibeBox
02Workflow
03Obsidian wiki
Tech stack
- Node.js 20+Runtime for the CLI and Core
- JavaScript (ES modules)Implementation using only Node built-ins, no external dependencies
- node:testTest suite on the built-in Node test runner
- Codex PluginPlugin package and marketplace distribution for OpenAI Codex
- Claude Code PluginPlugin manifest, marketplace, and UserPromptSubmit/Stop hooks
- Agent Skill
SKILL.mdcarrying the shared agent contract - ObsidianReviewing memory as a Markdown wiki and graph view
Requirements
- Node.js 20 or newer, npm
- OpenAI Codex or Claude Code for plugin use
- Read and write access to the global store at
~/.vibebox - Obsidian (optional, for browsing the wiki)
# OpenAI Codex
codex plugin marketplace add boksajang/vibebox
codex plugin add vibebox@boksajang
codex plugin list
# Claude Code
claude plugin marketplace add boksajang/vibebox
claude plugin install vibebox@boksajang- #ai-agent
- #ai-agent-plugin
- #ai-agent-skill
- #automation
- #codex-plugin
- #coding-assistant
- #context-management
- #llm
- #local-first
- #memory-middleware
- #obsidian-integration
- #session-sync
- #vibecoding
