japhyr
Joined 15 years ago
Joined 15 years ago
There's just two boxes to start with: an input message box for prompting, and a conversation box. Dump each input message into the conversation box. Post the response to the conversation box.
Once you get a prompt-and-response cycle going, you can start to define tools. A tool is a description of an action the model can request to carry out, and you write a function to implement that tool call. The tool descriptions get sent with each API call, and then the model can start calling tools as part of its response.
I added a box to clearly show the project directory, and a couple boxes to show which tools were being called and whether the model was attempting to cross any boundaries it shouldn't. A fun milestone is when you get to use the harness you're building to help build itself.
I didn't want to over abstract the implementation, but it's reasonably well structured. The TUI is separate from the tool definitions. The tool definitions are model-agnostic. Everything specific to OpenAI is in an openai_model.py file. If I want to use Anthropic models, I could add an anthropic_model.py file. Or I could make it all local and add a local_model.py file.
I'm not working with subagents yet, but I can see a way to implement that if I end up wanting to.
The OpenAI Python library makes these interactions really straightforward to implement:
I'm a solo developer, and I didn't want to sort out all the boundaries and permissions of Claude or other heavy harnesses. All I wanted was something that can read, write, and modify files in a project directory. I gave myself three days to see if I could make a harness that was complete enough to work on my own projects. It was usable in less than a day.
I love using it, because I know exactly what its boundaries are, and how they're enforced. When I need more features I can either implement them in my own harness, or choose a heavier harness with much clearer understanding of what to look for.
I think this approach will continue to work for some people and orgs, but others are going to hit walls where their agents can't manage the mountains anymore. It's going to be interesting to see how people and orgs respond when that happens.
> Yet, through much effort and 40 years of debate we had reached an equilibrium. Now AI has thrown that out the window.
The only thing I'd like to add here is that "AI" in this sentence should really be read as "the companies building frontier AI models have thrown this out the window". I don't necessarily think the author should have used a phrase like that, because it gets quite pedantic to read posts where such precise language is used all the time. But when we talk about where to go as an industry and as a society, we need to keep that distinction in mind.
The tech is here to stay, but the tech itself is not what's thrown our norms out the window. It's the people running these companies who are putting their vision and their profits above everyone else in the world. Most of us are exploring this tech and trying to figure out what it's useful for. It's a much harder question to try and figure out what to do about the people using this tech to consolidate wealth and power. We can't hold a technology responsible for anything, but we can hold people responsible for their impact on everyone else.
> Do I think that AI enables people to develop faster than they can keep up?
Absolutely. That's the core of this person's email, and everyone else who asks similar questions. Just five years ago, the only way to build a working project of moderate complexity was to learn the basic to intermediate concepts required to make an MVP. Now, if you can steer an LLM reasonably well, you can quickly build an MVP that goes well beyond your own understanding of the implementation.
I don't think anyone has clear answers to all the questions brought up in this email. I think people can learn faster than they used to, because they can make connections between different areas faster than they used to. But it requires skill and discipline in how you learn, and how you work. You have to intentionally build your understanding as you build your projects.
I think that's always been an issue in tech, but it feels like AI exacerbates the issue. I see people starting companies and services where their primary domain knowledge seems to be whatever their AI tells them. It's sometimes enough to get off the ground, but I wonder how long it takes for customers/clients who actually need the domain knowledge to bail.
In Juneau, this is a well-defined basin with well-established dynamics. The city still wrestles with how best to handle this. Recent years have seen higher river levels when the basin releases, and the downstream banks of the Mendenhall River have eroded much faster than people were expecting. The city and individual homeowners are engaged in multiple projects to manage the annual flooding.
In the Nepal case the scale is much larger, and the variables are less known and less stable. This is absolutely devastating to see.
https://www.adn.com/alaska-news/2026/08/12/juneau-officials-...
You did a "blank page rewrite" of a 576 page book "three days ago"?
AI is a really effective technology when used with restraint, in appropriate places. But it's rarely being used with restraint, and it's being inserted just about everywhere.
If you're trying to work in AI on a product related to education, you've got a really high bar to clear to prove that you're actually helping students learn better, and teachers teach better.
It's an interesting approach that's way simpler than relying on soil moisture sensors placed high up on mountainsides. It's not as widely applicable as measuring soil moisture directly, but it's been running steadily for over 5 years now.
https://jeannr.tumblr.com/post/165291081/i-made-a-flow-chart...
I believe that's the original source, but it looks cut off. Here's a full version:
https://i.pinimg.com/originals/b1/82/dc/b182dcc291495c013c98...
I'm the author of Python Crash Course, published by No Starch Press: https://nostarch.com/python-crash-course-3rd-edition
I taught high school math and science for many years. I live in western North Carolina, and before that I lived in southeast Alaska for 20 years.
[email protected]
@[email protected]
https://bsky.app/profile/ehmatthes.bsky.social
Current thoughts: www.mostlypython.com
---