
Coflow
Visual framework for VS Code
See your code, models and pipelines.
Coflow turns code and configuration into clear pictures beside your editor: the architecture of a project, what runs from main, every function as a flowchart, deep-learning models, Docker Compose files, Dockerfiles and GitHub Actions pipelines, all in one visual language and read from the files themselves.
Or search for benisalla.coflow in the Extensions view (Ctrl+Shift+X).
- Free
- Runs locally
- Python · JavaScript · TypeScript · Docker · GitHub Actions


It starts from what runs
Scripts, web routes, CLI commands, tasks, tests, containers and CI jobs are the entry points, and each picture follows what they reach. It is not a folder tree.
It shows what is wrong
Code that never runs, requests to routes that do not exist, shapes that do not fit in a model, and broken compose files and workflows, drawn on the shape and underlined in the editor.
It runs on your machine
No AI, no account and no telemetry. The engine is built into the extension, secrets are never shown, and the same files always give the same picture.
How it works
One visual language for every layer: start from the system, go down into the code, then open a model, a compose file or a pipeline.
The system
Start with the architecture: apps, gateway, services, workers, databases, queues and outside services, read from compose files, nginx, frontends and routes, with every connection labelled. From main then shows the program as it runs, from the file that starts it.


The code
Double-click to go inside: a block, a package, a module, a class, then one function drawn line by line as a flowchart. Python, JavaScript and TypeScript are mapped, with routes, services and database clients.


Models and infrastructure
Above a model class, Visualize model draws the network as papers do, with every tensor shape. Above a compose file, a Dockerfile or a workflow, Visualize this file draws the containers or the pipeline.


Screenshots
Each screenshot follows this page’s light or dark theme, as Coflow follows VS Code’s.






























Features
System view
A system design diagram of the project: apps, gateway, services and workers, databases, caches, queues and third-party services, in tiers, with technologies, ports and labelled connections (
REST · 58 endpoints,SQL · 37 tables).Start from main
The program from its entry point: what runs before start, startup, middleware, routers, routes and handlers, each with its trigger (HTTP verb and path, cron, queue, CLI).
A zoomable code mapNew
Double-click a box to go inside, and keep going: block, package, module, class, function. Python, JavaScript and TypeScript, with routes, services, middleware and database clients.
Every function as a flowchart
The whole body of a Python function, line by line, in a fixed visual language where every statement has one symbol.
Model viewNew
PyTorch, Keras and Flax models drawn in four styles (Clear, Paper, Blocks, Compact), with tensor shapes, parameter counts and shape mismatches found before you run anything.
Docker viewNew
Compose files and Dockerfiles: services with their ports, networks, volumes and start order, and build stages step by step. Errors are checked against
docker compose config.CI/CD viewNew
GitHub Actions workflows: triggers, jobs in order, matrices, conditions and where the result is published, then each job's steps. Errors are checked against
actionlint.Find what is wrong
Dead code, requests to missing routes, unread config keys, shapes that do not fit, and broken compose files and workflows, in the Explorer and as problems in the editor.
Replay a real run
Record a script or a test, then play it on the map with the call stack, the real argument values and the program output. Coflow runs your code only when you ask.
View options and drag to arrange
Choose what each view shows, then arrange boxes by hand. View choices stay in VS Code and never write a file into your project.
Get started in a minute
Install
Search for Coflow in the Extensions view, or install it from the VS Code Marketplace or Open VSX. Nothing else to install: the engine is built in.
Open a project
Open a folder and trust it when VS Code asks.
Open a picture
Press
Ctrl+Alt+M(Cmd+Alt+Mon macOS) for the map. Click Visualize model above a model class, or Visualize this file in a compose file, a Dockerfile or a workflow.Go inside
Double-click to go inside, and press
Alt+←to go back.
Questions
Does my code leave my machine?
No. Coflow reads your files on your computer and draws the pictures there. It sends no telemetry, needs no account and uses no AI. See the privacy statement.
What can it draw?
Python, JavaScript and TypeScript code (the system, From main and the code map; flowcharts for Python), deep-learning models in PyTorch, Keras and Flax, Docker Compose files, Dockerfiles and GitHub Actions workflows. Kubernetes and Airflow come in a later version.
Does it run my code?
Not to draw the pictures: it reads your files and never runs them. It runs code only when you ask: Record a Run… runs the script or test you choose, and Measure Exact Shapes runs a model once. If docker compose or actionlint is installed, Coflow runs it read-only and offline to double-check problems (setting coflow.infra.tools).
What does it cost? What is the license?
Every current feature is free. Coflow is proprietary software: you may use it, but not copy, modify or redistribute it.
What do I need?
VS Code 1.100 or newer, on Windows, macOS or Linux. Nothing else for the pictures. Python 3.10 or newer only to record a run, and the model's own library only to measure exact shapes.
Where do I report a bug or ask for a feature?
By email. The support page says what to include so it can be fixed quickly.
What’s new
0.11.0
- Docker view: compose files and Dockerfiles, with secrets hidden and errors checked against docker compose config
- CI/CD view: GitHub Actions workflows and each job's steps, with errors checked against actionlint
- JavaScript and TypeScript on the code map: routes, services, middleware and database clients
- View choices never write files into your project
0.10.0
- Model view: PyTorch, Keras and Flax models in four styles, with tensor shapes and parameter counts
- Every platform VS Code runs on, with the engine built in
0.9.0
- Record a run and replay it on the map
- Export Map…, and exported maps hide credentials
- Fewer false "never runs" and "missing routes"