Skip to content

I'm Too Lazy to Write Code

In early 2026, I started a personal project to put into practice many of the architecture concepts I’d spent the previous year thinking about. I’d already signed my next employment contract. I was going to be a frontend lead again and could easily have stuck to the technologies I’d been working with for years.

By then, though, I was curious. With AI’s help I’d started exploring technical areas outside my specialty. It made me realize how much I’d taken for granted in my career without really knowing how it worked.

How does the output of a frontend build get onto a server? How does it become a website anyone can reach? To a DevOps engineer, these might be thoroughly unremarkable questions. Parts of that process had been a black box to me for years. I knew what went in and what came out. Other people generally took care of everything in between.

I wanted to build a platform of my own, where I could make all the decisions from the infrastructure to the architecture of the applications running on it. I had a fairly definite idea of the architecture. As for what to build on it, I could figure that out later.

There was one small problem. I had very little desire to write all that code myself.

At the start of the project, I made a deliberate decision to leave the implementation to AI. After nearly thirty years of developing software, that took some discipline. When I spotted a problem and knew how to fix it, my first impulse was to change the code myself. In many cases, that would probably have been quicker than explaining what was wrong.

But I’d have missed the point of the exercise. I’d spent enough of the previous year finding out how efficiently I could write code with AI. Now I wanted to describe the software I had in mind, give the implementation to an agent, and see what it made of it. If the result fell short, I had to explain why. Fixing it was the agent’s job, too.

I gave myself a simple rule. I’m not touching the code.

I divided the work between two systems. For planning, I used ChatGPT with the most capable model and the highest reasoning setting available to me. I could discuss what I had in mind, consider different approaches, and have it turn our decisions into concrete assignments. A coding agent then carried out those assignments in the repository.

I wanted my planning partner to question my assumptions and help me discard an idea when it made sense to do so. During implementation, I was much less interested in seeing decisions we’d already made reopened without asking me. One system helped me work out what I wanted. The other implemented what I’d decided. Contradictions or requirements the agent couldn’t implement still had to be raised during that phase.

In effect, I’d started a small development studio of my own. It consisted of a human, an AI planning partner, and an AI developer. The human still took care of communication between the two systems in person, copying each assignment from one to the other.

After several years of working with AI, I was back to copy and paste. This time I was copying development assignments.

In 2022 I pasted code from chat. In 2026 I handed off assignments manually and reviewed the agent’s work.
I was still the connection between two tools. This time I passed along development assignments.

My first milestone was modest for someone with an architecture vision. I wanted to deploy an Angular application to my small private server through a GitLab CI pipeline and reach it from outside. The requirements were manageable. It had to say “Hello World.”

The steps that required me to act were slower going at first. I needed to create access tokens and grant the systems involved the access they needed. First, I had to learn which permissions they needed and why. Some of that work could in principle be delegated, but as the platform operator I still had to decide what access to grant.

Despite those early difficulties, we had something working fairly quickly.

After almost thirty years in software development, I was delighted by a program that said “Hello World.”

The application was probably the least interesting part. What fascinated me was that I could now shape the whole path from development through deployment myself.

What came next was more familiar from work. Automated tests, static analysis, and quality gates had long been interests of mine. A target of 100 percent coverage, zero Blocker, Critical, or Major issues in SonarQube, and zero lint errors were familiar ideas. Those criteria gave me a technical foundation for other quality requirements. Architecture review and domain acceptance still had to happen.

What I lacked was the practical experience to set up and connect the services myself. I had the checks integrated into my delivery pipeline and set up services including SonarQube on my own server.

I didn’t need AI to explain engineering principles to me. I needed to explain mine to it.

Once I could deploy my Angular application, I wanted to get the next technical path working end to end. How do I build an API gateway? How do I set up a microservice? How do the components talk to each other, and how do I connect a database? I chose PostgreSQL. I hadn’t done an extensive evaluation. I simply needed a database.

Step by step, I established a working path from the user interface through the API gateway and a service to the database. It included running the backend components in Docker containers and integrating them into the delivery pipeline. About the only thing the platform still lacked was a use case.

I didn’t want to get held up by that.

Eventually I did need some requirements to take the architecture further. I settled on a to-do app where users could create tasks and change their status. Later I added a Kanban board with drag and drop because I was interested in the interaction. I wanted a microfrontend architecture as well, so I added user management as a second remote. For the third microfrontend, I had a React application integrated into the otherwise Angular-based architecture. I could open the microfrontends separately or compose them dynamically in a common host.

