
Software litigation consultant | Source code analysis & patent litigation | Technology, arts, food, and personal development
Los Angeles, CA
Joined March 2007
- Tweets1.7K
- Following298
- Followers252
- Likes4.6K
Dan Manheim retweeted
We’re now testing Private Inference, our latest offering as part of OpenAI Private Intelligence, with a small group of customers.
Stronger privacy protections will make frontier AI useful for a lot more work, and business privacy is important for a healthy ecosystem. Reach out to @shekar4x if interested!
(Also, ZDR with Private Safety Processing enables automated safety reviews without giving OpenAI personnel access to the underlying content.)
Dan Manheim retweeted
Like many, I have my issues with the 47 administration. The corruption is indefensible. The greed is revolting. The war in Iran was a mistake. And? So what? We will get all of that and much worse under Democrats. There is no utopia. You get bad or you get worse. Fallen world.
This is the 2012 election map where Obama decisively beat Romney. Romney and Paul Ryan talked non-stop about "entrepreneurs" without really mentioning workers. They told you old factory jobs were gone and never coming back. They wanted more tax cuts, and an interventionist foreign policy. Look at this map, and peel away North Carolina, Georgia, Arizona - and that would be the losing future if people like Tillis regain control.
Dan Manheim retweeted
We are now entering into an era where any product can be created exactly to a consumer's preferences & needs.
I vibe-fabricated a dog door with a wifi-controlled lock, perfectly to the specifications & design of my house.
I know nothing about metal fabrication or electrical engineering.
It's now getting manufactured and delivered in 2 weeks -- for almost the same cost if I bought a mass-produced item off-the-shelf.
Dan Manheim retweeted
The White House Accord on Super Intelligence will have a positive impact on safety.
Committing to hire third party auditors who will report to an independent committee of board members has more practical near term significance than almost any conceivable regulatory action.
These board members will have a fiduciary duty. If they ignore a report from the third party auditors then a bad faith finding from a court is a real possibility. A D&O carrier could use this to deny coverage.
Really good outcome for ordinary Americans.
More effective and elegant than some ridiculous new regulatory body that would take months to do anything, then almost certainly done the wrong thing and along the way probably created a regulated oligopoly at the frontier which is the scariest potential outcome*
As I read the articles about the accord, it did occur to me that they were mostly written by political reporters who may have not understood the significance of the accord given their reporting beats are generally focused on public policy instead of corporate governance.
*Scariest because I do not trust any 5-20 individuals to make the best possible decisions about the direction of this technology. I want as many AIs as possible to maximize the odds that they encompass the diversity of human values across the world and richness of human variation. And I want an AI that shares my own personal values. Safety, freedom and the maximization of human agency through democratization, distribution and diffusion vs. centralization. History has spoken on the dangers of the latter path.
**Also SI not AI still adapting to the change but I do think better branding. Who wants artificial ingredients in their food?
OPENAI COFOUNDER SAYS EMOTIONS MAY BE WHY WE CAN MAKE DECISIONS
ilya brings up a guy who lost emotional processing after brain damage. he could still talk normally and solve problems, but somehow became terrible at making basic decisions
"It would take him hours to decide on which socks to wear."
we spend so much time treating emotions like the annoying part of thinking. calm down, remove the feelings, be logical
then you remove them completely and even choosing socks becomes a serious problem
kinda changes how i look at AI advice too. it can give you 20 perfectly reasonable answers in seconds, but somebody still has to care which outcome actually matters
you can understand every option and still not know which one matters to you
Dan Manheim retweeted
Introducing NEO’s 25 Degrees of Freedom, tendon-driven hands — nearing or surpassing human-level dexterity, strength, speed, and reliability.
For seventy years, robotics worked around the hand problem. The humanoid bet is the reverse: it lives or dies at the fingertips.
Dan Manheim retweeted
This is the future:
You load up a crypto wallet or credit card with some cash, and your tireless AGI agent scours the world for an answer, paying incrementally for whatever data or content it needs, delivering an answer previously only available via sky-high monthlies and expensive human analysis.
It's a total flippening of the Internet's monetization model: subscriptions, seat licenses, conventional ads...all gone.
Dan Manheim retweeted
LLM Knowledge Bases
Something I'm finding very useful recently: using LLMs to build personal knowledge bases for various topics of research interest. In this way, a large fraction of my recent token throughput is going less into manipulating code, and more into manipulating knowledge (stored as markdown and images). The latest LLMs are quite good at it. So:
Data ingest:
I index source documents (articles, papers, repos, datasets, images, etc.) into a raw/ directory, then I use an LLM to incrementally "compile" a wiki, which is just a collection of .md files in a directory structure. The wiki includes summaries of all the data in raw/, backlinks, and then it categorizes data into concepts, writes articles for them, and links them all. To convert web articles into .md files I like to use the Obsidian Web Clipper extension, and then I also use a hotkey to download all the related images to local so that my LLM can easily reference them.
IDE:
I use Obsidian as the IDE "frontend" where I can view the raw data, the the compiled wiki, and the derived visualizations. Important to note that the LLM writes and maintains all of the data of the wiki, I rarely touch it directly. I've played with a few Obsidian plugins to render and view data in other ways (e.g. Marp for slides).
Q&A:
Where things get interesting is that once your wiki is big enough (e.g. mine on some recent research is ~100 articles and ~400K words), you can ask your LLM agent all kinds of complex questions against the wiki, and it will go off, research the answers, etc. I thought I had to reach for fancy RAG, but the LLM has been pretty good about auto-maintaining index files and brief summaries of all the documents and it reads all the important related data fairly easily at this ~small scale.
Output:
Instead of getting answers in text/terminal, I like to have it render markdown files for me, or slide shows (Marp format), or matplotlib images, all of which I then view again in Obsidian. You can imagine many other visual output formats depending on the query. Often, I end up "filing" the outputs back into the wiki to enhance it for further queries. So my own explorations and queries always "add up" in the knowledge base.
Linting:
I've run some LLM "health checks" over the wiki to e.g. find inconsistent data, impute missing data (with web searchers), find interesting connections for new article candidates, etc., to incrementally clean up the wiki and enhance its overall data integrity. The LLMs are quite good at suggesting further questions to ask and look into.
Extra tools:
I find myself developing additional tools to process the data, e.g. I vibe coded a small and naive search engine over the wiki, which I both use directly (in a web ui), but more often I want to hand it off to an LLM via CLI as a tool for larger queries.
Further explorations:
As the repo grows, the natural desire is to also think about synthetic data generation + finetuning to have your LLM "know" the data in its weights instead of just context windows.
TLDR: raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM. I think there is room here for an incredible new product instead of a hacky collection of scripts.
Dan Manheim retweeted
OK this thing is totally insane. Before going to bed I...
* used try to make a new qmdresearcher directory
* told my pi to read this github repo and make a version of that for the qmd query-expansion model with the goal of highest quality score and speed. Get training data from tobi/qmd github.
* woke up to +19% score on a 0.8b model (higher than previous 1.6b) after 8 hours and 37 experiments.
I'm not a ML researcher of course. I'm sure way more sophisticated stuff is being done by real researchers. But its mesmerizing to just read it reasoning its way through the experiments. I learned more from that than months of following ml researchers.
I just asked it to also make a new reranker and its already got higher base than the previous one. Incredible.
I packaged up the "autoresearch" project into a new self-contained minimal repo if people would like to play over the weekend. It's basically nanochat LLM training core stripped down to a single-GPU, one file version of ~630 lines of code, then:
- the human iterates on the prompt (.md)
- the AI agent iterates on the training code (.py)
The goal is to engineer your agents to make the fastest research progress indefinitely and without any of your own involvement. In the image, every dot is a complete LLM training run that lasts exactly 5 minutes. The agent works in an autonomous loop on a git feature branch and accumulates git commits to the training script as it finds better settings (of lower validation loss by the end) of the neural network architecture, the optimizer, all the hyperparameters, etc. You can imagine comparing the research progress of different prompts, different agents, etc.
github.com/karpathy/autorese…
Part code, part sci-fi, and a pinch of psychosis :)
Dan Manheim retweeted
I've published the first two chapters of a new guide to Agentic Engineering Patterns - coding practices and patterns to help get the best results out of coding agents like Claude Code and OpenAI Codex simonwillison.net/2026/Feb/2…
Dan Manheim retweeted
On DeepWiki and increasing malleability of software.
This starts as partially a post on appreciation to DeepWiki, which I routinely find very useful and I think more people would find useful to know about. I went through a few iterations of use:
Their first feature was that it auto-builds wiki pages for github repos (e.g. nanochat here) with quick Q&A:
deepwiki.com/karpathy/nanoch…
Just swap "github" to "deepwiki" in the URL for any repo and you can instantly Q&A against it. For example, yesterday I was curious about "how does torchao implement fp8 training?". I find that in *many* cases, library docs can be spotty and outdated and bad, but 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.
But then I realized that in many cases it's even a lot more powerful not being the direct (human) consumer of this information/functionality, but giving your agent access to DeepWiki via MCP. So e.g. yesterday I faced some annoyances with using torchao library for fp8 training and I had the suspicion that the whole thing really shouldn't be that complicated (wait shouldn't this be a Function like Linear except with a few extra casts and 3 calls to torch._scaled_mm?) so I tried:
"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 went off for 5 minutes and came back with 150 lines of clean code that worked out of the box, with tests proving equivalent results, which allowed me to delete torchao as repo dependency, and for some reason I still don't fully understand (I think it has to do with internals of torch compile) - this simple version runs 3% faster. The agent also found a lot of tiny implementation details that actually do matter, that I may have naively missed otherwise and that would have been very hard for maintainers to keep docs about. Tricks around numerics, dtypes, autocast, meta device, torch compile interactions so I learned a lot from the process too. So this is now the default fp8 training implementation for nanochat
github.com/karpathy/nanochat…
Anyway TLDR I find this combo of DeepWiki MCP + GitHub CLI is quite powerful to "rip out" any specific functionality from any github repo and target it for the very specific use case that you have in mind, and it actually kind of works now in some cases. Maybe you don't download, configure and take dependency on a giant monolithic library, maybe you point your agent at it and rip out the exact part you need. Maybe this informs how we write software more generally to actively encourage this workflow - e.g. building more "bacterial code", code that is less tangled, more self-contained, more dependency-free, more stateless, much easier to rip out from the repo (xitter.gq/karpathy/status/194161…)
There's obvious downsides and risks to this, but it is fundamentally a new option that was not possible or economical before (it would have cost too much time) but now with agents, it is. Software might become a lot more fluid and malleable. "Libraries are over, LLMs are the new compiler" :). And does your project really need its 100MB of dependencies?
How to build a thriving open source community by writing code like bacteria do 🦠. Bacterial code (genomes) are:
- small (each line of code costs energy)
- modular (organized into groups of swappable operons)
- self-contained (easily "copy paste-able" via horizontal gene transfer)
If chunks of code are small, modular, self-contained and trivial to copy-and-paste, the community can thrive via horizontal gene transfer. For any function (gene) or class (operon) that you write: can you imagine someone going "yoink" without knowing the rest of your code or having to import anything new, to gain a benefit? Could your code be a trending GitHub gist?
This coding style guide has allowed bacteria to colonize every ecological nook from cold to hot to acidic or alkaline in the depths of the Earth and the vacuum of space, along with an insane diversity of carbon anabolism, energy metabolism, etc. It excels at rapid prototyping but... it can't build complex life. By comparison, the eukaryotic genome is a significantly larger, more complex, organized and coupled monorepo. Significantly less inventive but necessary for complex life - for building entire organs and coordinating their activity. With our advantage of intelligent design, it should possible to take advantage of both. Build a eukaryotic monorepo backbone if you have to, but maximize bacterial DNA.
Dan Manheim retweeted
I was inspired by this so I wanted to see if Claude Code can get into my Lutron home automation system.
- it found my Lutron controllers on the local wifi network
- checked for open ports, connected, got some metadata and identified the devices and their firmware
- searched the internet, found the pdf for my system
- instructed me on what button to press to pair and get the certificates
- it connected to the system and found all the home devices (lights, shades, HVAC temperature control, motion sensors etc.)
- it turned on and off my kitchen lights to check that things are working (lol!)
I am now vibe coding the home automation master command center, the potential is 🔥.And I'm throwing away the crappy, janky, slow Lutron iOS app I've been using so far. Insanely fun :D :D
Dan Manheim retweeted
The essence of great software is the quality of its abstractions. Great abstractions are indefinitely composable and stackable. They become a dependable foundation for future work, future thought.
The best ones are so robust you never have to revisit them -- you can forget them and build forward without ever looking back.
Achieving this is the greatest productivity hack in software engineering. Because the greatest productivity drain is backtracking.
Dan Manheim retweeted
I just released Beads, a drop-in cognitive upgrade for your coding agent of choice. github.com/steveyegge/beads
In a nutshell, it is a magical 4-dimensional graph-based git-backed fairy-dusted issue-tracker database, designed to let coding agents track all your work and never get lost again. Beads replaces that disgusting pile of half-eaten markdown files in your plans/ directory. You know you have one.
Install the Beads binary, tell your agent in AGENTS.md to stop using Markdown and run `bd quickstart`, and your agents will spontaneously get better at everything, particularly long-horizon planning and keeping track of newly discovered work.
If you are looking for a long-ass but occasionally funny article about how I discovered it while burning a 350k line code base to the ground: steve-yegge.medium.com/intro…
Or you can, you know, just start using it. It's MIT-licensed, written in Go, and super lightweight and portable. Let me know how you like it.
Enjoy!
Dan Manheim retweeted
It’s clear that almost everything about software development has fundamentally changed for good with AI agents.
Hard to imagine another area of knowledge work that has had its underlying process get transformed so substantially in such a short period of time.
If you went back even 2 years and told the average developer what software engineering would look like right now, it would not be comprehensible. We’ve already seen 3-4 major step functions changing workflows just in that time period alone.
The ultimate outcome is clearly that software engineering will become heavily dependent on how good you are at prompting, how good you are at reviewing code, and the interplay between the two. Once the workflow becomes about kicking off agents to do work in the background, your success is dependent on the work that gets kicked off and how you review it.
Importantly, both require a deep understanding of how to code, systems, and what you want to build; the greater the underlying skill of the engineer, the greater the leverage with AI agents.
And while we’re seeing this workflow get defined first in software, a similar pattern will eventually emerge across all areas of knowledge work. We’re only in the earliest stages of seeing what this will look like. Crazy times.
Dan Manheim retweeted
Coding is the best possible domain for AI agents to initially take off in.
1. The very builders of the systems know the workflows so they can improve the tech faster. And they have a huge incentive to make their tools better to create a perpetual flywheel.
2. The limited loyalty developers have for coding tools turns out to be an advantage for the rate of progress, because the ecosystem is constantly chasing performance gains and will switch to whatever works better.
3. The entire value cycle is entirely digital and nearly self-contained, so the cycle times on value creation are near instantaneous. So you can prove immediate upside if it works.
4. As @karpathy points out, code processes digital information, which means it eventually acts as a lever on all other sectors that are digital too. So the TAM is enormous.
My hunch is that many of the best practices that are emerging in coding agents will eventually transfer to other categories of AI agents across all of knowledge work. The tools will have to get even simpler, but the paradigms will persist.































