Open Reader

Your Agent Doesn't Need an LLM for Every Decision - Raymond Weitekamp, OpenProse

completed 51:48 Nov 10, 2026 Watch on YouTube

Current Status

completed

Video ID

hFNbPmzzcEs

RAG / Chat

Enabled
Your Agent Doesn't Need an LLM for Every Decision - Raymond Weitekamp, OpenProse
Description

Recursive language models have become a powerful harness pattern for LLMs. Raymond Weitekamp shows how the same idea applies to decision models, the fast classifiers also called System One models, to build far more efficient workflows for coding agents, information retrieval and computer use. He introduces Recursive Decision Models, shares a vision for real-time interfaces he calls Operating System One, and previews oSo, a new computer use decision agent. Raymond Weitekamp, OpenProse: https://x.com/raw_works | https://openprose.ai More: https://recursivedecisionmodels.com | https://github.com/rawwerks/rdm | https://oSo.computer

Summary

Generated by gpt-5.6-terra

At-a-Glance

  • Verdict: Watch fully
  • Core thesis: Many agent behaviors assumed to require a frontier reasoning LLM can instead be decomposed into recursive, fast decision-model calls, with generative models invoked only when open-ended creation or adaptation is genuinely needed.
  • Why it matters: This is a concrete control-plane architecture for making agents faster, cheaper, more parallel, and potentially more reliable: externalize state, recursively narrow choices, govern concurrent actions with an arbiter, and use an LLM only as a structured map editor or escalation path.
  • Best use: Use this as an architecture-design talk for OpenClaw-style computer-use and agent systems, especially routing, UI/action selection, hierarchical retrieval, multimodal localization, real-time interaction, and safe speculative execution.

Executive Summary

Raymond Weitekamp argues that the industry over-associates capable behavior with long-form LLM reasoning. His alternative, Recursive Decision Models (RDMs), treats complex behavior as a hierarchy of small, fast classifications or judgments. A decision model chooses among pre-specified options, may delegate to a narrower sub-decision, and continues until it reaches a bounded recursion depth or selects an action.

The architecture inherits two ideas from recursive language models: keep full context outside the model so code can provide each sub-model only the relevant slice, and let a parent call sub-models subject to a maximum depth. But RDMs are deliberately decision-first: they should work with no generative model at all, while still being able to escalate to an LLM or agent when the task requires generating new plans, abstractions, or actions.

The strongest practical pattern is not 'replace LLMs,' but pair convergent decision models with divergent generative models. Weitekamp proposes a shared structured interface called a map: decision models select named pointers/actions from it, while an LLM can add, edit, or compose those actions. An arbiter then controls which of many cheap, parallel, speculative decision processes may actually write to system state, preventing conflicting actions.

The talk supports the thesis with demonstrations rather than benchmark results: coupled decision systems playing Doom, hierarchical routing over 12,000 Shopify categories, recursive image localization, a Factorio repair workflow without an LLM, and a low-latency voice-control prototype that learns to trust a tiny online-trained audio model. The latter becomes the basis for Oso, a proposed voice-first computer-use system that routes familiar tasks to the smallest trusted model and escalates unfamiliar tasks.

Key Takeaways

  • Claim: Decision models are a counterweight to generative models: generation creates open-ended divergence, while decisions converge on a bounded choice needed to act in production. | Evidence: Weitekamp frames TypeSafe's JEV as a model that cannot generate text and can only rank or select among options; he contrasts this with LLMs' open-ended token generation and notes immediate uses such as tool-execution gating, compaction, and model routing. | Implication: Agent architectures should explicitly separate proposal/generation from selection, routing, approval, and execution rather than asking one LLM call to do all four. | Caveat: A decision model only chooses among options that code, an application, or another agent has already made available; it cannot invent missing actions or representations.
  • Claim: An RDM can solve complex-looking tasks through bounded recursive decomposition rather than a single large reasoning pass. | Evidence: The three RDM rules are: keep context external to the model so code can slice it; allow a decision to invoke another decision up to a maximum depth; and ensure the architecture works without a generative model while remaining composable with LLMs and agents. | Implication: Use recursive decision trees where the state space is too large for one prompt but naturally partitionable, and set explicit depth, fan-out, and stopping policies to control latency and cost. | Caveat: Recursion is not inherently beneficial: Weitekamp acknowledges that simple Galton-board sorting and some visual-search examples could be solved by one classifier or vision-model call.
  • Claim: Composing distinct decision loops can produce agentic behavior without an LLM in the control loop. | Evidence: In the JEV Doom example, one decision composition controls moment-to-moment first-person actions such as walking or dodging, while another chooses where to explore from a map-level view; their coupling produces a Doom-playing agent using decision calls. | Implication: Decompose computer-use agents into specialized control loops with different state views—e.g., local UI manipulation, global task navigation, validation, and recovery—rather than relying on one monolithic agent context. | Caveat: The examples establish architectural possibility, not broad superiority over reasoning models or robust performance across open-ended environments.
  • Claim: Hierarchical decision search can reduce context pressure by selecting the next branch at each level instead of presenting every candidate at once. | Evidence: A TypeSafe cookbook applied hierarchical JEV calls to a Shopify taxonomy of 12,000 product categories: for a query such as 'laptop backpack,' the system chooses which subcategory to inspect next, with greedy or top-k/beam-like exploration controlled in code. | Implication: For tool catalogs, knowledge bases, UI trees, runbooks, and model routing, build hierarchical candidate indexes and use small decision calls to traverse them instead of repeatedly loading full inventories into an LLM context. | Caveat: The retrieval hierarchy and candidate structure must exist or be constructed in advance; a pure decision system does not discover a new ontology.
  • Claim: Decision-first systems need a structured shared substrate to compose safely with generative models. | Evidence: Weitekamp's 'map' represents named pointers such as 'TV on' with descriptions and underlying functions. The decision model selects the appropriate pointer but does not execute it directly; code executes the function, while an LLM can add, edit, and compose map entries—for example, learning that 'movie time' means turning on the TV and turning off lights. | Implication: Treat agent capabilities as versioned, typed, inspectable objects rather than opaque prompt instructions; separate selection authority, action execution, and capability authoring. | Caveat: Allowing an LLM to modify the map introduces a governance surface: newly created or altered actions need validation before being trusted as executable capabilities.
  • Claim: Cheap decision models enable speculative parallelism, but concurrent action requires an arbiter that controls state writes. | Evidence: Weitekamp compares the pattern to concurrent readers and locked writers in a CPU: many fast decision models can run in parallel, but if each changes state independently they can collide. His arbiter evaluates competing channels and confidence before permitting an action to change system state. | Implication: Any multi-agent or speculative-tool system should put a transactional gate between parallel inference and side effects, including stale-state checks, confidence thresholds, idempotency, permissions, and rollback/escalation rules. | Caveat: The talk defines the arbiter conceptually but does not provide a formal conflict-resolution policy, calibration method, or safety evaluation.
  • Claim: For familiar real-time interactions, a system can train and progressively trust a small local model, while a higher-level model supervises and determines when that trust is warranted. | Evidence: In the Earshot prototype, a transcription/action layer teaches a small supervised audio classifier operating on 40-100 ms audio slices; an RDM independently decides when the model is reliable enough to use. The demo reportedly reaches roughly 45 ms response time for spoken workspace-number commands. Hunch is cited as a related local doodle classifier running in WebGPU at about 150 ms. | Implication: Adopt a tiered inference strategy: use a larger model to bootstrap, label, or handle novelty, then distill recurring intent recognition and control decisions into fast local models with ongoing trust monitoring. | Caveat: The demonstration is narrow, supervised, and described as somewhat glitchy; it does not prove dependable general voice control in noisy or adversarial real-world conditions.

Detailed Brief

Examples that clarify where recursion is useful versus ornamental

  • Claims: Recursive visual search can repeatedly crop or partition an image after an initial hit, allowing a decision model to localize an object through progressively smaller regions.; A browser or application may expose enough enumerable actions in its DOM, visible controls, and hotkeys that fast decision traversal can handle substantial portions of computer use without frontier-model reasoning.; Weitekamp's Factorio prototype recursively identifies the faulty group, then line, then component—an inserter—to repair it.
  • Evidence: Lily's multimodal JEV variation zooms into regions where an object detector/classifier reports a hit; Nathan from TypeSafe used recursive image halving in a binary-search-like form.; The speaker notes that his slide website exposes only actions such as up, down, and start video, using it to illustrate that UI action spaces can be programmatically enumerated.; The Factorio system found and replaced a faulty inserter without an LLM or generative component, though its route to the next target was inefficient because pathfinding was not separately composed.
  • Caveats: A capable vision model may solve some image-localization examples in one call, so recursion should be justified by context, latency, cost, or reliability constraints rather than assumed.; Enumerability is strongest in structured digital environments; open-world tasks still need generative planning, ontology creation, or human intervention.
  • Implications: Model selection should be based on the structure of the action/state space, not an assumption that every multi-step task requires chain-of-thought-like reasoning.; Missing specialist modules such as pathfinding can dominate end-to-end quality even if the decision architecture correctly identifies the target action.

