A lightweight, zero-configuration local tool that watches your project and builds interactive graphs of your functions call hierarchy, database schemas (ERD), and architectural layers.
npx @vmcreate/ai-watcher
No configuration files, no setups, no cloud uploads. Simply run it and explore your codebase.
Explore live call hierarchies between functions and methods. Hover highlights show caller/callee links, and broken connections trigger warnings.
Auto-extracts database models from Prisma schemas, SQL scripts, and object classes. Displays relationship links with yellow PK and purple FK indicators.
Organizes code into logical layers (CLI, Application, Server, DB, etc.) in a D3 tree, displaying functions count, file-level dependencies, and recent changes.
AI-Watcher works out of the box. Point it at any repository, and it immediately scans and serves the interactive visualization dashboard locally.
Type npx @vmcreate/ai-watcher inside your workspace root.
Dashboard opens on http://localhost:4321 instantly.
Graphs update dynamically as you modify files in your editor.
viktor@laptop:~/project$ npx @vmcreate/ai-watcher
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β AI-WATCHER v3.0.2 β Modular Architecture Edition β
β Functions Graph Β· DB ERD Β· Architecture View β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
[AI-WATCHER] Watching root: C:\PROGRAMIRANJE\chronos
[AI-WATCHER] Scanning for source files and DB schemasβ¦
[SYNC OK] Graphs ready: 130 functions Β· 36 DB entities Β· 253 links
[AI-WATCHER] Visualization App: http://localhost:4321
[AI-WATCHER] Browser opened: http://localhost:4321
AI-Watcher writes a structured graph index to a local .ai_context.json file, allowing coding agents like Gemini, Claude, or Cursor to easily read and understand your codebase structure.
Instruct your agent to read .ai_context.json before any action to ensure 100% accurate codebase maps.
When changes exceed 10,000 lines of code, AI-Watcher triggers a console warning instructing the agent to pause and summarize changes to prevent context drift.
Ensures structural changes and design decisions are immediately written and integrated into the agent's persistent memory.