Synapse
Map the invisible bridges in your code
The problem Synapse solves
Modern software development is currently facing an architectural crisis driven by polyglot complexity. Applications are rarely built using a single language; instead, they span multiple boundaries, such as a React frontend, a Node or Python API, and a SQL database.
- Failure of Traditional Tools: Existing static analysis tools are typically single-language and break down at these language boundaries. They cannot easily see how a button click in a JavaScript frontend triggers a specific backend Python script or updates a database.
- "Silent Ripple Effects": Because these connections are invisible, small changes in one service can easily ripple through a polyglot system and break downstream APIs without the developer knowing.
- Architectural Drift & Tech Debt: As teams rapidly ship features, clean architecture deteriorates into "spaghetti code," leading to hidden technical debt and duplicated logic scattered across microservices.
- Painful Onboarding & Context Switching: Developers spend days, weeks, or even months just trying to build a mental map of a codebase. They are forced to perform expensive, error-prone context switching between files, logs, grep outputs, and documentation to understand basic dependencies.
What People Can Use It For
Synapse/EzScan acts as a live, intelligent architectural layer that can be accessed via a web dashboard or directly inside the developer's IDE (VS Code).
- Interactive Architecture Visualization: It ingests your codebase and renders a live 3D/2D dependency graph. Users can visually explore connected files, functions, classes, and services, and use interactive filters to isolate specific service boundaries or file-level topologies.
- Polyglot Dependency Mapping: Developers can trace data flows and API calls end-to-end across multiple languages (e.g., tracing a JavaScript API call to a Go backend handler, down to a Java service, and finally into a SQL schema).
- Context-Aware AI Chat: Instead of generic AI, developers get a specialized architectural assistant that has deep semantic context of their entire repository. You can ask it highly specific questions, such as, "How does the user authentication flow work from the frontend down to the database?".
- End-to-End API Auditing: The platform tracks which backend API endpoints are actually being called by frontend files, providing immediate clarity on dead endpoints, missing integrations, and risky changes.
- Prompt-Driven Development & Remediation: Inside the IDE, developers can type a prompt to generate concrete, workspace-safe file edits. The tool can even trigger one-click remediation popups to instantly fix bugs or rename symbols across the architecture.
How It Makes Existing Tasks Easier and Safer
- Real-Time Impact Alerts (Blast Radius): When a developer edits a file or database schema, the system immediately highlights all upstream and downstream dependents. This warns developers if an API contract change will break other services before the error propagates.
- Slashes Onboarding Time: It reduces the time required for new engineers to understand unfamiliar, undocumented codebases from weeks to mere hours.
- Automated Architectural Reviews: Tech leads can use it to automatically generate architectural health and compliance reports, allowing them to visually spot "spaghetti code" or duplicate logic before a pull request is ever merged.
- Secure Code Analysis: The backend utilizes ephemeral, isolated Docker containers to clone and process repositories, ensuring that enterprise systems remain completely safe and insulated from raw code execution during the analysis phase.
Challenges we ran into
- The Hurdle: Safe and Secure Repository Ingestion
When building a tool that clones and parses external GitHub repositories, a major challenge is doing so without messing up the local filesystem or exposing the host system to security risks from raw code execution.
- How we got over it: Instead of cloning directly to the host, we built an Asynchronous Ingestion Engine (docker_service.py). Whenever a repository is imported, the backend spawns a temporary, ephemeral Docker container (alpine/git). This lightweight container clones the target repository into an isolated, host-mounted volume, ensuring it is safe, modular, and automatically cleans up after itself. This provides an enterprise-grade security approach by fully insulating the host system.
2. The Hurdle: UI Freezing During Massive Codebase Digestion
Parsing, chunking, and vectorizing an entire polyglot codebase into a ChromaDB vector database takes time. If done synchronously, this would completely block the user interface and ruin the user experience.
- How we got over it: We leveraged a decoupled architecture using FastAPI BackgroundTasks. When a user submits a GitHub URL, the backend immediately returns a 202 Accepted status so the UI remains unblocked, while the heavy ingestion task is queued in the background. The frontend then transitions to a "Scanning" state and continuously polls a /github/status/{repo_id} endpoint to check if the vector database indexing has finished.
3. The Hurdle: Rendering Thousands of Dependencies visually
Mapping every file, function, class, and database entity across a massive microservice architecture creates a visually overwhelming and computationally heavy graph.
- How we got over it: We integrated react-cytoscapejs (Cytoscape.js), a high-performance graph engine capable of rendering thousands of nodes. To make the massive graph usable, we implemented physics-based layouts (like Cose/Force-directed) to organically cluster related modules together, alongside interactive node-type filtering so developers can dim irrelevant nodes and isolate specific service boundaries.
4. The Hurdle: Dependency Graphs Becoming Instantly Stale
A static analysis graph is only useful until a developer makes their next edit, at which point the architecture map becomes outdated.
- How we got over it: For the VS Code extension (EzScan), we built in "live tracking". As files change, the extension automatically refreshes the dependency overlays in real-time, ensuring developers always see the current blast radius and impact instead of a stale diagram.
Tracks Applied (1)
GenAI
Technologies used
