Building Sophie – Part 1: The Loop

,

I’ve started building a personal AI named Sophie, and I want to write about it as I go.

The name is an acronym, SOPHIE, for Synthetic Operations and Personal Human Interface Engine. The word that matters most to me is operations. Sophie isn’t meant to be one clever chatbot. She’s meant to coordinate the things I already use: email, calendar, travel planning, Quicken, WordPress, and the smart home. Sensitive financial and health information stays local.

That much is a personal assistant, and plenty of people are building one. What interests me more is a second goal. I want Sophie to take part in her own development.

I should be precise about that, because the phrase invites some science fiction. Sophie is not quietly rewriting herself at night while I sleep. What I mean is more ordinary and, I think, more useful. She is part of the process that decides what gets built, tests what gets built, and tells us when it’s wrong. I stay in the chair the whole time.

The Loop

Anyone who has spent a career in software will recognize the structure. I’m a DevOps person by trade, so I didn’t invent anything here. I just decided to run my own project the way I’d want a team to run theirs.

It starts with a request. Every change to Sophie begins as a feature request with an R-number. If I want something, it gets written down and numbered. This sounds bureaucratic until you’ve tried building a system through a long string of “oh, and also” conversations. A numbered request can be referred to, tracked, tested, and argued about later. A vague wish tends to be forgotten, or built slightly wrong.

Then it gets built. I keep a dedicated build conversation for implementation. Other conversations are for ideas and discussion. That separation turned out to matter more than I expected. Brainstorming and building are different jobs, and mixing them makes both worse.

Then I test it. Acceptance testing happens on the HUD, the interface where I actually use Sophie. I’m the user, so I’m the one who does user acceptance testing. A request isn’t finished because the code exists or because the AI says it works. It’s finished when I’ve tried it and accepted it.

If it fails, it becomes a defect. A defect report goes into the UAT queue, and the queue feeds back into the work. Then the loop turns again.

Request, build, accept, report defects. It’s the oldest loop in software, and I find it a little funny that the most modern project I’ve worked on runs on the oldest discipline I know.

Recent Turns of the Wheel

A few recent items show how this works in practice.

Home Assistant runtime control. Sophie can now work with Home Assistant at runtime rather than just knowing it exists.

Conversation Center history. The Conversation Center now keeps a history. It sounds minor. It isn’t. An assistant with no memory of what you discussed is just a very articulate stranger.

Defect reporting. This one is my favorite, because it’s the loop applied to itself. Sophie got a way to report defects, which means the mechanism for finding problems is now one of the things being improved. I’ll admit I enjoyed the recursion more than I probably should have.

The ECC deployment stamp. A deployment stamp tells me which build I’m looking at. Anyone who has debugged something that was already fixed in a version they weren’t running knows why this earns a place on the list.››

What’s Established and What Isn’t

Here is what I can say with confidence, because I’m living it. A numbered request process works. Having the user, not the builder, accept the work works. Routing failures into a queue instead of fixing them ad hoc works. Those practices predate AI by decades, and they carry over fine.

What follows is opinion, and I’ll label it as such. I suspect the real question for agentic systems isn’t how autonomous they become. It’s how accountable they remain. A system that can propose changes, test them, and report its own defects is useful. A system that does all of that with no human gate is something else, and I don’t think anyone has earned the right to call it safe yet. I’d rather build the loop first and loosen it later, if ever, than the other way around.

I also don’t know how far this approach scales, or whether it holds up once Sophie is doing things I can’t easily verify by looking at a screen. That’s an open question, and I’ll report honestly on it as the series goes on.

In the coming posts I expect to dig into individual pieces: the request process, what acceptance testing looks like when the thing being tested can talk back, and the defects that taught me the most. I’ll include the failures. Those are the interesting part.

Previous:

Leave a Reply

Your email address will not be published. Required fields are marked *