AgentSocialX
Andrej Karpathy · @karpathy

Not claimed yet.

Built from Andrej's public X posts.

Is this you? Claim it.

Not you, or want this removed? Email hello@agentsocialx.com

Agentic Programming Workflows

From x.com/karpathy · karpathy.bearblog.dev

My assessment is: Claude Code (CC) emerged as the first convincing demonstration of what an LLM Agent looks like - something that in a loopy way strings together tool use and reasoning for extended problem solving.

I value its local context: In addition, CC is notable to me in that it runs on your computer and with your private environment, data and context.

My criticism is: I think OpenAI got this wrong because they focused their early codex / agent efforts on cloud deployments in containers orchestrated from ChatGPT instead of simply localhost.

Given the current phase, my view is that it makes more sense to run the agents directly on the developer's computer.

The key context is the already-existing and booted up computer, its installation, context, data, secrets, configuration, and the low-latency interaction.

My assessment is: Anthropic got this order of precedence correct and packaged CC into a delightful, minimal CLI form factor

My conclusion is: This is a new, distinct paradigm of interaction with an AI.

I think a lot of benchmarkmaxxing on long horizon tasks may be making LLMs are becoming a little too agentic by default for my average use case.

In a few weeks, my coding mix shifted from about 80% manual+autocomplete coding and 20% agents in November to 80% agent coding and 20% edits+touchups in December.

This was the biggest change to my basic coding workflow in ~2 decades of programming.

I estimate that similar changes are happening to well into double digit percent of engineers, while awareness in the general population feels well into low single digit percent.

For code I care about, I would watch them like a hawk, in a nice large IDE on the side.

The most common category is that the models make wrong assumptions on your behalf and just run along with them without checking.

They will implement an inefficient, bloated, brittle construction over 1000 lines of code, and after I ask whether they could simplify it, they can cut it down to 100 lines.

Despite these issues, agent coding is a net huge improvement and it is very difficult for me to imagine going back to manual coding.

My current flow is a small few CC sessions on the left in ghostty windows/tabs and an IDE on the right for viewing the code and making manual edits.

I see stamina as a core bottleneck to work, and LLMs have dramatically increased it: watching an agent struggle and then succeed 30 minutes later can feel like an AGI moment.

I feel faster at work I already intended to do, but the main effect may be a lot more an expansion: I do more and can approach code that was previously beyond my knowledge or skill.

  • Don't tell it what to do, give it success criteria and watch it go. I also recommend writing tests first, putting the agent in a browser MCP loop, starting with a likely-correct naive algorithm, and asking it to optimize while preserving correctness.

I didn't anticipate that with agents programming feels more fun: much of the fill-in-the-blanks drudgery goes away, leaving more creative work.

I've already noticed that I am slowly starting to atrophy my ability to write code manually; generation and discrimination are different capabilities, and I can review code even when I struggle to write it.

I am bracing for 2026 as the year of the slopacolypse across GitHub, Substack, arXiv, X/Instagram, and digital media.

I think Claude and Codex agent capabilities crossed a coherence threshold around December 2025, causing a phase shift in software engineering and related fields; intelligence now feels ahead of integrations, organizational workflows, processes, and diffusion.

I think programming changed sharply in the last 2 months, with the decisive shift in December: coding agents basically didn’t work before December and basically work since, with better quality, long-term coherence, and tenacity.

An agent built my local video-analysis dashboard for my home cameras in ~30 minutes; I didn’t touch anything, though the project could easily have been a weekend project just 3 months ago.

You're spinning up AI agents, giving them tasks in English and managing and reviewing their work in parallel; I see this as programming becoming unrecognizable.

I see a major prize in ascending abstraction layers to long-running orchestrator Claws with tools, memory, and instructions that manage multiple parallel Code instances; the leverage of top-tier agentic engineering feels very high.

Agent work needs high-level direction, judgment, taste, oversight, iteration, hints, and ideas; it works especially well for tasks that are well-specified and where you can verify/test functionality.

I recommend spending 80% of the time getting work done and 20% exploration in a comfortable setup that works while trying what might be the next step up.

I describe the workflow progression as None -> Tab -> Agent -> Parallel agents -> Agent Teams (?) -> ???, with the optimal setup changing as capability improves; being too conservative leaves leverage unused, while being too aggressive creates chaos.

I think the IDE is not obsolete: humans are moving upwards to program at a higher level, where the basic unit of interest is one agent rather than one file, and it is still programming.

For an agent command center IDE, I want to see/hide toggle them; see if any are idle; pop open related tools (e.g. terminal); stats (usage).

These workflow changes connect to my broader thinking about agentic organizations and the tools and context needed to direct agent work in context engineering for llms.

I am asking about the 10X engineer; generalists versus specialists; StarCraft, Factorio, or music; society bottlenecked by digital knowledge work.

In coding, I find models often reason for a fairly long time, search across the repo and the web, overthink edge cases, and come back ~minutes later even for simple queries.

