Introduction
Zenith is a visual code editor built on VS Code that lets you manipulate your UI by interacting with it directly. Every drag, resize, and style change maps to a precise AST patch — not a file rewrite.
What makes Zenith different?
- → Surgical AST patching — one visual change = one line in your diff
- → Multi-agent AI that understands structure, style, and performance
- → Built on VS Code — your extensions, keybindings, and themes carry over
- → Bi-directional sync between visual canvas and source code
Architecture Overview
Zenith's core is built around three layers: the Zero-Copy AST Parser (Rust), the Surgical Patch Compiler, and the CRDT Sync Bridge. Together, they enable sub-millisecond visual-to-code translation without ever rewriting entire files.
Layer 01
AST Parser
Parses source into traversable syntax trees
Layer 02
Patch Compiler
Converts visual actions into minimal code patches
Layer 03
CRDT Bridge
Keeps all connected clients in perfect sync