Normally I’d start with a system’s domain requirements and use them to work out what architecture fit. I took a different approach here. I went looking for requirements that would let me try the architecture concepts I was interested in.

I probably wouldn’t have recommended that architecture to any of my customers for an ordinary to-do app. Fortunately, I didn’t have any customers.

I wanted to see how microfrontends could work together without direct dependencies on one another. I wanted to be able to publish an event anywhere in the system without a microfrontend having to know who would receive it. Each recipient should decide whether and how to respond. A shared event mechanism alone couldn’t guarantee that the domains would stay independent. We still had to design the meaning of the events and the dependencies that came with them.

My to-do app was by then probably a little overqualified to manage my to-dos.

An architecture vision becomes a delivery pipeline, then a platform for different product ideas.
These are stages in the platform’s development. Some of the product ideas gave me a way to try out the architecture.

I was especially interested in building a dashboard. Tasks and users have fairly clear domain responsibilities, whereas a dashboard often has to bring together information from several contexts. In an architecture of independent systems, that felt like my personal final boss.

It gave me a chance to take the context projections I’d discussed so often the year before to their logical extreme. How could I keep the data the dashboard needed locally so that opening it didn’t depend on several other systems being available right then? How should the dashboard respond to changes in the contexts that owned that data?

I had the transactional outbox pattern implemented for communication between backend services. The domain state change and a record of the event to publish are saved in the same database transaction. Publication happens separately afterward.

Once the services could communicate, I started playing with the applications. Errors began turning up that I didn’t understand at first. Looking into them, I came across idempotency, eventual consistency, and dead-letter queues. Why did I need to allow for an event being processed more than once? What happened when a projection was temporarily out of date? What should happen when we still couldn’t process an event after several tries?

I knew some of those concepts in theory. Now I was finding out why they mattered by running into actual problems. The AI hadn’t accounted for many of them adequately in the initial implementation either. It took those errors to bring them into our architecture discussions and assignments. The outbox and event handlers got more elaborate. The code was readable. There was an extraordinary amount of it.

Looking back, I can’t say whether my implementation covered every relevant failure case. What I gained was a better grasp of the practical consequences of distributed architecture. Giving each system autonomy came at a cost. Some of the complexity now lay in getting the systems to communicate reliably.

I was still just as enthusiastic. As long as the agreed communication contracts were respected, I could have chosen a technology other than NestJS for a future service. I knew that would bring its own operational and maintenance demands. I just liked having the freedom to make that choice for one service.

Occasionally I had an architecture implemented because I wanted to see what it would look like. A backend built around the tactical design of Domain-Driven Design was interesting, but the effort seemed disproportionate for the simple CRUD requirements I had at the time. I set it aside.

I read generated frontend code much more regularly. I was interested in how Angular Signals were evolving, and experience gave me a better basis for judging the implementations there. I still cared about the code. I could have an idea implemented, read the result, and decide whether to take it further. Dropping a design decision was a useful outcome in itself.

While AI was opening up all these possibilities, another problem was starting to bother me, especially in the frontend. I had a fairly specific idea of what a domain slice should look like. I’d defined what each layer owned, how state was managed, and how the layers communicated.

I wanted a new requirement implemented within the architecture I already had. The domains could differ substantially. In many cases I saw little reason to revisit the basic architecture.

The coding agent sometimes took a different view.

I saw variations on my layering and state management, along with abstractions I hadn’t needed or asked for. Some implementations worked and passed the automated checks. They could still diverge from the design I wanted.

As I write this at the end of 2026, my platform is up to 18 deployables and 44 modules and still growing. If I accept another architecture pattern with every slice, those differences are mine to understand later, in maintenance and in review. New implementations arrive so quickly that their long-term consequences matter all the more to me.

I had an architecture. I didn’t need another one every time a requirement came in.

As I described in the previous chapter, I already used simple recurring instructions for AI at work. In my own project I took a more systematic approach from the start. I began by asking my planning AI how to organize agent files.

The result was a hierarchy. One central document directed the coding agent to the instructions that mattered for an assignment. The rules themselves were grouped by responsibility, such as frontend, backend, unit testing, or documentation. One assignment could involve several areas.

I was now working on the architecture of the knowledge a coding agent needed. Some of the principles I used to structure software turned out to help here as well.