Operating System One and the implementation direction

  • Claims: Oso ('operating system one') is presented as a decision-first, voice-first computer-use agent intended to reduce dependence on keyboard and mouse interaction.; Its intended operating policy is to learn user preferences and route repeated, trusted behaviors to the smallest and fastest available model, while retaining conventional agents such as Claude Code and Codex for larger jobs.; Weitekamp has released or plans to make available both an RDM implementation in a DSPy fork and a standalone Rust package.
  • Evidence: Oso is described as an evolution of Earshot, reacting to short spoken inputs faster than normal transcription in some cases and continuously refining trust in a local model.; DSPy was used as an initial structured development environment because it gained support for system-one API calls; Rust is positioned for portable, high-performance deployment.
  • Caveats: Oso is explicitly not ready and is presented as a teaser/waitlist product rather than a production-validated system.; The human-computer-interface motivation is personal and aspirational; the talk does not establish accessibility, privacy, or security guarantees for always-available voice/computer control.
  • Implications: The commercially meaningful version of this thesis is a learned control plane that progressively compiles recurring user behavior into local, low-latency skills rather than sending every interaction to a cloud LLM.

Notable Concepts & Terms

  • System 1 / decision model / JEV: A fast model that judges, ranks, or selects among supplied options rather than generating free-form text; the talk treats the naming debate as secondary to the architectural role.
  • Recursive Decision Model (RDM): Weitekamp's architecture in which a decision can invoke narrower sub-decisions over externally managed context, subject to a recursion limit.
  • Recursive Language Models (RLMs): The antecedent architecture from MIT associated with Alex Singh and Omar's group: models can call sub-models while external code manages context and recursion.
  • Decisions all the way down: The strongest form of the proposal: an agent acts entirely through recursive selection over pre-enumerated actions, without a generative model.
  • Map: A shared, structured capability interface in which decision models choose named pointers/actions and LLMs can create or modify those structured entries.
  • Arbiter: A gate that decides which parallel or speculative model outputs may mutate system state, intended to prevent conflicting writes and premature actions.
  • Earshot: A prototype combining a teacher/transcription layer, a small online-trained audio classifier, and an RDM that learns when the small model is trustworthy.
  • Operating System One / Oso: The speaker's planned decision-first, voice-first computer-use system, aimed at routing familiar controls to fast small models and escalating novelty to agents or LLMs.

Operator Notes / Why Ken Should Care

  • Prototype an explicit decision-control layer for OpenClaw workflows: inventory the bounded choices currently buried in LLM prompts—tool approval, model routing, UI target selection, retry/stop, and escalation—and benchmark them with a classifier/ranker.
  • Create a typed capability map with separate permissions for selecting an action, executing an action, and authoring or editing action definitions; require review or sandbox validation for any LLM-generated capability changes.
  • Put an arbiter in front of all stateful multi-agent/tool actions. At minimum, enforce state-version checks, action idempotency, authorization, conflict detection, and a policy for stale or competing proposals.
  • Identify repeated user intents or high-volume operational decisions suitable for local distillation, but retain a teacher/fallback model and confidence telemetry until per-user accuracy is demonstrated.
  • Evaluate hierarchical traversal for large tool registries, knowledge taxonomies, and DOM/action graphs, comparing greedy versus top-k branch exploration on recall, latency, and failure recovery.

Source/Metadata

  • Title: Your Agent Doesn't Need an LLM for Every Decision - Raymond Weitekamp, OpenProse
  • Transcript words: 15275
  • Duration seconds: 3108
  • Timestamp note: No usable timestamps or chapters were present in the supplied transcript; the transcript contains a substantial duplicated passage.

Transcript

7406 words en Processed in 283.5s

