Learn with Neo4j's New "Get to Know Graph & GenAI" Webinar Series >>

Neo4j logo

Beyond Vibe Coding: AI Agents for Technical Debt Detection with Neo4j

Session Track: App Dev

Session Time:

Session description

In the fast-paced world of software development, "vibe coding"—where intuition and momentum drive decisions—can lead to rapid progress but often accrues unseen technical debt. This session unveils a suite of AI agents I've developed to detect and analyze the subtle signs of such debt using Neo4j's graph capabilities. Code Intelligence Architecture with Neo4j I've built an extensible framework using Dagger and Neo4j that: Parses diverse codebases (Python, JavaScript, TypeScript, etc.) using specialized parsers Constructs a comprehensive code graph in Neo4j including: File nodes with language and path metadata Symbol nodes (Functions, Classes, Interfaces) with scope, signature, and line positioning Relationship edges: DEFINED_IN, IMPORTS, CALLS, CONTAINS, and re-export patterns Executes Cypher queries through a dedicated cypher-shell client container Live Demonstration During this talk, I'll demonstrate: Building a code graph for a real-world repository: # Creating file and symbol nodes with proper metadataawait neo_service.add_file_node(filepath="/app/src/hooks/use-toast.ts", language="typescript")await neo_service.add_symbol(    symbol_type="Function",    name="useToast",    filepath="/app/src/hooks/use-toast.ts",    start_line=10,    end_line=45,    properties=SymbolProperties(scope="public")) Detecting code smells through graph pattern analysis: # DeadCodeDetector query demonstrating pattern detection for unused exportsMATCH (symbol:Function|Class|Interface)-[:DEFINED_IN]->(f:File)WHERE (symbol.scope IS NULL OR symbol.scope = "public")AND NOT EXISTS {    # Check if the file is imported directly    MATCH (other:File)-[:IMPORTS]->(f)    WHERE other  f}# Additional pattern matching for re-exports and references Concurrent multi-detector analysis with error handling: Circular dependencies Dead code Shotgun surgery Feature envy Schema discrepancies Takeaways Attendees will learn how to: Model code structures effectively as property graphs in Neo4j Write advanced Cypher queries to detect complex code patterns Integrate Neo4j with AI agents for automated code analysis Handle property existence checks and schema evolution challenges Build resilient code analysis tools that can adapt to different codebases Whether you're a developer, team lead, or architect, this talk offers practical strategies to harness Neo4j and AI for proactive code health monitoring, ensuring the creative spark of vibe coding doesn't compromise long-term maintainability.

Speaker

photo of Kambui Nurse

Kambui Nurse

Founder AI Agency Services

Kambui Nurse Founder, AI Agency Services Lead Staff Engineer, Innovation – Marsh McLennan Kambui Nurse is a self-taught technologist and visionary builder with over 20 years of experience in the tech industry. His journey began at age 11 when his father brought home a Commodore 64, sparking a lifelong love for programming. With no formal degree, Kambui rose through the ranks fueled by grit, curiosity, and a relentless passion for learning. Today, Kambui leads cutting-edge work in generative AI as Lead Staff Engineer of Innovation at Marsh McLennan. He’s currently spearheading the development of Agentic workflows using Dagger, the powerful new container pipeline framework from the creators of Docker. As an official partner of Dagger.io, the startup founded by Solomon Hykes, Kambui plays a key role in advancing the future of developer automation and AI integration. His early demonstrations of containerized agents earned public recognition from Hykes himself, and his leadership within the community earned him the elite title of Dagger Commander for mentoring and onboarding new users. Kambui is also an engaging and experienced presenter, known for making complex technologies accessible and inspiring. He regularly speaks internally at Marsh McLennan, where he helps teams understand and apply the latest advancements in AI and DevOps. Beyond his professional achievements, Kambui is a proud single father of two teenage boys, an endurance cyclist who rides 100 miles every year on his birthday, and a devoted son who hikes regularly with his 64-year-old mother. Whether he’s building next-gen AI systems or exploring mountain trails, Kambui brings the same spirit of perseverance and purpose to everything he does.