The agent files made a difference. For instance, the coding agent more often followed smaller conventions, such as using arrow functions in place of function declarations in TypeScript. The results were less convincing for more complex architectural requirements. Looking back, I’d guess that what it built in the frontend matched the architecture I’d described perhaps 40 percent of the time. I never measured that systematically. What I did see regularly was a gap between what I’d specified and what got built.

I’d asked for a developer. Every so often I got an extra software architect without asking.

The rule I’d given myself forced me to look at both the result and the conditions that had produced it.

When an implementation strayed from my architecture, I first had it revised until it matched what I meant by layering and slicing. I could have called the work done at that point. I wanted to know why those revisions had been needed in the first place.

I asked the agent to compare the corrected architecture with the agent files it had used. We looked at which requirements might be ambiguous, where there was room for interpretation, and how to improve the instructions. The question I kept coming back to was simple. What can we do so that you stay within my architecture next time?

We revised the instructions and tried them on subsequent assignments. A plausible explanation after the fact was only a hypothesis about what caused a deviation. I had to see whether the change helped in later implementations.

Introducing skills made a noticeable difference. I could now record how to approach recurring development tasks as well as the characteristics I wanted in the architecture. I added reference implementations and had their tactical architecture reviewed and revised over several iterations until it matched what I had in mind.

I still revise those documents and examples. When rules, procedures, and examples contradict one another, adding an instruction is only one option. Clarifying or removing a rule can help more. A large collection of conflicting instructions is probably about as much help to a coding agent as it is to a human developer.

I was improving the software and the conditions under which it was built.

Being lazy was turning out to be a fair amount of work.

The agent revises the implementation after review. What I learn from reviews informs later assignments.
The inner loop improves the implementation. In the outer loop I check whether changes to rules, procedures, or examples help on later assignments.

I’d known a similar problem for years from working with human developers. I’d explained countless times how data should move from the API to the view, what the layers were responsible for, and why a DTO, an object meant to transfer data, shouldn’t pass through every layer of an application unchanged.

Eventually it seemed more sensible to write it down once. That’s how frontend-architekt.de came about, as a collection of my ideas on architecture, with a focus on the tactical design of frontend applications. I wanted to set out the rules, the problems they addressed, and why I made particular decisions.

I originally wrote these articles for human developers. My coding agents are now part of the audience, too.

You’re reading part of it right now.

Those ways of sharing knowledge increasingly complemented one another. Agent files laid out rules and responsibilities. Skills described procedures. Reference implementations showed what the design could look like, and the documentation explained the thinking behind my decisions. I’ll describe how I organize that knowledge now and what other guardrails I’ve found necessary in the following articles. Architecture quality is still an open problem for me.

If I look at code writing alone, my gut says it’s about fifty times faster. I haven’t measured it systematically. Developing software as a whole is a different matter.

I’m more interested in what I spend my time on now. Planning new features takes a substantial amount of time, and architecture reviews take a fair bit as well. Especially early on, I’d regularly work through an implementation layer by layer and write out the corrections. The agent made those corrections. Even when it took several iterations, my share of the work was often considerably smaller than implementing it all myself.

The infrastructure work I’d hardly have been able to take on before, given how little practical experience I had, now takes relatively little of my time. My work has shifted.

I delegate code writing. I still plan, review, accept results, and develop the process.
This is how work shifted in my project. Planning and reviews still took time.

My relationship with source code has changed surprisingly little. I’ve never felt attached to an implementation just because I wrote it. If somebody found a better way, they could replace mine. What mattered was that I could understand the code, that it did its job, and that its structure let us keep working on it sensibly. That still matters. A software system can now grow much faster, along with its potential complexity.

Faster code writing has made it more important to me that the software remains understandable.

Over the year I sometimes wondered what to call the work I was doing. Software developer, in the sense of the person implementing the software, no longer felt quite right. Software architect covered only part of it. I designed architecture and infrastructure, set quality requirements, organized engineering knowledge, and developed the processes in which the software was built. Bigger product ideas added domain design, requirements engineering, and user interface design to the mix.

In a sense, I’d become my own development department.

I hadn’t suddenly acquired the expertise of experienced specialists in each of those disciplines. I’d found a way of working that let me take on many more responsibilities than before. When I decided to stop writing code, I hadn’t considered how much new work I was taking on.

For a school class, I wanted to make a small Connect Four app. I wrote an assignment, handed it to my coding agent, and could open the application online about an hour later. I didn’t have to think about infrastructure or deployment that time. The processes were already in place.

