π»πͺ Leer en EspaΓ±ol
Context engineering and static memory framework for AI coding agents (Antigravity, Claude Code, Codex). Directly connected to the Antigravity brain.
Inspired by the yapΓΊ (Psarocolius decumanus), a Venezuelan bird that weaves hanging nests over a meter long that defy gravity. Antigravity is the tree β Yapu weaves the memory nest. πͺΊ
Go into your project directory and run the Yapu initializer:
npx @davidsd/yapu-cli initThis scaffolds the core static memory files (PROJECT.md, ROADMAP.md, STATE.md) along with the .planning/ directory.
Open your AI chat interface (Cursor, Cline, Windsurf, etc.) and kick off the session with this exact prompt:
Initial Prompt: "Read the
PROJECT.md,ROADMAP.md, andSTATE.mdfiles to understand our application's rules, the general roadmap, and today's active tasks. Please grab the first pending task fromSTATE.mdand let's start writing some code!"
As your AI assistant codes and checks off tasks ([x]), you can open a secondary terminal to run the interactive dashboard:
npx @davidsd/yapu-cli dashEnjoy a beautiful, zero-dependency TUI dashboard showing week's worth of progress in real time!
If you prefer to have YapuCli globally available on your system, you can install it using:
npm install -g @davidsd/yapu-cli
# or with pnpm
pnpm add -g @davidsd/yapu-cli
# or with yarn
yarn global add @davidsd/yapu-cliOnce globally installed, you can run any command directly using yapu (e.g., yapu init, yapu dash, etc.).
Zero dependencies β built natively using node:fs and node:path.
π€ Are you an AI (or do you use one)? Load the LLM Installer Prompt into your agent so it automatically installs, configures, and assimilates the Yapu rules.
π‘ Do you code with AI? Read the Vibe Coder Workflow Guide to learn how to integrate Yapu into your daily routine with Cursor/Cline/Windsurf.
The Antigravity brain is ephemeral (per conversation). The .planning/ directory is persistent (per project, lives in git). Yapu is the bridge that synchronizes both worlds.
βββββββββββββββββββββββββββ yapu sync βββββββββββββββββββββββββββ
β π§ Antigravity Brain β ββββββββββββββββββββββΊ β πͺΊ .planning/ β
β (ephemeral, per session)β yapu handoff β (persistent, in git) β
ββββββββββββββ¬βββββββββββββ ββββββββββββββ¬βββββββββββββ
β β
β βββββββββββββββββββββ β
βββββββββββββΊβ Memory Triad ββββββββββββββββββββ
β PROJECT Β· ROADMAP β
β Β· STATE β
βββββββββββββββββββββ
Automatic Sync: Every workflow features embedded Pre-Sync (reads inherited state) and Post-Sync (persists progress) blocks. The LLM never loses track between sessions.
| File | Role | Description |
|---|---|---|
PROJECT.md |
ποΈ The Vision | Stack, architectural rules, and untouchable commandments. |
ROADMAP.md |
πΊοΈ The Macro Plan | Sequential project phases. Skipping phases is strictly forbidden. |
STATE.md |
β‘ Operating State | Active mode, current phase, and short-term technical tasks. |
yapu init # πͺΊ Founds the colony (.planning/ + complete skills)
yapu status # π Project radiograph
yapu dash # π Real-time TUI dashboard (Zero-dependency)
yapu board [--port N] # π Web Command Center (C2) β interactive browser dashboard
yapu gc # ποΈ Contextual Garbage Collector (condenses history)
yapu rescue <log> # π Auto-Heal: reads a CI/CD error log and prepares a fix
yapu archive # π¦ Season finale (freezes tasks into HISTORY.md)
yapu install-hooks # π Deploys the hornet's nest (Yapu Guard)
yapu sync # π Syncs Antigravity brain β .planning/
yapu handoff # π€ Generates handoff for the next session
yapu brain <list|log> # π Inspects the Antigravity brain
yapu provider # π Diagnostics of detected AI providersyapu initβ Scaffolds.planning/with 11 subdirectories + 5 base files. Copies 41 workflows, 25 references, 3 contexts, and 5 codebase templates to.agents/skills/. It also copiesPROJECT.md,ROADMAP.mdandSTATE.mdto the project root. Never overwrites existing files.yapu statusβ ReadsSTATE.mdand reports operational mode, active phase, task list, and spec integrity.yapu dashβ Renders an interactive TUI monitor at 60FPS readingROADMAP.mdand AI logs (Zero dependencies).yapu board [--port N]β Launches a local web Command Center (C2) with real-time SSE streaming, interactive task toggles, neural feed, and whitelisted command execution. Zero dependencies.yapu gcβ Archives old phases from.planning/phases/and prepares token compression (Contextual Garbage Collector).yapu rescue <log>β Instantly creates an Auto-Heal debugging session and instructions for your AI based on an error log.yapu archiveβ Freezes completed tasks fromSTATE.mdintoHISTORY.mdwith a timestamp.yapu install-hooksβ Deploys Yapu Guard, an ultra-fast native pre-commit hook (<1.5s).yapu sync --brain-path <path>β Manual fallback: syncs artifacts from the Antigravity brain to.planning/.yapu handoffβ GeneratesHANDOFF.json+.continue-here.mdfor session continuity.yapu brain list --path <path>β Lists brain artifacts by type, summary, and date.yapu brain log --path <path> -n Nβ Displays the last N entries of the conversation log.yapu providerβ Diagnostic command that detects installed AI CLI providers (Antigravity, Claude Code, Codex), shows their data paths, session counts, and which provider is currently active.
Beyond organization, YapuCli installs advanced templates (.agents/skills/) so your AI can act as a complete engineering team:
- LORE_MASTER: Condenses thousands of context tokens into a single ultra-dense
LORE.md. - PRODUCTION GUARDIAN: Auto-Heal workflow triggered via
yapu rescuein CI/CD pipelines. - CHAOS MONKEY (
yapu-chaos.md): Autonomous Resilience Engineering. Command your AI to execute this mode to inject latency and break dependencies intentionally, then repair the architecture to achieve Graceful Degradation.
.planning/
βββ STATE.md
βββ ROADMAP.md
βββ REQUIREMENTS.md
βββ METHODOLOGY.md
βββ config.json
βββ codebase/ # 7 analysis docs (generated by yapu-map)
βββ phases/ # CONTEXT.md, PLAN.md, SUMMARY.md per phase
βββ debug/ # Debugging session tracking
βββ seeds/ # Forward-looking ideas
βββ notes/
βββ todos/
βββ research/
βββ quick/
βββ spikes/
41 workflows Β· 11 schemas Β· 25 references Β· 3 contexts Β· 5 codebase templates
map Β· plan Β· execute Β· verify
grill-me Β· grill-docs Β· spec
secops Β· dba Β· ui Β· forensics
discovery Β· discuss Β· research
resume Β· progress Β· session-report Β· handoff
debug Β· seed Β· quick Β· thread Β· health Β· audit Β· code-review Β· docs Β· tests Β· undo Β· ship Β· sketch Β· autonomous Β· learnings
29 integration tests passing Β· ESLint clean
npm run test # Full integration test suite
npm run lint # Static validationThe yapΓΊ does not improvise: every fiber of the nest has a structural purpose.
Yapu applies this exact principle to the LLM context β explicit static memory, deterministic synchronization, and zero external dependencies. The agent always knows where it is, what it did, and what comes next.
YapuCli πͺΊ β The nest that defies gravity.
