Grafo CodeVisualize, partition, and safely edit any codebase as a graph of functional blocks with input/output contracts. Grafo Code uses AI to analyze your source files and render them as an interactive canvas — each function, class, or logical group becomes a draggable block with clearly defined inputs, outputs, and dependencies. All contract validation, test generation, and code changes happen through this structured view. FeaturesImport mode — see any file as a graphOpen a source file, run Grafo Code: Import existing project, and the extension partitions the code into functional blocks, draws the dependency graph, and highlights issues (long functions, mutable globals, missing type hints).
Create mode — design before you codeDescribe what you want to build in natural language. Grafo Code proposes an architecture as a graph — blocks, contracts, and connections — before writing a single line of code. Approve the proposal and the extension generates the initial file structure. Edit mode — change code with contract validationSelect a block, edit its implementation. Before saving, the AI validates whether the changes still respect the block's declared input/output contracts. Breaking changes are caught before they propagate. Implement mode — add features without breaking contractsDescribe a new feature in plain English. The AI generates code that integrates with the existing graph's contracts — no surprises downstream. Getting started
LLM providersGrafo Code uses your own API key for all AI operations. Typical cost for a 200-line import is well under $0.01.
Privacy & security
Requirements
Commands
SupportFound a bug or have a suggestion? Open an issue on GitHub. |