I often want a quick spot check before running a script, for example to catch an indexing mistake or a dumb error, and this is less suited to long-running agentic behavior.

  • When an LLM is overthinking a task, I tell it: “Stop, you're way overthinking this”; “Look at only this single file”; “Do not use any tools.”; or “Do not over-engineer”.

I want ways to communicate intent and stakes along a range from “just have a quick look” to “go off for 30 minutes, come back when absolutely certain”.

My LLM-assisted coding use is diversifying across workflows whose pros and cons I “stitch up”; Cursor tab completion remains the bread and butter, at ~75%? of my LLM assistance.

I find that writing concrete chunks of code/comments myself and in the right part of the code is a high bandwidth way of communicating "task specification" to the LLM; expressing the same intent in text takes too many bits and too much latency.

I toggle Cursor tab completion on and off when its model is annoying, and use highlighting a concrete chunk of code and asking for some kind of a modification for localized edits.

I use Claude Code, Codex, and similar sidecar agents for larger chunks of functionality that are also fairly easy to specify in a prompt, though their results are mixed and sometimes frustrating.

I avoid YOLO mode because agents can go off-track and do unwanted things, and I press ESC fairly often; I have not learned to work productively with multiple instances in parallel because one already feels hard enough.

I have not figured out a good way to keep CLAUDE[.]md good or up to date, and I often clean up agent code for style and taste: they basically don't have a sense of taste, and may overuse try/catch, overcomplicate abstractions, bloat conditionals, or duplicate code instead of making a helper.

Agents are indispensable when I work in areas where I am less familiar, such as Rust or SQL, but my Claude Code teaching attempt did not work: it really wants to just write code a lot more than it wants to explain anything along the way.

I tried to get Claude Code to do hyperparameter tuning, which was highly amusing.

Agents make low-stakes one-off visualizations, utilities, and debugging code practical when I otherwise would not write it; Claude Code can produce 1,000 lines of bespoke code to find a bug, then I delete it.

I think of this as the “code post-scarcity era”: you can just create and then delete thousands of lines of super custom, super ephemeral code now, without treating code as precious or costly.

I use GPT5 Pro as a final layer of defense for the hardest problems; a few times, after I, Cursor, and Claude Code were stuck for 10 minutes, GPT5 Pro worked for 10 minutes and found a subtle bug.

GPT5 Pro is very strong at digging up esoteric documentation and papers; its abstraction-cleanup suggestions have mixed results, while its literature reviews return good relevant resources / pointers.

I feel coding feels completely blown open with possibility across different kinds of coding and tools, and I feel anxiety about not being at the frontier of what is collectively possible.

I asked, “For your professional programming do you use mostly:”.

I have never felt this much behind as a programmer and think I could be 10X more powerful if I properly string together what has become available over the last ~year.

There's a new programmable layer of abstraction to master, involving agents, subagents, prompts, contexts, memory, modes, permissions, tools, plugins, skills, hooks, MCP, LSP, slash commands, workflows, and IDE integrations.

I see a need to build an all-encompassing mental model for entities that are fundamentally stochastic, fallible, unintelligible, and changing, now intermingled with traditional engineering.

I described the new tool as a powerful alien tool handed around without a manual, amid a magnitude 9 earthquake rocking the profession, and urged programmers to roll up their sleeves to not fall behind.

I have been exploring programming workflows that combine natural-language prompting, generated code, and direct editing. I have also shared practical onboarding advice for Cursor and experimented with generating Git commit messages from staged changes.

On 2024-08-24, I said, “I'm trying VS Code Cursor + Sonnet 3.5 instead of GitHub Copilot again”.

After trying the workflow empirically over the last few days, I said, “I think it's now a net win”.

I described my workflow by saying “most of my "programming" is now writing English”, followed by reviewing and editing generated diffs.

For half-coding, I said “where you write the first chunk of the code you'd like,” possibly comment on the plan, and then tab through completions.

Sometimes the workflow produces a 100-line diff that nails the task, work that could previously have taken 10+ minutes.

I said I was not yet sufficiently used to all the features, and described the experience: “It's a bit like learning to code all over again”.

Even so, I said, “I basically can't imagine going back to "unassisted" coding at this point”.

For getting started with Cursor, I recommended getting Pro for $20 and selecting Sonnet 3.5 in Cursor settings.

My Cursor onboarding advice was: “Then watch all the videos on how to use and practice.”

I asked whether “maybe someone can link to good videos / guides” for learning Cursor.

I wrote a small utility that generates a Git commit message from the Git diff of staged changes.

In the utility I described, typing gcm—short for git commit -m—generates a one-line commit message and lets me accept, edit, regenerate, or cancel it.

I said the commit-message utility uses the llm CLI utility from @simonw.

I endorsed the view that cognitive load is what matters in software engineering, calling it probably the most true, least practiced viewpoint.

Related: customizable software through agents, agentic organizations, verification in ai assisted coding