Understanding code is at the heart of true software engineering. As Paul Graham rightly puts it, your code reflects your grasp of the problem you're tackling. Only when you've internalized the code in your head can you genuinely understand the problem. Unfortunately, most AI coding tools today focus on taking the mental load off developers by generating code automatically, which distances engineers from their code. This approach might work for simple, repetitive tasks but falls short for complex, high-stakes work where deep comprehension is crucial. What we really need is AI that amplifies our thinking instead of turning it off. That's where Windsurf Codemaps come in. This new tool offers AI-annotated, structured maps of your codebase, powered by the SWE-1.5 and Claude Sonnet 4.5 models. Building on previous efforts like DeepWiki and Ask Devin, Codemaps aims to radically improve how engineers understand sprawling codebases. Large, multi-service projects with dense abstractions often overwhelm even seasoned developers, who end up spending a lot of time just finding and remembering key pieces of code. This onboarding drag is a huge productivity hit—new engineers often take months to fully ramp up, and senior engineers spend hours a week helping others get up to speed. Stripe’s research confirms legacy maintenance is a major productivity killer for many companies. Most existing AI coding tools, such as Copilot or Claude Code, rely on generic chat-style interactions that don't fully solve the problem of deep, focused onboarding or precise navigation. At Cognition, we've gone deeper by creating agents that reason through codebases and make that reasoning transparent and accessible within the IDE. Codemaps is the next step in this journey, enabling engineers to generate targeted maps of their code right when they need them. Just open Codemaps in Windsurf, enter a prompt for your task, and choose between a fast or smarter AI model. The tool snapshots your code and respects zero-disruption rules, delivering maps that link directly to exact code lines. Codemaps shines when you need to trace through complex system components like client-server interactions, data pipelines, or security flows. You can click through a visual map to jump to relevant sections or expand sections for detailed explanations of how groups of code lines relate. Plus, inside Cascade, you can reference a Codemap snippet in your prompts to dramatically improve AI assistance by giving it more precise context. We also want to push back against the trend of “vibe coding” where developers blindly trust AI-generated code without truly understanding it. The difference between productive and problematic AI-assisted coders is often their grasp of the code’s context. Real engineering demands accountability, especially as AI takes over simpler tasks. Engineers might not write every line, but they remain responsible for what ships. Codemaps bridges the understanding gap by giving both humans and AI a shared, clear picture of system structure, data flows, and dependencies. Ultimately, Codemaps isn’t just about speed—it’s about helping engineers stay in flow and confidently tackle the hardest problems without shipping code they don’t comprehend. While many AI tools aim to replace engineers for low-value tasks, we believe the best AI complements human skills, boosting performance rather than replacing judgment. By exposing core indexing and analysis capabilities to humans, Codemaps empowers engineers to be their best, making high-value work more manageable and low-value drudgery less taxing.