A knowledge base for code at scale.

120+ deep-dives, organized by what you’re trying to do, not just when we published it. Browse a topic, or scan everything by date below.

Bryan Friedman Stop estimating your Moderne ROI, and start measuring it Which metrics prove code modernization ROI and how to track them with Moderne telemetry. September 29, 20268 min read Read the post Matt Campbell AI can find it, but can you fix it everywhere? The playbook for secure code at scale Detectors surface findings faster than teams close them. A recipe-driven playbook for automated vulnerability remediation across every layer of your stack. September 3, 20267 min read Read the post Bryan Friedman Type-aware code search, all the way up the chain A grep can't tell you List.add is really Collection.add. Trigrep resolves the whole type chain in the index, so a coding agent gets the answer in one query. August 18, 20267 min read Read the post Patrick Vuong and Bryan Friedman Moderne is a Gartner® Magic Quadrant™ Leader. The difference is determinism. Rule-based tools can beat a purely LLM approach at refactoring, per Gartner. How the LST and OpenRewrite recipes make modernization verifiable, not probable. August 14, 20265 min read Read the post Patricia Johnson Technical debt at scale: inside SAP's refactoring program Technical debt topped SAP's own survey of what blocks developers. Harald Aamot on the ROI case, the recipe community, and holding remediation to a steady rate. August 13, 20269 min read Read the post
Stop estimating your Moderne ROI, and start measuring it Which metrics prove code modernization ROI and how to track them with Moderne telemetry. Bryan Friedman8 min read AI can find it, but can you fix it everywhere? The playbook for secure code at scale Detectors surface findings faster than teams close them. A recipe-driven playbook for automated vulnerability remediation across every layer of your stack. Matt Campbell7 min read Type-aware code search, all the way up the chain A grep can't tell you List.add is really Collection.add. Trigrep resolves the whole type chain in the index, so a coding agent gets the answer in one query. Bryan Friedman7 min read Moderne is a Gartner® Magic Quadrant™ Leader. The difference is determinism. Rule-based tools can beat a purely LLM approach at refactoring, per Gartner. How the LST and OpenRewrite recipes make modernization verifiable, not probable. Patrick Vuong and Bryan Friedman5 min read Technical debt at scale: inside SAP's refactoring program Technical debt topped SAP's own survey of what blocks developers. Harald Aamot on the ROI case, the recipe community, and holding remediation to a steady rate. Patricia Johnson9 min read Organize your code the way your company works Group repositories into organizations that match your business with a repos.csv, then scope every search, recipe, dashboard, and agent run to one of them. Bryan Friedman8 min read AI didn't break coding. It broke code review. Agents ship code faster than teams can review it. Go inside Morgan Stanley's fix for the AI code review bottleneck: risk-based PR routing at scale. Rooz Mohazzabi8 min read Challenges in post-quantum cryptography: Finding and fixing quantum threats at scale Discover how Moderne helps enterprises prepare for post‑quantum cryptography by finding and fixing quantum‑vulnerable code across massive, interconnected systems. Patricia Johnson7 min read Choice Hotels Java modernization at enterprise scale Modernize code at enterprise scale with automation. See how Choice Hotels approached Java upgrades with a playbook built for continuous modernization. Patricia Johnson9 min read Agentic coding alone can't close the Mythos remediation gap Mythos made discovery cheap. Closing the vulnerabilities it finds is a different problem. Why agentic coding alone won't close the remediation gap. Jonathan Schneider10 min read Code generation was the easy part Six engineering leaders on what gets hard after AI writes the code. Rooz Mohazzabi13 min read Modernizing off of legacy Java app servers: deconstructing to automate Legacy application modernization stalls app by app. Go horizontal across WebSphere, WebLogic, and JBoss with deterministic recipes that automate 80%. Bryan Friedman15 min read AI coding agents don't need bigger models. They need better tools. The same Java migration cost 30K tokens with the right tool and 61M without. Inside the agent tools layer: the LST, local MCP, Prethink, and Trigrep search. Patrick Vuong14 min read Kotlin Recipes for OpenRewrite OpenRewrite now ships a Kotlin DSL for declarative recipe authoring, plus catalogs for migration, performance, and Android, all built on the Kotlin LST. Jonathan Schneider16 min read Moderne Changelog: Change intelligence for multi-repository systems Moderne Changelog gives engineering teams and coding agents a unified view of pull requests, commits, and changesets across every repository and SCM system. Bryan Friedman5 min read Moderne adds C#: Native code transformation for the .NET ecosystem Moderne now supports C# and .NET, shipping nearly 700 ready-to-run recipes for migration, code quality, and test frameworks. Automate modernization across your entire .NET portfolio at scale. Andrew Stakhov9 min read Context engineering: why AI coding agents spend most of their tokens reading, not writing Only 3% of engineers said token cost was their biggest AI coding problem. 42% said agents don't fit their architecture. Why context engineering is the real fix. Bryan Friedman and Matt Campbell9 min read Local Moderne MCP: Deterministic Tools for Coding Agents The Moderne CLI runs a local MCP server that gives coding agents Trigrep search, LST-backed semantic analysis, and deterministic recipe execution, all without leaving the repo. Bryan Friedman11 min read Finding every way a Spring controller commits a response too early How OpenRewrite's taint analysis finds every way a Spring controller commits a response too early, including the edge cases pattern matching misses. Jonathan Schneider26 min read Code quality metrics that AI coding agents can actually use Cyclomatic complexity, LCOM4, Halstead defect density, test gap risk scores — how Prethink computes and surfaces code quality metrics where agents read them. Jonathan Schneider13 min read AI writes code faster than teams can trust it: Quality context is the answer AI coding agents write code faster than most quality processes were built to handle. The problem isn't the agent — it's that quality intelligence lives on dashboards they never see. This post explains how Moderne Prethink puts code quality metrics directly in the repository, where agents read them automatically before writing a single line. Jonathan Schneider6 min read The first user of your dev tools is no longer a developer What happens when coding agents use tools designed for humans? Jonathan Schneider on the four tooling gaps costing your agents time and tokens. Jonathan Schneider8 min read The PR is the easy part: What Netflix, Airbnb, and LinkedIn taught me about automated code changes at scale Engineering leaders from Netflix, Airbnb, and LinkedIn share how they build developer trust in automated code migrations — from shadow validation to PR attribution to migration fatigue. Rooz Mohazzabi5 min read From grep to Moderne Trigrep: Faster, token-efficient code search for agents and large codebases Fast, indexed code search for agents and developers. Moderne Trigrep delivers sub-second discovery, lower token usage, and scoped search across large, multi-repo codebases. Patricia Johnson10 min read Extending semantic intelligence and transformation to Python and the AI/data stack Python is now modeled semantically, enabling structured analysis, coordinated upgrades, and safe transformations alongside Java and JavaScript. Bryan Friedman8 min read Changing the AI context: How Moderne Prethink accelerates coding agents and reduces token use Moderne Prethink gives coding agents pre-resolved codebase context so they work faster, use fewer tokens, and hallucinate less in large codebases. Patricia Johnson11 min read Overview of OpenRewrite and Moderne What OpenRewrite does, how Lossless Semantic Trees and recipes work, and how the Moderne Platform runs the same recipes across thousands of repositories. Moderne12 min read Moderne Skills: Agent tools to help AI write and run OpenRewrite recipes Recipes are composable, structured, and testable, which makes them a strong fit for generative AI. How Claude Skills teach an agent to author them well once, and reuse that across every session. Bryan Friedman and Scott Jungling8 min read Spring Boot 4: The upgrade that puts money back in your budget In this Code Remix Weekly recap, Spring Developer Advocate DaShaun Carter explains why upgrading to Spring Boot 4 improves performance, lowers infrastructure costs, and keeps Java applications ready for modern frameworks, AI tooling, and long term support. The Moderne Team4 min read AI-driven code maintenance: What works at Meta, Google, and other large enterprises Why AI succeeds—or fails—at code maintenance in large enterprises. Lessons from Meta, Google, DX, and Moderne on risk, metrics, and scale. Colleen Green12 min read Semantic code search: a foundation for developer collaboration Modern engineering depends on understanding code before making changes. See how semantic search provides accuracy for refactoring, auditing, and modernization at scale. Bryan Friedman14 min read How Squarespace automated modernization at scale to simplify Spring Boot upgrades and more Learn how Squarespace automated Spring Boot and internal framework upgrades across 200+ services, cutting migration effort by 50–60% and accelerating modernization with Moderne. Colleen Green11 min read From tech debt to tech stack liquidity: A new model for modernization Technical debt is continuous. Explore how tech stack liquidity and automated refactoring help enterprises modernize faster, reduce risk, and stay ahead of framework change. Patricia Johnson11 min read Where we’re at with the JavaScript LST a month after its release A one-month update from Moderne on OpenRewrite’s JavaScript and TypeScript LST support. Learn what’s improved, what’s planned next, and where the roadmap is heading. Jonathan Schneider13 min read How to speed and scale your Spring Boot 4 migration Upgrade to Spring Boot 4 faster and with less risk. Learn how OpenRewrite and Moderne automate Java, Jakarta, Spring Framework, and dependency changes at scale. The Moderne Team16 min read Overlapping taint sources: A challenge in static analysis solved Traditional static analysis mislabels taint sources and creates noise. Learn how multi-type, usage-aware taint analysis improves accuracy and unmasks real security risks. Jonathan Schneider4 min read Moderne adds JavaScript: Universal modernization across the stack Moderne expands its platform to support JavaScript and TypeScript, delivering the first enterprise-scale solution for automated refactoring and modernization. Bryan Friedman and Patricia Johnson9 min read Get your front row seat to the new Moderne DevCenter See how the Moderne DevCenter helps teams coordinate migrations, track vulnerabilities, and align modernization goals at scale with new OpenRewrite recipe-based dashboards and real-time insights. Bryan Friedman and Patricia Johnson6 min read Writing an OpenRewrite recipe with Claude Code: From JBoss to Jetty See how AI can accelerate writing OpenRewrite recipes for migrations like JBoss to Jetty. Learn how automation improves code modernization at scale. Bryan Friedman12 min read Sharing is scaling: Moderne CLI 3.45 unlocks all-org code collaboration and telemetry Discover how Moderne CLI 3.45 enables org-wide code collaboration, telemetry, and secure large-scale modernization with OpenRewrite recipes and LSTs. Bryan Friedman8 min read Modernizing legacy code: Staying on track after 30 years of Java Learn how enterprises like JPMorgan Chase and Choice Hotels modernize legacy Java code at scale. Discover strategies for continuous Java upgrades, automated migrations, and staying secure with the latest Spring Boot and Java features. Bryan Friedman6 min read Make large-scale code changes that teams can review and trust with Moderne How teams run large-scale code changes they can trust: deterministic recipes, review before commit, and push or pull rollout across every repository. Patricia Johnson10 min read Understanding OpenRewrite: Beyond the Myths Think OpenRewrite is just a code formatter? Think again. We debunk 16 common myths about automated code refactoring and explain how OpenRewrite really works. Bryan Friedman12 min read Secure where you are: Backpatch what matters, when it matters Learn how Moderne helps enterprises backpatch critical vulnerabilities, apply secure fixes at scale, and modernize legacy systems with confidence. Bryan Friedman6 min read Modern, scalable AppSec: Advances in automation and AI security Learn how to modernize AppSec with automated fixes for legacy code, AI security threats, and compliance needs. Patricia Johnson10 min read Autonomous testing and the future of developer productivity Learn how autonomous testing, AI, and intelligent profiling are redefining enterprise codebase management and developer productivity. Bryan Friedman8 min read Banks modernize legacy code at scale with deterministic recipes and coding agents How banks and financial firms modernize legacy code without a rewrite: code as data, deterministic OpenRewrite recipes, and coding agents that call them. Patricia Johnson and Benjamin Stark7 min read Tech debt, AI, and the future of software engineering: Lessons from GartnerAPPS 2025 Explore what the 2025 Gartner Application Innovation Summit revealed about modernizing legacy systems, managing tech debt, and navigating the real impact of AI-powered development tools. Bryan Friedman6 min read Rethinking enterprise code at scale: AI, tech debt, and testability In this panel recap from Code Remix 2025, learn how engineering leaders are tackling tech debt, boosting testability, and using AI and automation to modernize massive codebases. Bryan Friedman5 min read From refactoring chaos to code confidence: How Morgan Stanley is tackling tech debt at scale Discover how Morgan Stanley addresses tech debt across 50k repos—refactor and modernize code at enterprise scale. Bryan Friedman7 min read Migrating to Spring Boot 3.5 when you're not ready for Spring Boot 4 How recipes automate Java 17, javax to jakarta, and Spring Framework 6, and where manual work remains Tim te Beek, Mike Solomon, and Peter Streef12 min read How to modernize at scale: Batch changes and mass PR issuance with Moderne Simplify and centralize multi-repository PR issuance and management with Moderne's Batch Changes capability—whether your changes come from CI pipelines, custom containers, or even Sourcegraph. Bryce Tompkins and Pat Johnson6 min read OpenRewrite and Gradle Kotlin: Technical deep dive Build tools are an essential, yet often overlooked part of software development and delivery. Maintain Gradle Kotlin with OpenRewrite now. Get the technical deets. Shannon Pamperl and Sam Snyder7 min read Introducing Moderne’s multi-repo AI agent for transforming code at scale See how Moderne's multi-repo code agent changes the game, enabling developers to understand and evolve entire codebases—not just the repository in front of them. Moderne8 min read What are embeddings, and why are they great for code impact analysis? Explore how embeddings can be a powerful tool for searching and analyzing large codebases with the help of the Moderne Platform. Justine Gehring12 min read Manage your software dependencies or they will manage you Find and fix vulnerable dependencies, direct and transitive, and run dependency upgrades org-wide with OpenRewrite recipes and Moderne. Sam Snyder and Benjamin Stark8 min read Confident coding: Making backwards incompatible changes less painful for all Stop the tyranny of breaking changes. Know the full scope of repositories impacted by code changes and help automate updates. Leanne Kerford7 min read Transforming healthcare software delivery: MEDHOST’s journey with Moderne Learn how MEDHOST tackled technical debt with automated code refactoring and quality, transforming its software delivery process. Pat Johnson and Chris Prendergast8 min read Interactions replaces Veracode with Moderne for vulnerability remediation and much more Learn why Interactions chose Moderne to automate vulnerability remediations, Java migrations, and code standardization. Pat Johnson and Chris Prendergast9 min read AI code search at scale: Finding method invocations with natural language Discover the power of searching your entire codebase for method invocations using OpenRewrite recipes that leverage a two-phase AI pipeline. Justine Gehring and Kyle Roth12 min read Mass migration of nullability annotations to JSpecify See how to migrate nullability annotations to JSpecify at mass scale using OpenRewrite and Moderne. Jonathan Schneider10 min read Meet Jente Sondervorst, software engineer at Colruyt: Moving code forward with OpenRewrite recipes Catch the Code Remix conversation with Jente Sondervorst, software engineer at Colruyt, on his work with OpenRewrite. Mike Solomon10 min read What is the Lossless Semantic Tree (LST) code model for automated refactoring and analysis? Learn about the most comprehensive code representation for accurate auto-refactoring and analysis—used by OpenRewrite and Moderne. Moderne9 min read Hear from expert OpenRewrite contributor: Shannon Pamperl Check out this discussion with Shannon Pamperl, architect from Shelter Insurance, on his work with OpenRewrite. Mike Solomon8 min read Building the Recipe Builder: A journey through invention, design, and development at Moderne Learn how we improved the way users navigate, analyze, and customize OpenRewrite recipes in the Moderne UI. Lindsay Auchinachie and Kyle Scully7 min read Introducing the Moderne IDE plugin: Researching 1000’s of repos in flow Work across multiple repositories in the IDE to search and refactor code faster and at scale while staying in the flow. Jonathan Schneider10 min read Four ways Moderne hardens your code against security vulnerabilities and weaknesses Learn best practices for combating the OWASP Top 10 risks. Elevate your security game with Moderne. Stay ahead, stay safe. Olga Kundzich and Patricia Johnson9 min read Safe, efficient ways to use AI for mass-scale automated refactoring and analysis See how Moderne is pioneering the safe and efficient use of AI for automated code refactoring and analysis at mass scale. Justine Gehring7 min read Deploying AI LLMs on CPUs: Navigating efficiency and scalability Learn about our real-world implementation of LLMs on CPUs for mass-scale code refactoring and analysis work within the Moderne Platform. Justine Gehring13 min read Streamline feature flag management: Automate removal with OpenRewrite & Moderne Eliminate feature flag management pain and unlock their value. Automate their evaluation and elimination on a mass scale for greater project efficiency and agility. Tim te Beek8 min read Stop breaking CI—annotate PRs with OpenRewrite recipe fixes as your quality gate Learn how to annotate your PRs with OpenRewrite automated fixes to keep your code moving forward. Tim te Beek and Mike Solomon8 min read Announcing AI-assisted refactoring in the Moderne Platform: Where a computer gets AI Learn how the Moderne Platform has integrated AI LLMs into OpenRewrite recipes to assist refactoring, migration, and impact analysis use cases. Olga Kundzich and Justine Gehring12 min read Technical debt management at scale gives developers their time back Manage technical debt at scale. OpenRewrite recipes encode a fix once, and Moderne runs it across every repository so developers get their time back. Patricia Johnson and Benjamin Stark7 min read Introducing the Moderne DX Edition: Fully air-gapped automated code remediation at scale Enables teams with the tightest corporate security controls to reap the benefits of automated code remediation and analysis coordinated across multiple repositories. Patricia Johnson6 min read Case study: Insurer improves developer productivity with code migration automation Learn how automated code migration boosts developer productivity by 1,100% and business value by 30%. How did one insurer do it? Dive into our case study. Patricia Johnson5 min read Analyze and understand your codebase like never before: Announcing code visualizations in the Moderne Platform Analyze and understand complex codebases at scale with Moderne code visualizations. Explain code impacts to business leadership using real-time insights. Sharon Power11 min read Introducing the Moderne CLI: A many-repo developer experience for automated code refactoring Learn how developers can work efficiently across many repositories at once to automate code updates, migrations, security, and quality—enabling more time for delivering business value. Patricia Johnson8 min read Exploring the power of Moderne data tables for code impact analysis and automated remediation Unlock the power of real-time impact analysis with Moderne's data tables. Make swift, informed code decisions and auto-remediations to upgrade and secure your code. Sharon Power8 min read The benefits of software modernization for tech stack liquidity and business agility The ability to modernize and update your software at a much faster pace is one of the most fundamental advantages your business can have. Learn how. Patricia Johnson5 min read Find personally identifiable information (PII) and secrets exposed by your APIs Learn how to find personally identifiable information (PII) exposed by APIs and protect sensitive company data. Mike Solomon6 min read Migrating from Hamcrest to AssertJ with OpenRewrite and Moderne Learn how to quickly and easily migrate from the Hamcrest assertion library to AssertJ. Get tech stack liquidity with OpenRewrite and Moderne. Tim te Beek3 min read Micronaut framework 4.0 release incorporates auto-upgrade with OpenRewrite recipes Learn about the automated Micronaut framework 3-to-4 upgrade with OpenRewrite recipes. Tim te Beek4 min read How to use generative AI for automating code remediation at scale Learn how to use generative AI for automated code refactoring at scale and why code remediation needs more than an in-line AI assistant. Olga Kundzich and Justine Gehring11 min read Dependency updates unmasked: Version bumps don’t keep your code secure Learn the limitations of patch version updates for fixing security dependencies. Dive into real data and find out what’s needed for fully automated remediation. Sam Snyder and Sharon Power9 min read O’Reilly report: Automated code remediation and securing the software supply chain Learn the patterns, practices, and tech behind automated code remediation that enable you to stay ahead of security vulnerabilities and the competition. Patricia Johnson3 min read The role of auto-remediation in DevSecOps: Improving security and speeding up development Learn about the role of automated code remediation in DevSecOps and why auto-remediation through the Moderne platform is the way forward. Patricia Johnson10 min read The future of AppSec: Emerging trends and new best practices We explore emerging trends in application security (AppSec) as well as existing and new best practices, and the shift in security vulnerability remediation. Patricia Johnson10 min read Code authorship vs. code remediation There is a clear difference between authorship & remediation when it comes to writing code; we think much more quickly than we are able to type the code... Jonathan Schneider3 min read Case study: Improving risk profile and DevEx with automated code remediation in financial services Check out this case study on modernizing code automatically at scale—Moderne fixes vulnerabilities, migrates code to dramatically reduce technical debt. Patricia Johnson9 min read How Axon Framework handles breaking changes through OpenRewrite Too many users on Axon Framework can put your business in an ever-growing pile of technical debt. Are you also facing this challenge? Tim te Beek3 min read Moderne achieves SOC 2 Type 2 certification Moderne is proud to announce that it has achieved the highest level of external audit certification, SOC 2 Type 2 - an extra layer of protection for our users. Moderne3 min read Auto-remediation of code for continuous software modernization Read how organizations can benefit from continuous software modernization - frequent transformations to larger projects that require immediate attention. Patricia Johnson10 min read