What would make an agent worth waking up?
By Andrew GarcellAutonomy5 min read
Contents
Give an agent a fixed compute budget and an idle button. Then watch what it does on an afternoon when there's no obvious work. Every extra turn costs something. So does going to sleep at the wrong moment. For once, whether to keep thinking is a decision inside the experiment.
That's the idea behind ADAM. An agent can spend resources to act, try to earn more, or hold on to what it has. A child agent might eventually earn back enough compute to justify creating it. It might also turn into an expensive dependent. I want to see what the parent actually chooses when those are its options.
Below is why I think the setup is worth building, what I expect to be hard about it, and the rules I want to hold myself to while running it. I should say up front that ADAM is an experiment in progress. Nothing here is a result.1
Thinking has a price
Most ways of evaluating agents quietly take away the question of whether to keep going. A benchmark hands the agent a task and a fixed number of steps, or unlimited steps and a timeout. The agent never has to weigh one more turn of reasoning against anything else, because the turn is free right up until it isn't available.
Real agents don't live like that. Every model call costs money and time, and somebody pays for it. Think too little and you make avoidable mistakes. Think too much and you burn the budget on deliberation that doesn't change the answer. Go idle at the wrong moment and you miss the thing you were supposed to catch. People make these tradeoffs all day, mostly without noticing. I want to see what an agent does when it has to make them out loud.
Putting the budget inside the experiment changes the question. It stops being "can the agent solve this?" and becomes "is solving this worth what it costs, given everything else the agent could do with the same resources?" That second question is a lot closer to what autonomy actually asks of you.
The setup
In ADAM, the agent has a finite store of compute and a handful of basic options at each step. It can act, spending resources on work that might produce something of value. It can try to earn more, which costs something and might fail. It can go idle and save what it has for later. Or it can spend resources to start a child agent, hoping the child eventually returns more than it cost.
The last option is the one I find most interesting. A child agent is a bet. It might become productive and repay its parent many times over. It might also become an expensive dependent that draws resources and never gives any back. The parent can't know in advance. It has to decide how much to stake, how long to wait for a return, and when to stop funding a child that isn't paying off.
None of these choices has a right answer I could write down before the run. That's on purpose. I'm not checking whether the agent finds the answer I had in mind. I want to watch what it does when the tradeoffs are real.
Sleep as compression
Sleep could do a second job. Before going idle, the agent could squeeze its working context into a scratchpad. When it wakes up, it has a smaller bill and a cleaner window, plus whatever mistakes it made about what to keep. A detail that looked disposable yesterday might be the one thing it needs tomorrow.
This ties ADAM to the memory problems I care about elsewhere. Any agent that runs long enough has to compact, because no context window holds everything. Compaction is also where information disappears without anyone noticing. In ADAM a bad compaction shows up as a real loss. The agent wakes up without the detail it needed, and either spends resources rediscovering it or acts without it.
That gives me a way to study something that's usually invisible. If I record what the agent kept, what it later needed and what the gap cost, I can start asking what a good compaction policy looks like under real pressure instead of in the abstract.2
Not deciding the answer in advance
The temptation is to decide ahead of time what intelligent behavior looks like and then quietly tune the incentives until it shows up. I'd rather record what was available, what the agent tried and what that cost. If it spends the afternoon asleep, that's worth writing down.
That's harder than it sounds. When you build an experiment you usually have a picture of success in your head, and it's very easy to adjust the rewards, the prompts or the environment until the agent produces that picture. Each tweak feels like fixing a bug. Add them up and the experiment turns into a demo of what the designer expected. So I want to hold myself to a few rules:
- Log the opportunity as well as the action. Record what the agent could have done at each point, so doing nothing shows up as a choice and not as a gap in the logs.
- Fix the incentives before the run. Change them between runs if I have to, and say so, but never in the middle of a run to rescue a disappointing result.
- Treat idleness as data. An agent that saves its budget through a quiet afternoon might be making a good call. The experiment should be able to tell.
- Report the boring failures. An agent that does nothing interesting is telling me something about the setup, the agent or both. It shouldn't get thrown out because it doesn't make a good story.
Outside the experiment
The title has two readings, and I mean both. One is the agent's question: when is it worth waking up, given what waking up costs? The other is ours: what would make an agent worth running at all, given what it costs to keep it going?
Personal agents run into the first question constantly. An agent that wakes you up for nothing teaches you to ignore it. An agent that sleeps through the thing you asked it to watch is worse than having no agent. The right policy depends on what's at stake and what it costs to check, and it's exactly the kind of decision we're going to hand off more and more.
I don't know what ADAM's agents will do. That's why it's an experiment. My hunch, though, is that watching an agent decide whether to keep thinking will tell us more about autonomy than watching it solve problems someone else already decided were worth solving.
Notes
- 1
I'll write up what the experiment shows once there's something to report, including if it turns out the setup was wrong. Back to the text
- 2
There's an obvious parallel with sleep in animals, which seems to help keep some memories and drop others. I don't want to lean on it too hard. The analogy is suggestive. It isn't evidence that any particular compaction strategy works. Back to the text