Hey, my name is Raymond Weitkamp, and my talk today is originally titled Recursive Decision Models. And what I think I've realized since submitting that title is what it's really about, what we're really going to be talking about today is operating system one. Okay, so maybe some quick definitions, or what does that mean? So system one models, the naming of system one models from TypeSafe when they released JEV, not even two months ago now, I think, came from this concept that Danny Kahneman popularized in Thinking Fast and Slow. This idea that the system one part of our brains is making very fast and intuitive judgment calls, gut reactions, reflexes, but that idea that a lot of the decisions that we make are not actually purely rational. And so system one is fast, system two is slow, more deliberate, logical reasoning, problem solving, etc. And I think what was a little unclear when they announced JEV was whether they intended system one to be their proprietary name, family of models, or whether they were expecting all the other people to call them system one models. I would say most people are calling them decision models. And so I wasn't really willing to wait for people to decide. And so when I came up with recursive decision models, it was just using that. So a rose by any other name, tomato, tomato, we don't really need to get too hung up on what are they? Are they decision models or not? Ali here argues that JEV makes the judgments, not the decisions, your code makes the decision. I think that's absolutely correct. And yet I think that much of the zeitgeist and many of the folks working in this space outside of TypeSafe are rallying around this idea of decision model being the term. There is the holdout camp of refusing to call them anything other than zero shot classifiers. Anyways, I don't have a dog in the race on the naming, just trying to explain what I am talking about. And I think that one of the things that is now connected here to this idea of system one, system two, Danny Kahneman, all this stuff, maybe related to how we behave, but I think much more interesting from this perspective of building AI systems is what if reasoning was actually many small decisions and a different way of seeing this, like what if behaviors or tasks that we might think of as requiring a lot of reasoning or a lot of deliberate cognitive processing could actually be solved in a different way with a lot of very tiny, very fast decisions. We're going to keep coming back to this question throughout the talk. And I think it's really key in what's interesting here. So recursive decision models. This is my concept that I've been developing. At its simplest, it's the marriage of two things that I got really excited about. One just over a year old, it's called recursive language models, RLM. This is from MIT, Alex Singh and Omar, their original blog post is just over a year ago. Happy birthday to RLM, belated birthday. And then like many others, I was also champing at the bit to get off the freaking JEV waitlist, which thankfully got off real quick. They did a good job with that. But I think that one of the things that I've been sharing with people is I think that part of what TypeSafe did so well and what captured the attention of so many engineers is this idea of JEV as convergence, right? Like decisions converge. And that is in direct contrast to generative AI, which has been blowing up. It's arguably the fastest growing market in the history of the world. And so much of the attention and money in the space has been about generation, right? And that's awesome. And there's amazing things that are possible with generation. But if you really think about it, even if you have infinite tokens, right, you have infinite divergence, right? Like the generative stuff, it's actually hard to converge. Someone still needs to decide what's going to make it into production. And maybe you've got your code factory set up there, all those agents are doing those decisions for you. But at the end of the day, the important thing that got me excited, and I think this is why many other people are so excited about JEV, these system one models, these decision models is this idea of yin and yang, right? It's a counterbalancing force. And so the decision model cannot generate text, it can only rank and pick and choose amongst options. And that is in direct contrast to LMs, which have this ability to spit out freewheeling open-ended text. And in the early days, it was actually hard to get them to structure their output. So I see this as yin and yang. I am not going to go super deep into recursive language models. I would highly encourage you to check out my talk from the summer from AI Engineer World's Fair, the summer recursive coding agents. It's on their YouTube channel. It's also at recursive-coding-agents.com. My slides here are also a website, and I'm going to make them available publicly after I record this. That is going to go a lot deeper into why I think RLMs are the new reasoning models, why this is a really important paradigm. So with that, we do need to draw the direct analogy here. And so in the RLM idea, right, the root recursive language model has the ability to call sub recursive language models. And those could call sub recursive language models. And then you have to cap the depth of recursion to not, if you ever want to come back from the depths. And so here we say that with depth two, then it's an LLM. So the leaf node in this graph, in this tree would ultimately be an LLM call. We can make that exact analogy, that exact map onto system one models, onto decision models and say, okay, we've got a root that can decide to call a sub RDM. And then there's some max depth, at which point we just have to make a single call, a single system one call, a single decision call. But we also have to think about composing these things together, right? And I am going to show some examples as pure decisions all the way down. That's very important. This bottom left of what I'm calling decision as a tool. So you could also replace RLM with agent, right, coding agent, okay, you've got the root coding agent, you've got the sub agent. So I would say that this decisions as a tool or JEV as a tool is the obvious one. And within 24 hours of people getting access to JEV, there's tons of examples here, right? People using JEV for compaction, people using JEV as the thing that decides whether a tool call can execute or not, people using JEV as a router to decide which model is going to get this particular request, right? So that stuff's all very cool. There's some really interesting cases there. And people just went super fast figuring that out. I think to me, what I'm more interested in is what's not as obvious how you would set it up. And that's where the root is a decision model. And you can only choose as a decision to call to a language model or an agent as one possibility. So almost everything that I'm going to be talking about with RDM is going to be in this paradigm where we're actually letting the root or the parent of this system be the system one model, the decision model. Okay. So now I want to show this for a couple of reasons. You might recognize this. This is the JEV plays Doom. It was part of the launch tweet storm and got a lot of attention. And yet, despite that, I would say it's also one of the most under-appreciated or underdeveloped examples here. And so I'm just going to show a very short clip from this where we compose their answers into the player's next action and keep repeating that loop as the game changes. This is what we call a composition of AI primitives. Composition of AI primitives. Now this composition handles the moment to moment play. So basically the first thing that they're showing is this harness that they built of decisions to handle the first person shooting aspect. Is it going to hold, carry on, walk, dodge, blah, blah, blah. It has these actions, right? This is where I think it's so simple and it's very much in line with this idea of composing systems together, recursive decision models, right? A graph of different types of decisions. Despite that, I would say it's also one of the most underappreciated, or at least I would say underdeveloped examples here. And so I'm just going to show a very short clip from this where we compose their answers into the player's next action and keep repeating that loop as the game changes. This is what we call a composition of AI primitives. Composition of AI primitives. Now this composition handles the moment to moment play. So the first thing that they're showing is this harness that they built of decisions to handle the first person shooting aspect. Is it going to hold, carry on, walk, dodge, blah, blah, blah. It has these actions, right? This is where I, it's so simple and it's very much in line with this idea of composing systems together, recursive decision models, right? A graph of different types of decisions. Here we go. So this is the second composition. Composition that decides where to explore next and they can work together to make it through a level. Okay. So now you have two compositions. One is the first person perspective. One is this bird's eye or map aware perspective. And by composing those two things together, you have a Doom playing decision agent. And now to me, I don't know, maybe I missed something, but I would say I have seen almost nothing, very few examples that are actually taking this forward that are moving. This is a super powerful idea of composing these two systems together. It's really insane that with essentially two separate but coupled decision agents, right? You now have with pure Jeff calls a Doom playing agent, right? Like that is really wild. And I think really underappreciated despite the fact that probably millions or tens of millions of people saw this video and it comes back to this question. What if reasoning was actually many small decisions, right? And what are the types of activities or categories of things that we might naively assume would need reasoning when in fact, what we need is a smart way of architecting small, fast decisions. Okay. So now onto recursive decision models. I think the glib tagline for this would be like a decision that can decide to make another decision. And that's certainly an important element of it. While I was developing this idea, this concept, I've given myself three rules. Okay. The three rules of RDMs are one that the context stays outside the model. And so the code can cut it into slices. So in the Doom example, the full state of the game is outside. Then those two little sub harnesses, the first person shooting harness has some specific subset of that. The map exploring bird's eye view decision model has another view of that. The second thing is this, and now this is where it's a little different from that demo is the decision can choose to call another decision. And again, up to this maximum depth, we talked about this recursive tree. Now these two things are the most important fundamental aspects of RLM as well, right? The context is externalized. The agent can make sub agents. The RLM can call sub RLMs and sub LLMs, right? So those two things are copied straight from the RLM idea. And it's applying that directly to system one models, decision models. The third piece is first, it must work with no generative model at all. And this was very important to me. Because I'm like all this, Jeff as a tool for a normal coding agent is cool. And there's some really great examples, but it's obvious to me what was really interested in terms of novel, what might unlock some novel behaviors, some novel capabilities, is what if there's no generative model at all? It also proves that the RDM architecture is actually correct. Like it should be able to work with no generation. And at the same time, it must compose with LLMs and with agents, right? So those are my three rules in developing this concept of recursive decision models. So first I want to show the decisions all the way down example. Okay. So decisions all the way down. You might be familiar with this idea of a Galton board. Maybe you learned about this in the context of learning about the Gaussian distribution or normal distribution. So each ball has a 50-50 chance at each pin of falling. And then you build this bell curve, Gaussian distribution. So the simplest way that I could think of to visualize this idea of recursive layers of decisions is now, what if the pins could decide? So you could think of this like a binary search. Each numbered ball, just like, oh, is this one going to go higher or lower, higher or lower? And so this pin is splitting them in half, this pin splitting them in the half, et cetera. And again, this is a silly, simple example. But now when those are smart, then we separate them perfectly. Now system one model, Jeff decision model, whatever we want to call them, well, we can ask about many questions at once. We don't have to just ask one on one axis. We could ask in multiple dimensions. So we can now visualize that in 3D as the balls are falling, they're being sorted by color on one axis by number on another, we could put the cross-sectional views here and see that in the case that this is a perfect classifier, right? It's perfectly classifying the numbered bucket that it should go in, in the end, the color bucket. So again, this is very much a toy example in the sense that actually what you could do all of this in one classifier call. You could do all of this in one decision call. You don't need this recursive tree or iterative tree to do it. But I want you to keep the visualization of this because it's exactly what's going to happen in some of these more specific examples of recursive decision models. Okay. So hierarchical search was one of the launch day cookbooks of TypeScript. And they took this Shopify database of 12,000 product categories and they implemented a beam search algorithm with hierarchical calls to Jeff to figure out from a user query, which product category the user's query was describing. And what is unique as a simple demonstration of what's possible with recursive decision models is you can do the beam search without the beam. So essentially at each layer here, we're simply asking, well, of the next sub layer of products, what is the next one that we're interested in exploring? And so in this example, we're exploring, we're not exploring all 12,000 categories at once that would overload the context window or taking the parent category. We're deciding, okay, the user said laptop backpack. Okay. Which category am I going to explore next? And iterating along from there. And we could decide in the code how we implement it. Do we do greedy? Do we pick only the top one, right? Do we explore top three that are rated with different probabilities, et cetera, but you could kind of, again, it's similar to a binary search algorithm in theme, except that the compositional unit of it is a classifier is a judgment is a decision model as a system one model. Again, too many names. I don't want to fight about the names. Okay. Visually, we can show this as well. And so Jeff quickly became multimodal, just a few weeks ago, about a month after the initial launch and Lily over here posted the first variation of this, which is wherever you are getting a hit, you are now then kind of zooming in to have a feedback loop and figure out, you know, ask again on a smaller box. Okay. Is this really in her case looking for Beatles. Right. And then Nathan from the TypeScript team kind of followed up on this. And what's interesting about his implementation is it's much more like system one model. Again, too many names. I don't want to fight about the names. Okay. Visually, we can show this as well. And so Jeff quickly became multimodal, just a few weeks ago, about a month after the initial launch and Lily over here posted the first variation of this, which is wherever you are getting a hit, you are now zooming in to have a feedback loop and figure out, ask again on a smaller box. Okay. Is this really in her case looking for Beatles. Right. Um, and then Nathan from the type safe team followed up on this. And what's interesting about his implementation is it's much more like a binary search in the sense it's like a recursive halving of the image, right? Like a golden spiral style halving, right? And then within those blocks, within those buckets, what is it that we're seeing? So again, this is these are simple examples that you might not need recursion here. A good vision model could probably answer the question in one shot. And I think some people have pointed that out clearly, but I'm trying to give a number of different visual examples of how a recursive decision model could work and where different ways of you seeing what that might look like in terms of the recursion. So now let's get back to playing video games. And so this is me playing Factorio with a recursive decision model. So we've got all of these lines that are making our steel or whatever. I'm not very good at Factorio. I apologize. I actually would like to my goal actually with this is to have my recursive decision model teach me how to play Factorio. Cause I've never really played before, but it's a pretty cool, very open-ended way of evaluating these systems and benchmarking systems. So you can see here, it's got all these lines it's figuring, okay, this group is the one that's got a problem. This line is the one that's got a problem. It's this element, the inserter that I think I need to go fix and I need to replace it. So now it's going to run over and go do that. And now the thing that I want to point out here is there is no reason here. There's no large language model here. There's nothing generative here, right? So it's kind of, I don't know, maybe it's a little bit of a toy example in that it's literally like a matrix of these things and they're all the same. But then it moves on to the next one. You'll see, actually, I should have maybe added some pathfinding composition of a recursion because it ran the long way around to go to the next one. That was not totally perfect. Right. But this is just an example of what if you just looked at this without knowing it, I think you would, I don't know, at least I would assume that you need some kind of reasoning model here. And yeah, this is like cloud plays Pokemon level thing. And to me, it's just absolutely fascinating that this can be done without any generative language model in there at all. So again, we come back to this idea. What if reasoning or tasks that we might have assumed easily required reasoning can actually be done with these many, many, many small decisions. All right. So the weakness or the downside, the limitation of decisions all the way down, right? Is that something has to have made those decisions. What are the allowed decisions? And for any of you who have a type safe account, you might remember the quiz. You have to pass a quiz to get an API key. And the question is, can Jeff generate text or not? And the answer is no. And if you put yes, they won't give you an API key. So the you have something like programmatically, a script has to do it. Another agent has to do it. The application itself has to have pre-enumerated all of it. Right. If you can only have decisions, then there's no generative aspect. And what's crazy to me is that for games, for browsers, and I think even for a lot of elements of computer use that actually might be enough. Right. And I think if you visualize now back all these examples that we just showed, hopefully you can understand why with a tree of many, many, many small decisions, we can actually find things. So you imagine in a game, the number, the total possible actions available to a user, the total possible state of the game, can be like enumerated programmatically and recursively addressed to make judgments, make decisions about what the next move is, in a browser. So these slides are, there's actually a website, in this particular website, you can go up, you can go down, you can start a video. So there's like three interactive elements in the dom. The think of it, just think about it on your computer. Like really, if you're on your computer right now, how many actions are available to you on the current screen, or with hotkeys, it's a lot. And typically computer use has been this benchmark where you think of, oh, only the smartest frontier reasoning models can actually figure this out. Well, maybe not. Maybe actually, if you could just enumerate all of the possible options to you, you can navigate it very quickly. And we're going to get towards real time machine learning examples in a little bit. Okay. So it also must compose generatively. Okay. So there is a weakness with decisions only. And one way that you might think about this is the symmetry. So not just the symmetry, but the pre definition too of the tree. So like in these examples of the halving search or this hierarchical search. So here, I'm calling it outline walk. It's a similar example. You can find the title, you find the H one heading, you find the subsection heading, you find the paragraph, you find the sentence, you find the word, right? So at each one of those layers of abstraction, you can call another one. So that's not super symmetric, like this pure binary search halving one, but the paths are essentially like predefined, or need to be programmatically defined. And what's very interesting about then when you can now have a generative element, which I'm showing as the square here. So like in this previous one, it was the generative ones diverge, the decision models converge. Generative ones diverge, decision models converge as kind of an animation, similar idea here. Now you can start to have, so these are actual real call trees from the demo I'm about to show you, the smart house. You have these much more organic shapes and these much more like emergent graphs. And I think there's this idea that the pairing, the yin and yang of the decision model and the generative model itself is kind of this very powerful automaton, right? That can kind of ratchet through the system and generate emergent behavior and complex systems from the pairing of these things. And you can get some sense of that from the different geometries of these graphs that you're looking at without seeing the actual behavior. Type safe had a really cool cookbook that they also launched, or maybe it was called a demo or whatever, of a smart home. And so the key thing from the smart home demo was that they showed was when the problem cannot be solved purely with a decision, then it can go to an LLM to do generative element. So what I've done is adapt the smart home demo, make it many more rooms in the home, many more appliances and things like that to show how the recursive decision model can interact with the home. You can express a very high level things. And you can get some sense of that from the different geometries of these graphs that you're looking at without seeing the actual behavior. TypeSafe had a really cool cookbook that they also launched, or maybe it was called a demo of a smart home. And so the key thing from the smart home demo was that they showed was when the problem cannot be solved purely with a decision, then it can go to an LLM to do generative element. So what I've done is adapt the smart home demo, make it many more rooms in the home, many more appliances and things like that to show how the recursive decision model can interact with the home. You can express a very high level thing, like we're off to bed and then you can ask that and it will do all of the sub steps very quickly to get you to door locked and lamp on, everything off. And then you can have these more oblique type things that it's learning how to do over time. Let's watch a film. And then we will ask now it's going to work through all those things in order for the decision model and the language model to talk to each other. We need some kind of shared interface. And so this is what I'm calling the map. And so again, the decision model can only point, it can judge various things that were given to it. And LMs in their most raw form have no structure to their output. It's perfectly open-ended stream of tokens, right? And so what we need is to have a shared interface. And so I call this the map. And the map is you could think of it as a set of pointers in the sense that it could literally have a name, like TV on, that has a very simple description and then some function, or in this case is like flipping this Boolean to be on, right. It might have a much more complicated function underneath it, like this sort of loop here. But the key idea is that the decision model can decide from the map which things are the right thing. It doesn't act it. So it can decide lights on the code underneath it can implement the light can implement the Lambda function lights on. Okay. The LLM now has a structured interface to add and edit and modify the map. So the LLM can basically be learning from new user behavior that okay, this movie time is now the combination of turning on the TV and turning off the lights. And so now there is a shared interface, the shared substrate, that both can talk to. I'm not going to go into it here because it gets a little bit more complicated, but I also want to point out that the map itself can be multi-dimensional. So it can essentially be representing embeddings. And for example, Kieran Clausen from every had a really interesting idea of using Jev to create low dimensional, but highly semantically meaningful embeddings. So this map that I built into the RDM code base can handle that as well. The last property or the last primitive or behavior that I have included in my recursive decision models is what I'm calling the arbiter. And here's why this is important. Jev is fast and cheap. There's decision models that can run on your phone on a crappy 10 year old laptop on, obviously you can get a better one on your new MacBook pro, whatever. These things are very fast. They're very inexpensive, either from a compute perspective or dollars perspective. And that means that we can run many at once. We can speculatively run a bunch of them when we're uncertain all in parallel. And now the thing is that we need to, if we just let all of those act on the state, we're going to have a lot of collisions. We're going to have a lot of challenge. So an example from how your CPU is working would be like that there can be many things reading in parallel concurrently. But now we need some kind of lock when we write because we don't want to have colliding writers. There's also an interesting idea from Alex saying at MIT in Omar's group, the adventure of RLMs about speculative tool calling, speculative programmatic tool calling for agents. And this is informed my thinking here, but here's this idea applied to audio, which is like we have, I'm speaking these sentences we're having, we're making decisions where I haven't even actually finished the sentence. And so we essentially have, at various times, the arbiter is deciding, okay, with the given information that I have across all of these different channels, what is the decision that I'm going to allow through? So you could imagine that each one of these lanes might want to, might be voting for a certain action. And the arbiter's job is to figure out where it has the confidence to actually allow that action to change the state. Because again, if we let them all act, we could have a lot of collisions. Let's say just a simple example, right? There's two that are making, they're different models. They're making the same kind of decision. And one of them goes a little bit faster, changes the state, before the second one makes a different decision that would have changed the state the other way. You can imagine all kinds of problems or collisions that could happen when we do that. So this pattern of the arbiter is what I've developed as a way of it's like a gate for what can actually now act on the system, change the state of the system. And it's very useful when you want to run many of these things in parallel. Okay. So I'd love you to try it. My very first implementation of RDM was as a DSPy module. This is in part because the DSPy team, in particular the folks at compound AI, were very quick to add support for system one API calls within DSPy. And secondly, DSPy is a very opinionated way of working. It's a very structured way of working. And I found this to be a very useful playground for essentially ensuring that the ideas of recursive decision models were structured in the right way, that the modules were behaving in the right way. I have also made a standalone Rust package, RDM, which is great when you want to bring very fast and portable RDMs to all kinds of systems. So yeah, check it out. In either my DSPy fork if you're a DSPy nerd or the RDM package if you want to play around with Rust. Okay. So this is where we move into operating system one. And I mean this with both of these phrasings, right? This is an operating system one, it's operating system one, and we're also learning how to operate system one models, right? So that's sort of the wordplay here with operating system one. And what's really important to me personally is this physical enmeshment that we have with our devices, right? I got like technic, right? Like my head's always down. I've got this crazy shoulder problem and tension from mousing all the time. When I was in grad school with really stressful deadlines, I was having all kinds of repetitive stress issues. And I've got every crazy vertical mouse and track ball and ergonomic keyboard that you could possibly imagine. But there is great power and economic benefit in working with computers and working with devices and working with our phones and our tablets in terms of being interconnected and in terms of being able to just do our normal jobs. And obviously anyone who is an AI engineer is going to need a computer to do their job. And at the same time, there is just all of this unnecessary suffering that is caused by the coupling of our physicality, like the coupling of our physical bodies to the physical computer, like through the traditional interfaces that have made their way in as the popular ones of society and the QWERTY keyboard, the mouse, the touch screen, et cetera. When I was in grad school with really stressful deadlines, I was having all kinds of repetitive stress issues. And I've got every crazy vertical mouse and track ball and ergonomic keyboard that you could possibly imagine. But there is great power and economic benefit in working with computers and working with devices and working with our phones and our tablets in terms of being interconnected and in terms of being able to just do our normal jobs. And obviously anyone who is an AI engineer is going to need a computer to do their job. And at the same time, there is just all of this unnecessary suffering that is caused by the coupling of our physicality, the coupling of our physical bodies to the physical computer through the traditional interfaces that have made their way in as the popular ones of society: the QWERTY keyboard, the mouse, the touch screen, et cetera. Okay, so some of you might recognize this sequence. I used it in my recursive coding agents talk, and it's also on the back of a t-shirt from the AI engineer code event in New York a couple of years ago. So here we go. We've got the evolution of the AI engineer: type it on the laptop, not great posture. Now here, it's got the AI sparkle features. So we're vibe coding here maybe. In the third one, you can see there's no more computer anymore. So now we're just talking to this orb. That's pretty cool. And then in this ultimate state of enlightenment, right? We've just think and things are manifested in our world, or I don't even know what kind of wavelengths are coming out of this guy's head. So I'm going here. I'd like to get to the right, making some progress, but right now with operating system one and my recursive decision models, I'm much closer to the audio piece. And so I want to go back in time a little bit. These videos are coming up on not quite 20 years old. It's like 17, 18 year old videos. And I want to show you some experiments in what I call radical human computer interfacing from some of my work in music. I'm just going to show these really quick and I'll explain a little bit what's going on. So over here, just watch it. I really set this up. All right. So we've got hitting these four different locations on the laptop and that is being classified to make a drum kit, right? So laptops used to have accelerometers built into them back when we still had disc, spinning disc hard drives. This one, I'm not going to play much of, but you can, in that left one, I'm triggering the drum kit here. You can use the tilt of the laptop to control different effects. I'm using the hit of this thing as a side chain compression. So it's a ducking compressor every time I hit it. And this is meaningful to me and also the way that I actually learned how to program and the way that I learned machine learning. And this is through the Princeton Laptop Orchestra. It just celebrated its 20th anniversary this spring. And really the idea of the Princeton Laptop Orchestra was what would it mean to have the laptop itself be the instrument? So there were pieces we were performing where the trackpad was the instrument. There were pieces where the keyboard was the instrument. There were pieces where all the computers were networked together on wifi and syncing very quick, low latency clock times to send messages back and forth to each other. And I was able to work with this brand new cutting edge real-time machine learning framework called the Wekinator developed by Rebecca Fiebrink to actually develop. And again, this is like 19 years ago, 18 years ago, these very small K nearest neighbors, single layer neural nets, things that look much more like principal component analysis than what we think of as transformers, large language models. And you can actually do what you might call on the fly machine learning to classify and map and do nonlinear interpolations. It was just so much fun. So I've been having a lot of fun coming back to that a little bit and merging my excitement about RLMs, my excitement about Jev, these decision models, this invention of recursive decision models, and now towards this personal goal of just being able to get things done through my computer and work in this field without hurting, without touching a keyboard all day, without touching a mouse all day. And so I'm going to show this example. This is a precursor to what I called Earshot and I want to set this up and explain it because it's actually a little confusing video to watch. You can think of this as a recursive decision model. We have one layer of the system that is transcribing the audio and then choosing an action to take based on the transcribed word. And so here, you're just going to see it's going to be cycling through my different workspaces one through eight. And then while that's happening, there is a very small model based in Chuck, there's a new thing called Chai. That's the Chuck AI. That's the successor to the Wekinator that I mentioned before. Very small model operating on a very small slice of audio, 40 milliseconds, 80 milliseconds, 100 milliseconds, right. And essentially trying to just map from some very crude binning of features: just some bins of audio, frequency bins of audio, which is the right one. Now that's supervised, right? So it needs, it knows nothing in the beginning and we can't trust it in the beginning. So there is one layer on which there's a teacher model that's teaching this small real-time model. Right. And then there's a second layer on which the system is independently figuring out when it actually trusts the small model enough to follow it. So we're going to watch it now. And what you're going to see is in the beginning, there's a big delay between the word. And this comes from Philip Glass's Knee Play One, part of Einstein on the Beach. And so you're going to see that it's going, look up here for the one, two, three, four. So there's a big delay right now. One, two, three, four, five, six, seven, eight. One, two, three, four. Okay. Now it's supervised learning. So these early numbers where it's hearing them more, one, two, three, four, we're going to learn a little faster. So now see how it's speeding up a little bit for the early ones, but there's a lag in the lead time. By the end of this thing, you're going to see that we've got down to essentially 45 millisecond time. Here we go. One, two, three, four. One, two, three, four. One, two, three, four, five, six. So now for those, we're really locked in, right? And it's learning and going. So this is recursive decision model deciding when to trust this smaller supervised model that is learning on the fly and operating on tens of milliseconds of information on the pure audio, right? So here we go by the end. It's really going to get it. Five, six, one, two, three, four, five, six, seven, eight. Anyways, to me, that's super exciting. Really fun to come back to these real time on the fly machine learning algorithms, which is actually how I first learned. millisecond, time. Here we go. One, two, three, four. One, two, three, four. One, two, three, four, five, six. So now for those, we're really locked in, right? And they're a little glitchy, but it's learning and it's going. So this is recursive decision model deciding when to trust this smaller supervised model that is learning on the fly and operating on tens of milliseconds of information on the pure audio, right? So here we go by the end. It's really going to get it. Five, six, one, two, three, four, five, six, seven, eight. Anyways, to me, that's super exciting. Really, really fun to come back to these real time on the fly machine learning algorithms, which is actually how I first learned about machine learning and I first learned programming through music. So I also want to give a shout out to this project called Hunch, Matt Mastrocki. I'm not sure exactly how to pronounce it. He did something really crazy visually messing with just embedding Gemma two, and essentially having this thing play Pictionary. So he has this thing classifying your doodles on your machine in web GPU in what, look at these numbers, like 150 milliseconds. So again, I want to give this a shout out. I was like, I'm not the only one working in this space. Audio isn't the only way in, but these very, very, very small embedding models, encoder models, classifier models, right? There's a whole resurgence of this. And if you can structure them and architect them into a bigger space, you can do really, really powerful things. Okay. So with this, this is where I'm going. It's like, how can we decouple our bodies from our devices? What would it mean to work on a computer without touching it? What would it mean to work on a computer without being able to see it? Right. And that's really what I'm building up towards with this project that I have called Oso, O-S-O dot computer. It's short for operating system one. It's not quite ready. But that earshot demo that I showed you where we're very quickly from a single word, even before, even at a speed that would be faster than we can actually transcribe what we're saying, we're able to react and respond to our voice. So we're starting with voice as the first input. And yeah, just a little bit about Oso as a teaser, and I hope you'll join the wait list and try it out when it's ready. It is a computer use agent, but it's built on recursive decision models. So yes, there are regular agents and RLM agents. And you can actually farm out jobs or give them to your normal coding agents, like Cloud Code and Codex. But it's decision first, right? And so you can also do things that are super fast, without touching the keyboard, without touching the mouse. It's recursively improving. It's constantly trying to learn what the preferences are of the user. And it's also trying to essentially always, like that earshot demo, the Philip Glass demo, farm out the decision to the fastest, smallest available model once it can build trust in that. So that's this idea of the arbiter, right? It's figuring out, okay, where have we seen this thing do well before? And then now how much can I trust it over time? So it's an evolving system. It is a tool to control your computer without touching it. Again, we're starting with voice. It's an experiment in what I consider radical human computer interfacing. Let's rethink everything. I think there's this really interesting thing about everyone going into the terminal with Cloud Code. And I don't think it's actually anything special about the terminal. That's why that happened. The terminal is clearly not the best interface for it. I think a big part of what happened over the last couple of years of us all going into the terminal was really about realizing the limitations of these default interfaces that we've been given, these default application interfaces, these default visual interfaces, touch screen interfaces, mice, keyboards, all this stuff. And then, yeah, lastly, it's just I'm having so much fun coming back to what I consider my roots in real-time machine learning. And it's really fun to be building this computer use agent also. So anyways, I hope you will check it out. I'm really grateful for your attention. This is a long talk. I'm using the opportunity to do the virtual talk to really go deep. And yeah, I hope you'll check out the recursive decision model repositories, and I hope you'll sign up for this wait list when Oso is ready at oso.computer. Thank you so much. around this idea of decision model being the term. There is the holdout camp of refusing to call them anything other than zero shot classifiers. Anyways, I don't have a dog in the race, the naming, just trying to explain what I am talking about. And I think that one of the things that is now connected here to this idea of system one, system two, Danny Kahneman, all this stuff, maybe related to how we behave, but I think much more interesting from this perspective of building AI systems is what if reasoning was actually many small decisions and yeah, maybe a different way of seeing this, like what, what if behaviors or tasks that we might think of as requiring a lot of reasoning or a lot of like deliberate cognitive processing could actually be solved in a different way with a lot of very tiny, very, very fast decisions. We're going to keep coming back to this question throughout the talk. And I think it's, it's really key in what's interesting here. So recursive decision models. So this is my concept that I've been developing. It's at its simplest, perhaps the marriage of two things that I got really excited about. One just over a year old, it's called recursive language models, RLM. This is from MIT, Alex Singh and Omar, their original blog posts is just over a year ago. Happy birthday to RLM, belated birthday. And then like many others, I was also chomping at the bit to I think it's actually champing at the bit. Anyways, I was champing and chomping to get off the freaking Jev waitlist, which thankfully got off real quick. They did a good job with that. But I think that one of the things that I've been sharing with people is I think that part of what TypeSafe did so well and what captured the attention of so many engineers and engineers is this idea of Jev as convergence, right? Like decisions converge. And that is in direct contrast to generative AI, which has been, you know, blowing up like crazy. It's arguably like the fastest growing, you know, market in the history of the world. And so much of the attention and money in the space has been about generation, right? And that's awesome. And there's amazing things that are possible generation. But if you really think about it, like even if you have infinite tokens, right, you kind of have infinite divergence, right? Like the generative stuff, it's actually hard to converge. It's like we still have slop is someone still needs to decide like what's going to make it into production. And maybe you've got your like code factory set up there, all those like agents are doing those decisions for you. But at the end of the day, like the, the important thing that I got me excited, and I think, I think this is why many other people are so excited about, about Jev, these system one models, these decision models is, this is this idea of yin and yang, right? It's a counterbalancing force. And so the decision model cannot generate text, it can only rank and pick and choose amongst options. And that is like in direct contrast to LMs, which have this ability to just like spit out freewheeling open ended text. And in the early days, actually hard to get them to structure their output. So I see this as as yin and yang. I am not going to go super deep into recursive language models, I would highly encourage you to check out my talk from the summer from AI engineer World's Fair, the summer recursive coding agents, it's on their YouTube channel, it's also at recursive coding agents.com. My slides here are also a website, and I'm going to make them available publicly after I record this. That is going to go a lot deeper into why I think our LMs are the new reasoning models, why this is a really important paradigm. So with that, we do need to sort of just draw the direct the direct analogy here. And so in the RLM idea, right, the root recursive language model has the ability to call sub recursive language models. And those could call sub recursive language models. And then you can you have to sort of like cap the depth of recursion to just not if you ever want to like come, come back from the depths. And so here we say like, okay, depth two, then it's an LLM. So the the leaf node in this graph in this tree would would ultimately be an LLM call, we can make that exact analogy that exact map onto system one models onto decision models and say, okay, we've got a root that can decide to call a sub RDM. And then there's some max depth, at which point we just have to make like a single call, a single system one call a single decision call. But we also have to think about composing these things together, right? And the I am going to show some examples as pure decisions all the way down, that's very important. This bottom left of what I'm calling decision as a tool. So you could you can also this is what my recursive coding agents talk was about is like replace RLM with like, agent, right coding agent, okay, you got the root coding agent, you got the sub agent, da da da da. So I would say like this decisions as a tool or jev as a tool was is like the obvious one. And within, you know, 24 hours of people getting access to jev, there's tons and tons of examples here, right? People using jev for compaction, people using jev as the thing that decides whether a tool call can execute or not people using jev as a router to decide which, which model is going to get this particular request, right? So that stuff's, it's all very cool. There's some really interesting cases there. And people just went buck wild going super fast figuring that out. I think to me, what I'm more interested in is, is not as obvious how you would set it up. And that's where the root is a decision model. And you only can you could choose as a decision to call to a language model or an agent as one as one possibility. So almost everything that I'm going to be talking about with RDM is going to be in this paradigm where we're actually letting the root or the parent of this system be the system one model, the decision model. Okay. So now I want to show this for a couple of reasons. This, you might recognize this. This is the jev plays doom. It was part of like the launch tweet storm and got a lot of attention. And yet, despite that, I would say it's also one of the most, um, under appreciated, or at least I would say underdeveloped, um, uh, examples here. And so I'm just going to show a very short clip from this where we compose their answers into the player's next action and keep repeating that loop as the game changes. This is what we call a composition of AI primitives. Composition of AI primitives. Now this composition handles the moment to moment play. So basically the first thing that they're showing is this harness that they built of decisions to handle the, like the first person shooting aspect. Is it going to hold, carry on, walk, dodge, blah, blah, blah. It has these actions, right? This is where I, I, it's so simple and it's very much in line with this idea of composing systems together, recursive decision models, right? A graph of different types of decisions. Um, here we go. So this is the second composition. Composition that decides where to explore next and they can work together to make it through a level. Okay. So now you have two compositions. One is the first person perspective. One is this like bird's eye or like map aware perspective. And by composing those two things together, you have a, a doom playing decision agent. And now to me, I don't know, maybe I missed something, but I would say like, um, I have seen almost nothing very, very, very, very few, um, examples that are actually like taking this, uh, forward that are, that are moving. This is a super powerful idea of composing these two systems together. It's really insane that with like essentially two separate, um, but coupled, um, so two distinct, but coupled decision agents, right? You now have with pure Jeff calls, um, a doom playing agent, right? Like that is really wild. And I think really underappreciated despite the fact that probably like, I don't know, millions or tens of millions of people saw this video and it comes back to this question. What if reasoning, uh, was actually many small decisions, right? And, um, or what are the types of activities or categories of things that we might naively assume would need reasoning when in fact, what we need is a smart way of architecting small, fast decisions. Okay. So now onto recursive decision models. I think the, the glib tagline for this would be like a decision that can decide to make another decision. And, um, that's certainly an important element of it. Uh, while I was developing these, um, this idea, this concept, I've, I've given myself three rules. Okay. The three rules of RDMs are one that the context stays outside the model. And so the code, um, can cut it into slices. So the, the, in the doom example, the, the full state of, um, the game, uh, is outside. Then those two little sub harnesses, the first person shooting harness has some specific subset of that. The, um, the map exploring bird's eye view decision model has another view of that. Uh, the second thing is this, uh, and now this is where it's a little different from that demo is the decision can choose to call another decision. And again, up to this maximum depth, we talked about this recursive tree. Now these two things are the most important fundamental aspects of RLM as well, right? The context is externalized. The agent can make sub agents. The RLM can call sub RLMs and sub LLMs, right? Um, the, so those two things are like copied straight from the RLM idea. And it's applying that directly to, to system one models, decision models. Uh, the third piece is first, it must work with no generative model at all. And this was very important to me. Um, because I, again, I'm like all this, like Jev as a tool for a normal coding agent is, is, is cool. And there's some really great examples, but it's, it's obvious to me what was really interested in terms of novel, what might unlock some novel behaviors, some novel capabilities, um, is what if there's no generative model at all? It also proves that the, that the RDM architecture is actually, uh, correct. Like it should be able to work with no generation. And at the same time, it must compose with LLMs and with agents, right? Um, so those are my three rules in developing this concept of recursive decision models. So first I want to show the, the decisions all the way down example. Okay. So decisions all the way down. Um, you might be familiar with this idea of a Galton board. Um, maybe you learned about this in the context of learning about, um, the, the Gaussian distribution or, or, um, uh, what do they call it? Normal distribution. So like each ball has like a 50, 50 chance at each pin of, um, um, falling. And then you build this like bell curve, um, Gaussian distribution. So the simplest way that I could think of to, to visualize this idea of, um, like recursive layers of decisions is now, what if the pins could decide? So you could think of this kind of like a binary search, like, so each, um, numbered ball, just like, Oh, is this one going to go higher or lower, higher or lower? Um, and so this pin is like splitting them in half, this pin spitting them in the, to its half, et cetera. Um, and again, this is kind of like a silly, simple example. Uh, but now when those are smart, then we separate them perfectly. Now system one model like Jeff decision model, whatever we want to call them. Uh, well, we can ask about, we can ask many questions at once. We don't have to just ask one on one axis. We could ask in multiple dimensions. So we can now visualize that in 3d as like the ball's falling, they're being sorted, uh, by color and one axis by number and another, we could put the cross-sectional views here and see that in the case that this is a perfect, um, classifier, right? Um, it's perfectly classifying the numbered bucket that it should go in, in the end, the, uh, color bucket. So again, this is very much a toy example in the sense that like, actually what you, you could do all of this in one classifier call. You could do all of this in one decision call. You don't need, um, this like recursive tree or like iterative tree to do it. But I'm, um, um, I want you to keep the visualization of this because it's exactly what's going to happen in some of these more specific examples of recursive decision models. Okay. So hierarchical search was one of the launch day, uh, cookbooks of type safe. And they, what they did is they took, um, this Shopify, uh, database of 12,000 product categories and they implemented like a beam search algorithm with hierarchical calls to, um, Jeff to figure out from, from a user query, which product category, um, the user's query was describing. And what is unique as a simple demonstration of what's possible with recursive decision models is you can do the beam search without the beam. So essentially at each layer here, we're simply asking, well, um, of the next sub layer of products, what is the next one that we're interested, um, in exploring? And so, uh, in this, in this example, we're exploring, we're not exploring all 12,000 categories at once that would like overload the context window or taking the parent category. We're deciding, okay, the user said laptop backpack. Okay. Which category am I going to explore next? And, and iterating along, uh, from there. Um, and we could decide in the code, how we implement it. Do we do greedy? Do we pick like only the top one, right? Do we explore top three, um, that are rated, uh, with the different probabilities, et cetera, but you could kind of, again, it's like similar to a binary search algorithm in theme, except that like the compositional unit of it is a classifier is a judgment is a decision model as a system one model. Again, too many names. I don't want to fight about the names. Okay. Visually, um, we can show this, um, as well. And so the, uh, Jeff quickly became, uh, multimodal, uh, just a few weeks ago, about a month after the initial, uh, launch and, um, Lily over here, uh, posted like the first variation of this, which is like, wherever you are getting a hit, you are, um, now then kind of like zooming in to have like a feedback loop and like figure out, you know, ask again on a, on a smaller box. Okay. Is this really, uh, in her, her case looking for, um, Beatles. Right. Um, and then Nathan from the type safe team kind of followed up on this. And, um, what's interesting about his implementation implementation is it's much more like, um, um, this, um, binary search in the sense it's like a recursive having of the, of the image, right? Like a, like a golden, um, golden spiral style, like having, right. And then within those, uh, blocks within those buckets, um, uh, like what, what is it that we're, um, seeing? So again, this is, this is the, um, these are simple, simple examples that you, you might not need recursion here. Like a, you know, a good vision model could probably answer the question in one shot. And I think some people have, have pointed that out clearly, but I, I'm trying to, um, give a number of different visual examples of, of how a recursive decision model could work and where, um, uh, different ways of you seeing what that might look like, um, in terms of the recursion. So now let's get back to, to playing video games. And so this is, this is, um, me playing Factorio with a recursive decision model. So we've got all of these, um, these lines that are making our steel or whatever. I'm, I'm not very good at Factorio. Um, so apologize. Uh, I actually would like to, um, my goal actually with this is to have my recursive decision model, teach me how to play Factorio. Cause I've, I never really played before, but it's a, it's a pretty cool, like very open-ended, um, way of evaluating these systems and benchmarking systems. So you can see here, it's got all these lines it's figuring, okay, this group is though the one that's, um, got a problem. Uh, this line is the one that's got a problem. It's this element, the inserter that I think I need to go, uh, fix and I need to replace it. So now it's going to run over and go do that. And now the thing that I, I want to point out here is there is no reason here. There's no large language model here. Um, there's nothing generative here, right? So it's kind of, it, I don't know, maybe it's a little bit of a toy example and that it's literally like a matrix of these things and they're all the same. Um, but then it moves on to the next one. You'll see, actually, I should have maybe added some pathfinding composition of a recursion because it ran like the long way around to go to the next one. That was not totally perfect. Right. But this is just an example of what, if you just looked at this without knowing it, I think you would, I don't know, at least I would assume that you need some kind of reasoning model here. You need, um, and, um, yeah, you like, this is like, I don't know, like cloud plays Pokemon level, uh, thing. And to me, it's just absolutely fascinating that this can be done, uh, without any, uh, generative language model in there at all. So again, we come back to this idea. What if reasoning or tasks that we might have assumed and I easily required reasoning can actually be done with these many, many, many small decisions. All right. So the, the weakness or the downside, um, the limitation of decisions all the way down, right? Is that something has to have made those decisions? Like what, what, um, are the allowed decisions? And, um, for any of you who have a type safe account, you might remember the, the quiz. You have to pass a quiz to get an API key. And the question is, can Jeff generate text or not? And the answer is no. And if you put yes, they won't give you an API key. So, so the, um, you have something like programmatically, um, whatever, like a script has to do it. Another agent has to do it. The application itself has to have pre-enumerated all of it. Right. Um, if you can only have decisions, then there's no generative aspect. Um, and what's crazy to me is that for games, for browsers, and I think even for a lot of elements of computer use that actually might be enough. Right. And I think if you kind of visualize now back all these examples that we just showed, uh, you hopefully can understand why with a tree of many, many, many small decisions, we can actually, um, find things. So you imagine in a game, the number, the total possible, um, actions available to a user, the total, um, possible state of the game, um, can be like enumerated programmatically and recursively addressed to make judgments, make decisions about what, what the next move is, um, in a browser. So these slides are, there's actually a website, um, in this particular website, you can go up, you can go down, you can start a video. So there's like three interactive elements in the dom. Um, the, the, you think of it, just think about it on your computer. Like really, if you're on your computer right now, like how many, um, how many actions are available to you on the current screen, uh, or with like the hotkeys, like it's, it's a lot. And if, and typically computer use has been this benchmark where you think of, Oh, only the smartest frontier reasoning models can actually figure this out. Um, well, maybe not like maybe actually, if you could just enumerate like all of the possible options to you, um, you can navigate it with, uh, very quickly. Um, and, and we're going to get towards real time machine learning examples in a little bit. Okay. So it also must compose generatively. Okay. So there is a weakness, um, with decisions only. And one way that you might think about this is, um, like the, the symmetry. So, so, um, not just the symmetry, but like the, the pre definition two of the tree. So like in these examples of like the having search or this like hierarchical search. So like here, I'm calling it outline walk. It's a similar example. You can find the title, you find the, um, the H one heading, you find the subsection heading, you find the paragraph, you find the sentence, you find the word, right? Um, so at each one of those, those layers of abstraction, you can call another one. So that's not like super symmetric, like this, like pure binary search, um, having one, but the paths are, are essentially like predefined, um, or need to be programmatically defined. Um, and what's very interesting about then when you can, um, now have a generative element, which I'm showing as like the square here. So like in this previous one, it was like the generative ones diverge the, um, the decision models converge generative ones diverge. Decision models converged as kind of an animation, similar idea here. Now you can start to have, so these are actual real call trees from the demo. I'm about to show you the smart house. You have these much more organic shapes and these much more like emergent graphs. And I think there's this, um, I have this idea that like that pairing, the yin and yang of the decision model and the generative model itself is kind of this very powerful automaton, right? That can kind of ratchet through the system and, and generate emergent behavior and complex systems, uh, from the pairing of these things. And you can get some sense of that from, from the, the different geometries of these graphs that you're looking at without seeing the actual behavior. Um, type safe had a really cool, uh, cookbook, uh, that they also launched, uh, with, or maybe it was called a, um, I don't know, demo or whatever, um, of a, of a smart home. And so the, the key thing from the smart home demo was that, that they showed was when the problem cannot be solved purely with a decision, then it can go to an LLM to do generative element. So what I've done is adapt the smart home demo, make it a much, uh, many more rooms in the home, many more appliances and things like that to show how the recursive decision model can, um, can interact with the home. You can express a very high level thing, like we're off to bed and then you can ask that and it will do all of the sub steps very, very quickly to get you to door locked and lamped on, uh, lamp on everything off. And then you can have, um, these more like oblique type things that it's learning how to do over time. Let's watch a film. Um, and then we will ask now it's going to, uh, like work through all those things in order for the decision model and the language model to talk to each other. We need some kind of shared interface. And so this is, um, what I'm calling the map. And so again, the decision model can only point, um, it can judge various things that were given to it. And LMs in their sort of most raw form have no, um, structure to their output. It's perfectly open-ended stream of tokens, right? And so what we need is to kind of have a shared interface. And so I, I call this the map. Um, and the, um, the map is, um, you could think of it as a, um, a set of like pointers in the sense that it, uh, could literally have like a name, like TV on that has a very simple description and then some function, um, or in this case is like flip flipping this Boolean to be on, right. It, um, it might have a much more complicated, um, function underneath it, like, um, this sort of like, uh, loop here. Um, but the key idea is that the, the, um, decision model can decide, uh, from the map, which things are the right thing. It doesn't act it. So it can decide lights on the code underneath it can implement the light can implement the Lambda function lights on. Okay. The LLM now has a structured interface to add and edit and modify the map. So the LLM can basically, um, be learning from new user behavior that, okay, this movie time is now the combination of turning on the TV and turning off the lights. Um, and so now there is a shared interface, the shared substrate, um, that both can talk to. I'm not going to go into it here because it gets a little bit more complicated, but I also want to point out that the map itself can be, uh, multi-dimensional. So it can essentially be representing, uh, embeddings. And, and for example, um, like Kieran Clausen from every had a really interesting idea of using, um, using Jev to create low dimensional, but highly semantically meaningful embeddings. So, so this map that I built into the RDM code base can, can handle that as well. The last, uh, property or the last, um, primitive or behavior that I have included in my recursive decision models is, uh, what I'm calling the arbiter. And here's why this is important, which is Jev is fast and cheap. There's decision models that can run on your phone on a crappy 10 year old laptop on, um, obviously you can get a better one on your new, um, your new MacBook pro, whatever. Um, these things are very fast. They're very inexpensive, either from a compute perspective or dollars perspective. And that means that we can run many at once. We can, we can actually speculatively run a bunch of them when we're uncertain all in parallel. And now the thing is that we need to, if we just let all of those act on the state, um, we're going to have a lot of collisions. We're going to have a lot of challenge. So, um, an example from how your CPU is working would be like that there can be many things reading in parallel concurrently. Um, but now we need some kind of lock when we write because we don't want to, uh, collide, have colliding, uh, writers. There's also an interesting idea also from Alex saying, um, at MIT in Omar's group, the adventure of RLMs about, um, uh, speculative tool calling, speculative programmatic tool calling for agents. Uh, and this is, um, you know, informed my thinking here, but here's, here's this idea applied to audio, which is like we have, uh, I'm speaking, uh, these sentences we're having, we're making decisions where I haven't even actually like finished the sentence. And so we essentially have, um, at various times, the arbiter is like deciding, okay, with the given information that I have across all of these different channels, what is the decision that I'm going to allow through? So you could, you could imagine that like each one of these, uh, lanes might like want to, um, might be voting for like a certain action. And the arbiter's job is to figure out like where it has the confidence to actually like allow that action to change the state. Because again, if we let them all, uh, act, we could have a lot of collisions. Let's say just a simple example, right? There's two, there's two that are making, uh, the, they're different models. They're making the same kind of decision. Um, and one of them, uh, goes a little bit faster, changes the state, um, before the second one makes a different decision that would have changed the state the other way. You can imagine all kinds of problems or collisions that could happen when we do that. So this, this pattern of the arbiter is what I've developed, um, as a way of like, um, um, it's like a gate for what can actually now, um, act on the system, change the state of the system. And it's very useful when you want to run many of these things in parallel. Okay. So I'd love you to try it. Um, my very first implementation of RDM was as a DSPy module. Um, this is in part because the DSPy, uh, team in particular, the, the folks at compound AI, uh, were very, very quick to add support for system one API calls within, um, DSPy. Um, and secondly, DSPy is a very, um, opinionated way of working. It's very structured way of working. And I found this to be a very useful playground for, um, essentially ensuring that the ideas of recursive decision models, um, were structured in the right way that, um, the modules were behaving, uh, in the right way. Uh, I have also, uh, made a standalone Rust package, um, RDM, which is great when, uh, you want to bring, uh, very, very fast and portable, um, RDMs to all kinds of systems. So yeah, check it out. Um, in either my DSPy fork, uh, if you're a DSPy nerd or, um, the RDM package, if you want to play around with Rust. Okay. So this is where we move into operating system one. And I mean this, uh, with both of these phrasings, right? Um, this is an operating system one, it's operating system one, and we're also learning how to operate system one models, right? So that's sort of the plan words here with operating system one. And what's really important to me, um, personally is this physical enmeshment that we have with, with our devices, right? Um, I got like technic, right? Like my head's always down. I've got this like crazy, like shoulder problem and tension from mousing all the time. When I was in grad school with really stressful deadlines, I was having all kinds of, um, repetitive stress issues. And I've got every crazy vertical mouse and track ball and ergonomic keyboard that you could possibly imagine. But the, like there is great, um, power and economic benefit in working with computers and working with devices and working with, um, our phones and our tablets in terms of being interconnected and in terms of being able to just do our normal jobs. And obviously anyone who is an AI engineer is going to need a computer to do their job. And at the same time, like there is just all of this, um, I would say unnecessary suffering that is caused by the coupling of our physicality, like the coupling of our physical bodies to the physical computer, like through the traditional interfaces that have made their way in as the popular ones of society and the QWERTY keyboard, the mouse, the touch screen, et cetera. Okay. So some of you might recommend, recognize this, um, this sequence, uh, I used it in my recursive coding agents talk, and it's also on the back of a t-shirt, uh, from the AI engineer code event in New York a couple of years ago. And so, so here we go. We've got the evolution of, of the AI engineer, uh, you know, type it on the laptop, not great posture. You know, now here, it's got like the AI, uh, sparkle features. So we're, we're vibe coding here maybe. Um, you know, in the third one, you can see there's no more computer anymore. So now we're just like talking to this like orb. Um, that's pretty cool. Um, that's pretty cool. And, uh, then in the, this ultimate, like state of enlightenment, right? We've just like think and, and, um, things are manifested, uh, in, in our world, or I don't even know what kind of, uh, wavelengths are coming out of this guy's head. So I'm going here. I'd like to get to the, the right, um, making some progress, but think right now with, uh, with, uh, with operating system one and my recursive decision models, I'm, I'm much closer to, to the audio piece. Um, and so I want to, um, I want to sort of take a, um, to go back in time a little bit. Um, this, these videos are, um, I'm getting old. They're, they're coming up on, uh, not quite 20 years old. It's like 17, 18 year old, uh, videos. And I want to show you some experiments, um, in what I call radical human computer interfacing, um, from some of my work in music. I'm just going to show these really quick and I'll explain a little bit what's going on. So, so over here, so, so just watch it. I really set this up. All right. So we've got like, um, hitting these four different locations on the laptop and that is, uh, being classified, uh, to make a drum kit, right? So the laptops used to have, um, accelerometers built into them back when we're still, uh, have disc, spinning disc hard drives. Um, this one, I'm not going to play, um, so much of, but you can, um, uh, in that left one, I'm like triggering the drum kit here. You can use the tilt of the, um, laptop to control different effects. I'm using the hit of this thing as a side chain compression. Um, so it's like a ducking compressor every time I hit it. Uh, and this is much, but this is, um, I want to bring this up, um, because it's personally meaningful to me is also the way that I actually learned, um, how to program and, um, the way that I learned machine learning. And this is through the Princeton laptop orchestra. Um, it just celebrated its 20th anniversary, uh, this spring. And really the idea of the Princeton laptop orchestra was what would it, what does it mean, um, to have the laptop itself be the instrument? So there were pieces we were performing where the trackpad was the instrument. There were pieces where the keyboard was the instrument. There were pieces where all the computers were networked together on, um, wifi and like syncing super, super, um, quick, like low latency clock times to send messages back and forth to each other. And, um, I was able to work with this, uh, brand new cutting edge real-time machine learning framework called the Wekinator developed by Rebecca Fiebrink, um, to actually develop. Um, and again, this is like, this is like 19 years ago, 18 years ago, um, these, um, very, very small, um, you know, K nearest neighbors, um, like single layer neural nets, um, you know, things that look much more like principal component analysis than like what we think of as like transformers, large language models. And, and, um, and you can actually, um, do, uh, what you might call like on the fly, um, machine learning to, to, um, classify and map and do nonlinear interpolations. Um, it was just so much fun. So I've been having a lot of fun with coming back to, um, that a little bit and kind of merging, um, my excitement about RLMs, um, my excitement about Jev, these decision models, this, this invention of recursive decision models, and now towards, um, this kind of personal goal of just like, like I want to be able to get things done through my computer and, uh, work in this field without hurting, without like touching a keyboard all day, without touching a mouse all day. Um, and so, uh, I'm going to show this example. I, this is sort of a precursor to, to, oh, so that I called earshot and I want to set this up and explain it because it's actually a little bit confusing video to watch. Um, so you can think of this as this, uh, a recursive decision model. We have, uh, one layer of the system that is transcribing the audio and then choosing an action to take based on the transcribed word. And so the, um, here, you're just going to see there's, it's going to be cycling through my different workspaces one, um, through eight. Um, and then, uh, while that's happening, there is a very small, um, uh, based in Chuck, there's a new thing called Chai. That's like the Chuck AI. That's sort of the successor to the Wekinator that I mentioned before. Very, very small model model operating on a very, very small slice of audio, 40 milliseconds, 80 milliseconds, a hundred milliseconds. Right. And essentially trying to just map from some very crude binning of, so the features are just like some bins of audio frequency bins of audio, um, which is the right one. Now that's supervised, right? So it needs, it's, it knows nothing in the beginning and we can't trust it in the beginning. So there is one layer on which there's like a teacher model that's teaching this small real-time model. Right. And then there's a second layer on which the system is independently figuring out when it actually trusts the small model enough to follow it. So we're going to watch it now. And what you're going to see is in the beginning, there's a big delay between the word. And this comes from Philip Glass's, um, uh, knee play one part of, uh, Einstein on the beach. And, um, so you're going to see that it's going, look up here for the one, two, three, four. So there's a big delay right now. One, two, three, four, five, six, seven, eight. One, two, three, four. Okay. Now it's, it's supervised learning. So this early numbers where it's hearing them more, one, two, three, four, we're going to learn a little faster. So now see how it's speeding up a little bit for the early ones, but there's a lack in the lead of the time. By the end of this thing, you're going to see that we've got down to essentially 45 millisecond, um, time. Here we go. One, two, three, four. One, two, three, four. One, two, three, four, five, six. So now for those, we're really locked in, right? And they're a little glit, but it's learning and it's going. So this is recursive decision model deciding, um, when to trust this smaller supervised model that is learning on the fly and operating on tens of milliseconds of information on the pure audio. Right? So here we go by the end. It's really going to get it. Five, six, one, two, three, four, five, six, seven, eight. Anyways, to me, that's super exciting. Um, really, really fun to like come back to these, um, these real time on the fly machine learning algorithms, which is actually how I first learned, um, about machine learning and, and I first learned programming through, through music. So, um, I also want to, so that's the audio example. I also want to give a shout out to this project called hunch, uh, Matt Mastrocki. I'm not sure exactly how to pronounce it. He said something really crazy visually messing with just embedding Gemma two, um, and essentially having this thing play Pictionary. So he has this thing classifying your doodles, um, on your machine in web GPU in like, what, look at these numbers, like 150 milliseconds. So again, I want, I just want to give this a shout out. I was like, I'm not the only one working in this space. Audio isn't the only way in, but these, these very, very, very small, um, embedding models, encoder models, classifier models, right? Like there's a whole resurgence of this. And if you can, uh, structure them and architect them into a bigger space, you can do really, really powerful things. Okay. So with this, this is kind of where I'm going. It's like, how can we decouple our bodies from our devices? What would it mean to work on a computer without touching it? What would it mean to work on a computer without being able to see it? Right. And that's really what, um, I'm building up towards with this project that I have called Oso, O-S-O dot computer. It's short for operating system one. It's not quite ready. Um, but that earshot demo that I showed you where we're very quickly from a single, uh, word, uh, even before, uh, even at a speed that would be faster than we can actually transcribe what we're saying. We're able to react and respond, um, to, to our voice. So we're starting, starting with voice as the first input. Um, and yeah, just like a little bit about Oso as like a teaser, and I hope you'll join the wait list and try it out when it's ready as like, it is a computer use agent, but it's built on recursive decision models. So yes, there are, uh, regular agents and RLM agents. Um, and you can actually, um, uh, you can, um, sort of farm out jobs or, um, uh, give them to like your normal coding agents, like cloud code and codex. Um, but it's, it's decision first, right? And so you can also do things that are super fast, uh, without touching the keyboard, without touching the mouse. Um, it's recursively improving. It's constantly trying to learn, um, what the preferences are, um, of the user. And it's also trying to essentially always like that, um, earshot demo, the, the Philip Glass demo. It's also trying to like farm out the decision to the, the fastest, smallest, um, available model once it can build trust in that. So that's this idea of the arbiter, right? It's like figuring out, okay, where have we seen this thing do well before? And then now how much can I trust it over time? So it's a, it's an evolving system. It is a tool to control your computer without touching it. Again, we're starting with voice. It's an experiment in what I consider radical human computer interfacing. Let's like rethink everything. I think there's this really interesting thing about everyone going into the terminal, um, with cloud code. And I don't think it's actually anything, um, special about the terminal. That's why, um, that happened. The terminal is clearly not like the best interface for it. I think a big part of what happened over the last couple of years of us all going into the terminal was really about, uh, just realizing the limitations of these default interfaces that we've been given these default application interfaces, these default visual, um, interfaces, touch screen interfaces, mice, keyboards, all this stuff. Um, and then, yeah, lastly, it's just like, um, I'm having so much fun, uh, coming back to, uh, what I consider my roots in, in real-time machine learning. And, and it's really fun to be building this, this computer use agent also. So anyways, I hope you will check it out. I'm really grateful for your attention. This is a long talk. I'm using the opportunity to do the virtual talk to, to really go deep. Um, and yeah, I hope you'll check out the recursive decision model repositories, and I hope you'll sign up, uh, for this waitlist when Oso is ready at oso.computer. Thank you so much. !