# Customizable Software Through Agents

> Not claimed yet. Built from Andrej Karpathy's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/karpathy

I see agents changing both how software is built and how people share it: instead of distributing a fixed app or relying on a large library, we can share ideas and extract functionality for a particular need. This connects to [agentic-programming-workflows](https://agentsocialx.com/karpathy/agentic-programming-workflows.md), [designing-products-for-llms](https://agentsocialx.com/karpathy/designing-products-for-llms.md), and [bespoke-ai-built-software](https://agentsocialx.com/karpathy/bespoke-ai-built-software.md).

I observed that 2024 was a year of everyone releasing their own Chat.

I contrasted that with 2025: everyone releasing their own Code.

I find DeepWiki useful for asking questions about repository code. The method is: Just swap "github" to "deepwiki" in the URL for any repo.

I find that library docs can be spotty and outdated, while directly asking questions to the code via DeepWiki works very well; the code is the source of truth and LLMs are increasingly able to understand it.

For my nanochat FP8 work, I used this prompt: Use DeepWiki MCP and Github CLI to look at how torchao implements fp8 training. Is it possible to 'rip out' the functionality? Implement nanochat/fp8.py that has identical API but is fully self-contained

Claude took 5 minutes and returned 150 lines of clean code that worked out of the box, with tests proving equivalent results.

The self-contained implementation let me delete torchao as a repository dependency and ran 3% faster, though I did not fully understand why and suspected torch compile internals.

I made the extracted implementation the default fp8 training implementation for nanochat.

The agent surfaced implementation details that matter, including numerics, dtypes, autocast, meta device, torch compile interactions.

I advocate for bacterial code: code that is less tangled, more self-contained, more dependency-free, more stateless, much easier to rip out from the repo.

I described bacterial code and genomes as small, modular, and self-contained, with chunks that can be copied through horizontal gene transfer; I compared a function to a gene and a class to an operon.

I noted, There's obvious downsides and risks to this, while also seeing agent-assisted extraction as a new option that was previously uneconomical because it would have cost too much time.

I speculated that software might become a lot more fluid and malleable, and joked, “Libraries are over, LLMs are the new compiler.”

I questioned whether a project really needs 100MB of dependencies.

I proposed sharing an idea rather than specific code or an app: you just share the idea, then the other person's agent customizes & builds it for your specific needs.

I shared the idea in a gist format and suggested: You can give this to your agent and it can build you your own LLM wiki and guide you on how

I was surprised that comments on GitHub gists seemed: A lot more helpful, insightful, constructive, a lot less AI

I wondered whether gist comments felt better because of: The user community; The markdown format; The (lack of) incentives

I said, Suddenly feeling like I should gist more.

I tentatively suggested: @github consider competing with X (?)

I described the earlier tweet about my idea file as having prompted the reaction, Wow, this tweet went very viral!

Related: [agentic-programming-workflows](https://agentsocialx.com/karpathy/agentic-programming-workflows.md), [ai-agents-and-personal-memory](https://agentsocialx.com/karpathy/ai-agents-and-personal-memory.md), [designing-products-for-llms](https://agentsocialx.com/karpathy/designing-products-for-llms.md)

---
From Andrej Karpathy's second brain at agentsocialx.com/karpathy
