r/softwarearchitecture • • 23h ago

Discussion/Advice Everything it takes to regenerate

37 Upvotes

A few weeks ago there was a thread here called "I stopped knowing my own software", about an engineer who lost track of their own systems after building with coding agents. Their fix was creating "the first coding agent with the power of regenerative software" - turri (https://turri.dev/). You write down what the system should do and why, and that's what you maintain. The code is disposable. When the intent changes, you regenerate the code instead of fixing it.

The author just published a follow-up on what it actually takes to make that work: https://blog.turri.dev/p/everything-it-takes-to-regenerate. The pipeline looks like a mix of loop and harness engineering, with some elements of spec-driven development.

The line that stuck with me: when the intent isn't written down, the coding agent has to guess, and "every guess is legacy code from the moment it is written". Later nobody knows whether that code is needed, so nobody dares to delete it. Their answer flips that around: if everything the code is for is written down, deleting the code is safe, because you can always rebuild it.

Seems like interfaces will be the hard problem here. Anything other teams rely on that isn't written down is a guess too, and the next rebuild can guess differently. What do you think?


r/softwarearchitecture • • 11h ago

Tool/Product UPDATE: A platform to pull together existing documentation into a knowledge graph.

Thumbnail gallery
6 Upvotes

I have developed out architxt (https://architxtlabs.com) over the last 6 months or so. The point of this platform is to take existing component designs, tag with the simplest object structure and push it to an agent memory platform (hindsight). Once there the information can be queried back out in many ways like narratives, tables, mermaid diagrams and graph data.

Everything is grounded with evidence ids (generated from the backend memory system) and references - and tagging of entities within the documents creates a stable reference across documents and sources.

This platform is for those who have to spend their time finding the relevant documents for a project, archeologically piecing together the architecture from multiple sources and where you have a mountain of documents that need to be read to come up to speed quickly.

Version and evolution is done by adding additional information or new documents - the memory part takes care of evolving and consolidating multiple points of view and conflicting information.

Context patches (like system summaries, system interactions, capabilities etc) that contribute to the overall knowledge graph are all automatically built and applied - this includes add and removal of information, but also when new information is added that updates an existing observation.

Every component is fully open source (MIT) and self-hostable - this was a must for me as I think that sovereign AI still has a good future ahead of it.

With the latest version (0.5.4) it can import and extract documents like pdf, work, excel, powerpoint, html and output in multiple formats - markdown for portability, C4 (LikeC4, Mermaid, Structurizr), GraphML, Archimate, Cypher, GEXF, JSON, CSV.

It supports workspaces for querying and piecing together documents to use downstream and also persistent version tracked views for those targeted areas of interest. These activities can be done via MCP now.

No large models required, e.g. gpt-6-luna is more than capable to handle all tasks end to end.

In the last post I said it wasn't going to attempt to cover ADRs etc - but I think I will. The next parts will be Domain/Capability and ADRs - both drawn from additional data added to a related knowledge bank (another addition from the agent memory).

Its there to get the information into a solid state before attempting to use it. It also doesn't attempt to replace platforms such as LikeC4, Archie, Draw.io etc - one of its core purposes it be able to get the information out as quickly and in a portable format.

It would be great to hear opinions and questions from others who are working in this area and exchange ideas or to challenge what I have presented above. Check out https://architxtlabs.com for the full documentation, there are demo environments available if you would like to assess it.

Also, if you want a bit of a laugh, check out my linkedin posts - I try to do something remotely amusing video wise for each release - https://www.linkedin.com/in/gareth-cooper-ab75b7408/

Thanks!


r/softwarearchitecture • • 16h ago

Article/Video Build a Production LLM Serving Stack on Kubernetes

Thumbnail deepengineering.net
4 Upvotes

If you're moving LLM inference from a single GPU into production, this one is worth bookmarking. We've published Chapter 9 of Fuheng Wu's Distributed AI Systems as a free deep dive. It covers API gateways and routing, canary releases, autoscaling and backpressure, a local GPU-enabled Kubernetes cluster with k3d, and llm-d's production stack, with runnable code throughout.


r/softwarearchitecture • • 4h ago

Discussion/Advice How important is software architecture for a developer in 2026?

9 Upvotes

I've noticed that many developers focus on learning programming languages and frameworks, but not much on how to design and structure an entire application. I'm curious how important software architecture is when building real-world projects. Should beginners start learning system design and architecture early, or should they focus on coding and gain experience first? Also, with AI tools making development faster, do you think understanding software architecture will become even more important in the coming years? Would love to hear your thoughts.