Clade — Architectural Intelligence for Large CodebasesAI code generators write locally correct code that becomes globally incoherent at scale. Clade enforces structural integrity by treating your codebase as a hierarchical communication system — a tree of IO protocols. The ProblemAs codebases grow, AI-generated code creates invisible coupling, circular dependencies, and architectural drift. No amount of linting catches structural decay — because the structure was never declared. How Clade WorksClade introduces a protocol tree: every component declares its IO contract with its parent. Sibling components never communicate directly — all data flows through parent relays. This zero-coupling guarantee means any node can be replaced, refactored, or rewritten by an AI agent without breaking the rest of the system. FeaturesProtocol Tree SidebarBrowse your application's communication structure directly in VS Code. Every node shows its IO protocol and status (seed / growing / stable). Interactive Dataflow ViewClick any node to see its internal data flows rendered as an interactive DAG. Drag nodes, zoom, pan. Double-click to drill into children. Live EnforcementRun Refactor with ClaudeClick the Refactor button on any node — Claude receives a bounded prompt scoped to that node's protocol contract. It reads existing code, implements or refactors to match the declared IO, and streams progress live in the agent panel. Chat within BoundariesType a freeform prompt in the agent panel — Claude works within the selected node's protocol boundary, never touching sibling nodes. Import Existing CodeRight-click any file or directory and select Import to Protocol Tree — Clade decomposes it into protocol nodes automatically. Claude Code Integration (MCP)With the Clade MCP server, Claude Code follows the Clade workflow automatically — reads the protocol tree, runs preflight, declares nodes before implementing, validates, and commits atomically. Getting Started1. Install the Clade CLI
2. Initialize a project
This creates 3. Import existing code or add nodes manually
4. Open in VS CodeOpen the project folder — the Clade Protocol Tree appears in the sidebar. Click any node to see the dataflow view. 5. Set up Claude Agent (optional)To use Refactor and Chat features, provide your Anthropic API key: Settings > search "clade" > Anthropic API Key Or set the Commands
Requirements
Learn More |