As I’ve said in previous posts, if I could un-invent LLMs, I would. But that’s not possible, and we should use them to accelerate human work – especially to defend our software systems.
It’s been humbling to see LLMs find flaws in software I wrote (by hand) long ago and thought reasonably secure; also on a daily basis pointing out new flaws in designs.
It’s still the case that a tuned harness can generate reasonable quality code much, much faster than I could type it. I still believe for “core” software it’s very important to ensure we retain human oversight and knowledge. LLMs today in my experience still have some incredibly bad failure modes that humans are better at spotting (and vice versa!).
Anyways, this post is about my evolution in how I use LLMs – under a separate identity, or where that’s not possible, with a very clear delineation between what I wrote (prompted, etc) vs what was generated, and with what level of review/oversight.
Run LLMs as a separate account
Most of my software work is currently on GitHub. It is allowed by the ToS to have two accounts, as long as the second is for “automation”. LLMs I think qualify.
I’d long ago created https://github.com/cgwalters-bot/ for a different reason (testing a merge bot, way before GitHub had merge queues etc). I recently repurposed it to be my “personal LLM harness”.
Lifecycle of issue to PR
95% of my personal harness work is public and FOSS, but basically it supports a generic “issue to PR” style flow that can operate roughly like this:
- I assign a task (or, a coordinator agent might decide to do that)
- There’s a “midstream fork” where the agent dumps its output, distinct from the upstream project
- It’s at this point I verify the PR is not total slop/broken
- If I approve there, the bot closes the midstream PR and re-opens upstream
- I review the PR “for real” upstream
If you look around you’ll find various examples of this live.
There are a few important aspects to this. One is that in the last step, I am showing that I am actually looking at my agent output. I don’t always find problems, but it’s not uncommon there are some nits at least.
(Of course, sweeping up that type of stuff and tuning the harness or project rules is its own subtask)
Using it
Do I like this system? I like it a bit better than my coworkers getting multi-thousand line PRs from what to them is a black box (me and agents on my laptop). And the same applies in reverse, when I’m on the receiving end I’d rather have it be very clear what the human did and what the agent did. Note that with my harness, the agent job logs when working on public content are public by default.
I’m not going to deny that sometimes it is amazing and kind of thrilling just how fast I can generate things live and try them.
But it’s also exhausting and I would still un-invent LLMs if I could.
How it runs
A key thing here in “use a separate identity” is “use a separate logical
account”. In terms of how to sandbox AI effectively, in my opinion by far
the simplest and most effective way to do so is e.g. Unix useradd. Then
log it into its own accounts separately. A separate login user can then
use its own containers/VMs and do whatever your main account does.
Of course it also becomes a bit easier to delegate work to remote environments when you’re using this clearly separate account.
It’s nice to give your agent harness the ability to just iterate on its own tools in its own git repositories.
As I mentioned in the previous post, my harness uses a safe outputs style system that restricts what a particular task can do. This is really pretty essential, as opposed to just allowing arbitrary operations with its own account.
Where you can’t use a separate account, or it’s too much overhead
Forges like GitHub make it clear in a submission who did what, but that’s not true of other things like say Google Docs – and this “separate account” thing can be ~impossible in corporate environments. When I’m in a situation like that, I believe a standard thing should be writing the document (or presentation, etc) in a form that’s basically:
- Your prompt/goals background
- A clear label/indication that the following is LLM generated
- The generated information, ideally with reference links
This is of course exactly what you get when “sharing a session” from most popular hosted agent systems. I would much rather get that than have someone run some stuff using some private tools in their laptop and then dump a document on me like they wrote it. I mean, you can tell when it’s LLM generated most of the time, but the above is just better and more honest I think.
