matthew-gerstman
MTS at Obvious
- Joined
- Dec 5, 2026
Threads
- Niles, an MCP for HomeKit
0 comments
Comments
How are you guys running agents overnight reliably?
When I first started this I would do things like write a lot if prompting on autonomy and I found I could get 2-3 hours of work in the Sonnet 4.5 era.
A useful primitive is timers, because it allows waking the agent regularly and keeping it going.
Eventually we built into our platform objective threads which are not allowed to quit until their objective is complete.
You need a deterministic layer holding the agents accountable. Our first attempt at this was called initiatives and executables. The orchestrator would make initiative in the database and then an executable for each of its child threads which would be given an objective. Whenever the child thread would stop the orchestrator would reprompt it.
This worked but we weren’t thrilled with spec adherence particularly for large tasks handling parts of the codebase with conflicting documentation.
Eventually we moved to a task tree. A single root task with as many children and nodes as possible. This made it easier to construct a DAG and have as many tasks for the project possible.
Our agent has tools that tell it what its tasks are what its objective is etc. This makes it impossible for the agent to forget, because it’s being held accountable deterministically.
Has AI made you like work more or less?
It’s literally addicting. I feel like I’m magicking features into existence and it’s so rewarding watching things come to fruition.
It’s made everything more interesting because everything changes so quickly. I remember 15 years ago trying to keep up with frontend and that was glacial compared to now.
I love how easy it is to multi thread and experiment with new things. When we first built our software factory last January I threw together an arcade overnight. 10 games that were almost trivial to one shot (minesweeper, solitaire, chess, snake, and similar)
I find today the most important thing is caring enough to handle the details at the end. AI generated code doesn’t have to be slop, it just needs love and attention.
Do you still read any of your code?
This varies dramatically by project. At work I read more than half of the runtime code I write. Our PR Review flow allows filtering out specs and tests and that makes it easier to get to the meat.
If I’m working on a net new page or a personal project I almost never read the code and just make sure I have the architecture/shape of it right.
If I’m working on anything that touches our agent execution or a system prompt I read every single line.
Do you say "please" and "thank you" when talking to your agents?
It really depends on the day. I often say please and thank you when I’m in a good mood. I find thank you is a great message to send when you want to switch models.
That said, when an agent goes off the rails I’ll get more and more direct and sometimes start swearing. I try and pay attention if I’m getting angry at the agent and if I do I often just start a new thread.
I find admonishing a frontier model is like getting on the phone with a by the hour lawyer and paying to get nothing done.
Megillah -- stay sane while collaborating with agents
How does it work under the hood? How do you ensure agent adherence to the plan?
What was your "oh shit" moment with AI?
I got access to Obvious September 2025 and at the time it was the only agent with a computer in the cloud. It was positioned for writing docs and handling spreadsheets but I realized that anything I asked it to do it, it would just figure out. I had it build an app that could detect if a phone number was fraudulent. I very quickly started multi threading.
My mother in law started using it to make personalized lesson plans for students. It blew me away how versatile it was. After that I knew the game was over