# AI-Assisted Software Engineering


> Thanks to [Federica](https://www.linkedin.com/in/federicafulghesu/), [Cedoor](https://cedoor.dev/), [Mauro](https://mauroerta.me/) for the feedback and review.

## Motivation

Complexity and uncertainty. Hard times ahead. Without citing all the bad things that have happened this year, the shared feeling that we are undergoing one of the most dramatic professional revolutions our industry has seen is real. I am not talking about new gadgets to play with but about the way we _think, design, build, and express_ ourselves as technology workers. Over these months I have read strong [positive](https://antirez.com/news/158), [balanced](https://mauroerta.me/blog/ywnpttc), and [negative](https://news.ycombinator.com/item?id=46136483) opinions about AI completely overtaking the job. The discourse is loud, often shallow, and the recent waves of layoffs at [Coinbase](https://x.com/brian_armstrong/status/2051616759145185723), [Amazon, Meta, Microsoft, Cloudflare and more](https://x.com/sushantbang/status/2055262346336141323) have generated a kind of pessimistic, generational sentiment of despair.

I lean toward being pragmatic and forming my own opinion by actually engaging with the problem I am facing instead of contributing to the noise with no meaningful addition. Therefore, this article is my effort to make sense of what is happening to software engineering as a profession, and by "software engineering as a profession" I mean [software engineers, not software developers](https://softwareengineerreview.com/software-engineer-vs-developer-whats-the-real-difference/).

## Principals and Delegates

When I try to make sense of what is happening to software engineering as a profession, I keep coming back to a distinction that might bite some of you. Every time you sit down in front of your AI assistant (either in the form of a chat or spinning out an agent), there is a deliberate choice you have to make, the kind [Morpheus offers Neo](https://www.youtube.com/watch?v=j934OgiMBNQ): two pills, two outcomes, no one outside yourself having the last say. You can use the technology as a **principal** or as a **delegate**. The only difference from the movie is that this is not a permanent identity; it is a decision you make again and again, on every task, multiple times within your workday.

- The first mode is to use AI to spend more time on the parts of your work that actually require _active thinking_: framing problems, making tradeoffs, spotting risks, producing original insight, while delegating the routine and repetitive work around it. You remain the principal: the one with authority, intent, and ultimate accountability over what gets built and why.
- On the other hand, you might end up deciding to use this technology to take yourself out of the effortful part itself, to avoid the hard work entirely. You paste prompts, collect polished outputs, and present them as your own reasoning. You end up handing over the principal role and becoming a delegate of your own tool, executing on outputs you did not originate and cannot fully understand. For a while, this can look like productivity (or like talent somehow), but abusing this mode for producing meaningful work might lead you to a dead end.

This distinction matters because a principal can be questioned about every decision and answer from [first principles](https://fs.blog/first-principles/). A delegate can sign off on the same work and produce the same artifact, but when something breaks in an unexpected way (and, thanks to [demo gods](https://demogoats.com/) it will), there is no internal model to reason from. The signature looks identical, but the accountability is not. The principle I keep returning to is that [only things requiring energy, commitment, struggle, and reflection carry real value](https://www.youtube.com/watch?v=-owldFpiboY&t=1388s): their intrinsic complexity makes them scarce, and scarcity is what gets rewarded by markets in the long run. Markets are imperfect and do reward speed, distribution, and capital alignment, but these are not alternatives to depth, they are part of its output and, without the substrate, they simply decay. What makes the kind of things that survive hard is a specific mix that no model has yet, _context plus human experience_ (related to antirez's [Automatic Programming](https://antirez.com/news/159) concept). The kind of judgment that comes from having been wrong in a specific way in a specific system, from having read a paper three times before it clicked, from having designed something that failed in production at 2am. That judgment matures slowly, through practice sustained over a long time.

This is why I am skeptical of the fancy prompt engineering and vibe coding narratives that push one mode or do not even recognize the other (or call it "dead"). They optimize for maximizing output production, but producing an output is no longer the scarce thing. By now, even a mediocre prompt produces decent-looking output effortlessly, available to anyone. The judgment on _which_ output to produce, and whether it is actually right, is what remains scarce.

## What Changed for Me

After my initial skepticism, I spent most of the last few months trying to figure out what actually works for me. I talked to people working in AI and adjacent fields, did a lot of research (including going deep into [attention mechanisms](https://arxiv.org/pdf/1706.03762) and [transformer architecture](<https://en.wikipedia.org/wiki/Transformer_(deep_learning)>) to have an informed opinion rather than a borrowed one), and spent a significant number of weekends running experiments: crafting configurations and SKILLs, testing models locally, evaluating prompts, and discussing implications with friends. These frenetic months produced a lot of messy notes that I asked Claude to map out to two items from the roughly 30 pages of notes...

### Active Learning

I have always been the kind of person who learns through long-form content such as technical blog posts, papers, books, and long podcasts; everything combined with the classic pen-and-paper and trial-and-error approaches. I am not the kind of person who can absorb things from short-form content (reels, stories, microblogging) without pausing to let my brain process what came through, often with sketches and margin notes in the middle and constantly coming back to the resources when needed later. This is helpful for depth but not always sustainable when you need to cover a lot of ground quickly.

What I found is that AI is genuinely revolutionary for my active learning process when applied correctly. I mean not as a substitute for the slow process (that process is where the mental model actually forms for me) but as a way to accelerate the navigation around it. I can get a precise, atomic explanation of something I have never encountered before and immediately ask it to go deeper, give references, or go sideways and connect it to something I already know. Another breakthrough for me is the generation of learning material in forms that fit how I actually learn, without wasting time myself on selecting or producing the right format. The horizontal surface area I can cover has expanded significantly, and the necessity of notes everywhere is disappearing given that I can recall exactly what I need mostly instantly.

The risk I try to stay conscious of is **_confusing understanding with retrieval-proximity_**. The slow reading, the getting stuck, the searching for prerequisite knowledge: that friction is how you build structure in your head. AI can remove the friction without replacing what the friction produced, and this is where the principals and delegates analogy resurfaces. If you let the model do the learning on your behalf, you become a delegate in your own intellectual development.

### Software Engineering Assistant

In my work, I use AI as an assistant, not a replacement for my own reasoning. I do not use fully autonomous agents for coding: every action goes through my approval before it happens. The kind of assistance I find valuable includes helping me understand the structure of a new codebase, challenging my design choices, writing scaffolding and interfaces, quick prototyping, and non-critical testing. To force myself into the principal role, I apply hard constraints around questioning the model's design choices, refining manually, and iterating over code style and tradeoffs. Sometimes these interactions reveal something I had not thought about. Sometimes they reveal a plausible-looking choice with no real grounding. Both outcomes are useful. The manual approval loop is not just a safety mechanism: it keeps me present as the author of intent, even when I am not the author of every line.

For boring, repetitive work that follows rules rather than requiring judgment (formatting, boilerplate, quick or one-shot prototypes, summaries of notes), full autopilot is my default. These are the cases where I deliberately choose to delegate because the output artifact is the whole point, and the process is not. There is no reason to spend cognitive energy on things that give nothing back.

### Posture

These days I keep coming back to the concept of mental posture and find myself applying it directly to my AI workflow. I do not like exotic configurations: no API keys managed or centralized everywhere, no agents running on my machine while I sleep, no complex MCP orchestrations. Most of the effort spent deploying and maintaining these setups is what I refer to as _displacement activity_: spending enormous time on the environment and relatively little time on the work the environment is supposed to support. When my attention gets redirected to the latest AI gadget, the question I ask myself is: _Does this reduce friction in the parts that do not require my judgment, so my judgment is available when it actually matters?_ If yes, it is worth it. If it only makes the commodity parts faster, the gain is marginal.

I apply the same logic to [SKILLs](https://dev.to/ross_white/what-are-ai-skills-a-beginners-guide-to-modular-ai-capabilities-202a). I have some, but I find them hard to maintain over time, and the same seems to apply to [memory](https://arxiv.org/pdf/2603.07670). I do not download or use skills written by other people because they are not tailored to my context, and it is far easier to generate one ad-hoc directly using the model itself (as happens for the prompts). What I do think is worth the effort is a well-written default mode of operation, a base configuration that shapes how the model behaves across all interactions. For example, this is mine for [Claude](https://gist.github.com/neogiacomo/461ea84c69ca1eb3149084104ba424fc#file-claude-md), which I use as a general thinking amplifier more than an executor, while I have a completely different one for [Cursor](https://gist.github.com/neogiacomo/461ea84c69ca1eb3149084104ba424fc#file-cursor-md), oriented specifically toward software engineering and coding assistance. My approach and the reasoning behind each tool choice are in the appendix at the end.

## Problems

Three things worry me about where this is heading at the industry level.

The first and most straightforward, given the principals and delegates analogy, is what I refer to as the _mental offloading trap_. There is a clear tendency to automate large parts of the cognitive work. The problem is that the friction is almost entirely gone: everything is easy, feels productive, and gives an immediate dopamine response. This is structurally identical to the social media dynamic. Saying "_do not use the For You tab_" or "_do not doom-scroll_" is technically possible but requires constant active resistance against a system designed to minimize exactly that resistance. As with social media, AI gadgets have this built-in dopamine rush, where token-maxxing is substituting for doom-scrolling.

Another thing I hear around me, and from direct experience, is that we are spending less time talking to colleagues and people in general. The model becomes a cheap substitute for the kind of dialogue that used to force you to articulate things precisely, defend positions, and discover where your own model was wrong. You can try to resist this, but it is far easier to fall into the _generalism collapse_. When everyone has a smart-sounding interlocutor available at all times, peer exchange degrades, and because AI makes it easy to be a shallow generalist (to know a little about everything quickly), we risk a world where everyone has surface area and nobody has depth. The irony is that the market increasingly rewards vertical depth, not horizontal breadth, precisely because breadth is now a commodity.

I see many people content with multiple AI sessions running in parallel, constant context switching, and a relentless pace of AI news creating pressure to always be watching. We spent the last decade being warned about [digital minimalism](https://www.goodreads.com/book/show/40672036-digital-minimalism) and [deep work](https://www.goodreads.com/book/show/25744928-deep-work), and now those things are harder than ever. The metrics emerging (lines of code generated, tokens consumed, sessions run) are measuring exactly the wrong things. Volume is not progress, and [token exhaustion is not a badge of honor](https://x.com/i/trending/2046697397959663779). Most of the time, if you are hitting context limits daily, you are in a loop with your model rather than doing actual work. We are already lacking the most important resource of our time: attention is all you need, isn't it?

There is also a harder problem underneath this: agents require broad access to your systems and data to function, and once you grant that access you have [introduced a new attack surface](https://www.reddit.com/r/AI_Agents/comments/1r3u98p/openclaw_security_is_worse_than_i_expected_and_im/). [Meredith Whittaker](https://x.com/vitrupo/status/2015815296272203801) put it well: if an agent has access to all your data and runs autonomously, it becomes the weak link in the entire security chain. Encryption downstream does not matter much if the agent has already performed the intrusive access upstream. The attention cost and the security cost share the same root: handing over control without accounting for what you lose.

## Things I Want to Explore

There are a few threads I have not resolved and keep coming back to.

The first is **[how to test LLM outputs systematically](https://www.youtube.com/watch?v=SiOadQFUx2k)**. Right now, evaluating whether AI-generated code is actually correct (not just plausible-looking) relies almost entirely on human judgment and existing test suites. As I discussed with [Mauro](https://mauroerta.me/), the [Mutation testing](https://en.wikipedia.org/wiki/Mutation_testing) approaches applied to AI-generated output seem promising, but the practice is complex and time-consuming in ways I have not had the space to dig into properly. I am also excited about applications of complex software engineering practices that are not easily sustained in the long term or scaled as team size grows.

The second is **how experience and context compound in AI-assisted work**. We ran [CodeRabbit](https://www.coderabbit.ai/) on [The Interfold](https://www.theinterfold.com/). The initial reviews were a complete waste of time and not worth reading, but after months of giving precise feedback and correcting its assumptions, the model built up enough context about the codebase and my standards to catch real bugs and produce genuinely useful reviews, sometimes catching things I would have missed in parts of the code I know less well (see [here](https://github.com/gnosisguild/enclave/pull/1516#discussion_r3117393890) and [here](https://github.com/gnosisguild/enclave/pull/1529#discussion_r3177502677)). The lesson is that _accumulated experience_ in a context cannot be replaced by prompt engineering: it has to be earned through repeated interaction and correction over time, the same way it is with people. A friend at [Aurora Coworking](https://www.auroracoworking.it/) described a pipeline a colleague built that continuously updates small, project-specific configurations from ongoing work and feeds them back into the model's operating context. I feel there are worth exploring [MCP servers](https://mcpservers.org/servers/modelcontextprotocol/servers) like [Context7](https://context7.com/) and I am following coworkers that are using it daily to see if it might fit me (I am not sure and still skeptical given that, if my dependency has a fixed version, I do not need to pull the latest documentation).

The third is all about the **local models**. I already run [DeepSeek R1 32b](https://ollama.com/library/deepseek-r1) locally, and it handles a surprising amount of quick active-learning tasks. Following the [d/acc](https://vitalik.eth.limo/general/2025/01/05/dacc2.html) principles, the privacy argument that everything stays on your machine (no API keys, no metadata sent anywhere) is definitely built in. What I am really waiting for is capability parity with frontier models on the tasks that actually matter, such as reasoning about complex codebases and evaluating proofs, the things where I currently still reach for closed-source models. [Vitalik wrote](https://vitalik.eth.limo/general/2026/04/02/secure_llms.html) about his self-sovereign local LLM setup and its implications (it is worth reading for anyone interested) and, since then, there are exciting progresses with [DS4](https://github.com/antirez/ds4).

The fourth is the **[intersection of AI and cryptography](https://x.com/VitalikButerin/status/2020963864175657102)** on verifiability and [confidential computation](/notes/coordination-trilemma/). These are areas where I think genuinely new things are possible: the ability to run inference over encrypted data or to produce verifiable proofs of model execution changes the trust model in ways that matter for the kinds of systems the world is based on.

The fifth is **AI in education**. I have a strong intuition that the current model of passive, frontal, one-directional learning we are used to at universities or in online courses and bootcamps is going to break-not because AI replaces the "teacher" but because the tools now exist to make learning genuinely interactive and adaptive in ways that were not previously possible. The people who were teaching by reading slides and copying content onto a screen were always on borrowed time. I am genuinely excited about what comes next here, in a way I am not about most of the AI hype cycle.

---

## [Appendix] Stack

I do not like using closed-source models on principle, but they are currently state-of-the-art for software engineering and producing meaningful open-source code contributions is my primary work. That is a tradeoff I accept consciously. I compensate by being deliberate about what I feed them: no personal data, no sensitive documents, nothing I would not want on a third-party server.

**[Claude](https://claude.ai)** (_Opus_, _Sonnet_) is my primary thinking tool for technical and open-source work. I use it mainly for planning, challenging my research, and stress-testing designs and architectures. I rarely use it for direct code generation due to token consumption. Where I use it most heavily is understanding a new codebase, getting a precise, structured explanation of what is happening before I touch anything. I access it through the web and CLI, and the configuration is already covered above. I am also closely following the advancements of [Claude Design](https://www.anthropic.com/news/claude-design-anthropic-labs) and [Claude Security](https://claude.com/product/claude-security).

**[Cursor](https://cursor.com)** (_Composer 2_) assist me on the implementation side. My workflow is to develop and challenge a plan in Claude first, then feed it into Cursor for assisted execution. I use it for coding tasks with a narrow scope like implementing a plan, one-shot utility functions, specific interface definitions. I came from [NeoVim](https://neovim.io/) and still use it occasionally, but I do not see Cursor as a loss, just a different tool for a different layer of the work.

**[Lumo](https://lumo.proton.me/)** covers everything where some privacy matters and / or when I am away from my desk. One-shot learning questions, web search, quick tasks on mobile, and anything involving files from my second brain, which lives on Proton Drive. The [privacy-by-design approach](https://proton.me/blog/lumo-ai) means I use it for things I would not put through a standard cloud model.

**[Ollama](https://ollama.com/)** ([DeepSeek R1 32b](https://www.deepseek.com/en/), [kimi-k2.6](https://www.kimi.com/en), [qwen3.6](https://chat.qwen.ai/)) runs locally on my MacBook M4 Pro with 48GB. This is where sensitive data goes when I need model assistance on company or sensitive documents (e.g., health). As model compression continues to improve, I expect this to cover more of my workflow over time. I am also occasionally using [OpenCode](https://opencode.ai) to run the Ollama models for lightweight coding tasks.

Worth noting: routing a meaningful share of my work through Lumo and Ollama is primarily a privacy decision, but it also means I consume significantly fewer tokens on paid subscriptions. Privacy and cost efficiency pointing in the same direction is about as clean a double win as this space offers. For reference, I run Pro subscriptions to Claude and Cursor, and a business subscription to Lumo.