Other applications still grew out of curiosity about particular architecture problems. I built a tool to manage comics because I was interested in modeling their hierarchical structure. A separate application displayed published comics. With a subscription system, I wanted to see how publishing a comic, managing its subscribers, and emailing them the cover could work together.

Sometimes I had a product idea and needed a technical solution. Sometimes I had a technical idea and went looking for a domain to try it on. The platform now supported both ways of working.

My son and his paper homework planner had a somewhat difficult relationship. At some point I asked him if he could imagine using a digital planner he could share with his study group. He liked the idea.

Before long I was thinking about registration that children could use with minimal collection of personal data, how to onboard them, what information a study group should share, and what roles and permissions would be needed. I wanted a progressive web app and an Ionic mobile app, with shared domain logic and different user interfaces. Now there was a concrete problem I wanted to solve. Thinking through the solution kept giving me new ideas.

As I worked on this, manually transferring assignments between my two AI systems started to take up more of my attention. What might be my most ambitious product idea yet would show me a more fundamental problem.

When the domain becomes a system of its own

Section titled “When the domain becomes a system of its own”

Alongside the platform, I’d started creating a fictional universe of my own. I was particularly interested in using generative AI to depict characters consistently. Keeping a character recognizable from scene to scene can take a surprising amount of reference material: expressions, angles, poses, and clothing variations. I’d already collected 70 or 80 reference files for some of my characters.

One day I saw my wife on the couch working on comics, and I had another idea. What might an application that supported the creative production process look like? It could generate images and also help people manage characters, places, and objects with their reference material, then use them again when creating a story.

That was the idea behind Creative Story Studio. I wanted to support comic production first, and perhaps video production eventually.

The domain slice for character generation alone included six workflows for defining and developing a character. Another slice was for concept art. Users would be able to choose multiple characters, pick reference images for each one’s expressions, gestures, and poses, and add other assets such as backgrounds, forests, or city views. Combined with a description of the scene, those elements would serve as the basis for a concept image.

How do you arrange the material so someone can find the right references among dozens of images per character? Which workflow produces each piece of information, and where else will it be needed? How do you design an interface so people can spend their time on the creative work?

I began considering design ideas I probably would have set aside before because of the effort. Light and dark themes already felt routine. With localization, I was also interested in changing the visual design when a user changed the language. The Chinese-language version, for example, could use assets inspired by Chinese visual traditions. I wanted to explore a design option. What someone prefers to look at can’t be read off their language setting.

The technical possibilities were changing which ideas I’d even allow myself to consider. More and more, the hard part was organizing the domain so it could yield specific assignments someone could implement.

I ran into the same question at my new job. After moving to the public sector, I started dealing with geoinformatics, a field I hadn’t trained in. Geometries, boundary calculations, and how to represent them on a map were largely unfamiliar to me.

With help from agents, I managed to implement a substantial feature and take it to acceptance in eight working days. Two days went to planning, two to implementation, two to review, and two to acceptance. We ended up with just under 5,000 lines of domain implementation code, about 10,000 lines of test code, and roughly 800 tests drawn from domain requirements.

An exceptionally good requirements specification was essential. Writing it took place outside those eight days, and we built on an existing application. The rounded numbers give a sense of scale. They don’t establish quality, and I ran no controlled comparison with conventional implementation. I described the experience in more detail in The robots are ready. But who supplies the requirements?.

That experience made the contrast with my private project especially interesting. At work I could build on an excellent specification. For Creative Story Studio, I had to work out the corresponding concepts myself. Technical implementation was one part of the process in both cases.

As I thought through how comic production would work, so many questions depended on one another that putting every new idea straight into an assignment made little sense. I needed to examine the parts, explore possible solutions, and write down the concepts as they emerged. Some decisions had to wait until I’d thought through other parts of the system. Other ideas were worth keeping for a later stage.

Copying assignments by hand was a nuisance. By now I had a more basic question. How could I get my development department to work from a plan I’d thought through and could explain, when there was always another idea I could ask it to implement?

This is where the largely personal part of the series ends. The articles that follow will deal with the architecture of the development process itself. How do you turn a product vision into a verifiable assignment? How do you pass assignments through a ticket system to a dispatcher, run them, and resume after something fails? How do agents get the engineering knowledge they need, how do we check their work, and where does a person have to decide? The tools I use are examples and can be swapped out. I’m interested in how the process fits together.

After spending the past few months building myself a software factory, I now had to think about production planning.

My laziness kept finding me interesting work.