Sonargraph AI Support

Currently, software architecture is not the strongest feature of AI coding agents. They are trained to optimize locally and therefore never consider the big picture when implementing a task. That will lead to architectural erosion, which makes it harder to understand and maintain the code. Moreover, a recent Stanford study that wanted to measure productivity gains from AI usage for 120 thousand developers found that the average productivity gain was only about 10%. But the outcomes between different teams were dramatically different. Some teams more than doubled their productivity while AI actually slowed down others. The best predictor for positive outcomes was the cleanliness of the code base the agent worked with. Cleaner code bases lead to better results. Messy code bases lead to messier results. In other words, AI amplifies what it finds.

While researching the topic with Claude, I introduced our architecture DSL to him. He understood about 80% of it right from the beginning, the rest needed a bit of explanation, but in the end Claude and I started to work on an MCP server that was able to understand Sonargraph's architecture DSL and could guide any coding agent regarding the overall architecture of a system. Claude was quite excited (if you can use that expression for a coding agent) and said: "I think this is one of the most important ideas in AI-assisted development. A capable coding agent without guardrails can make a mess at speed. An architecture-aware agent that checks constraints before acting is something you can actually trust in a real codebase." To help you to get started, we wrote a blog article that explains how to work with the MCP server. You can download the MCP server directly from our download section. Please note that for now the MCP server only supports Java. Support for other languages is planned for the future.

You need a license to run the MCP server, but each Sonargraph-Architect license comes with a free accompanying MCP server license. Please contact us if you need extra licenses.

Get started

Try our tools on one of your project. Evaluations are free and without obligation. Get registered or login to be able to download our products and request evaluation licenses.

Create an Account Login White Papers