newsfilter
← Interviews
AI Engineer52 min

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

Raymond Weitekamp

Conference Presentation
  • Core Concept Definition

    • The talk proposes "Recursive Decision Models" (RDMs), originally termed "Operating System 1," as a framework for building AI systems through hierarchical, non-generative decision-making.
    • The terminology "System One" is derived from Daniel Kahneman's cognitive theory (fast, intuitive judgment) and TypeSafe's recent release of "Jev," though the speaker prefers "decision model" or "recursive decision model" to avoid confusion with generative AI.
    • RDMs operate on the premise that complex reasoning or tasks can be decomposed into a tree of many small, fast, and deterministic decisions rather than a single large, divergent generative generation.
    • The architecture contrasts "System One" (convergent, ranking, picking, and choosing) with traditional LLMs (divergent, freewheeling text generation).
  • Foundational Principles and Rules of RDMs

    • Rule 1: Externalized Context
      • The model's context is kept external to the model itself, allowing the code to slice and route specific subsets of state (e.g., first-person vs. map view in a game) to different sub-decision nodes.
      • This mirrors Recursive Language Models (RLMs) where the root model controls sub-models while the full state remains outside the immediate computation.
    • Rule 2: Recursive Decision Calling
      • A decision node can recursively call other decision nodes up to a defined maximum depth, creating a decision tree rather than a single call.
      • This allows for hierarchical exploration (e.g., narrowing down product categories or image regions) without processing all options simultaneously.
    • Rule 3: Generative Independence and Composition
      • RDMs must function entirely without generative language models to prove the architecture's validity, though they must also be able to compose with LLMs and agents when generation is required.
      • This "decisions-only" approach is viable for domains where the action space is enumerable, such as gaming interfaces or browser navigation.
  • Demonstrated Architectures and Examples

    • Doom Gameplay Agent
      • Composed two distinct decision agents: one for first-person perspective actions (dodge, walk, shoot) and one for bird's-eye map exploration.
      • The system achieves complex gameplay through pure decision calls without any generative text output, validating the "decisions as tools" paradigm.
    • Hierarchical Product Search
      • Implemented a beam search over 12,000 Shopify product categories using recursive Jev calls.
      • The system iteratively narrows the search space (e.g., "laptop backpack" -> specific category) to avoid context window overload and converge on the correct product.
    • Visual Object Localization
      • Demonstrates recursive halving of image space (similar to a binary search) to locate objects like "beetles," utilizing multimodal decision models to zoom in on specific regions.
    • Factorio Automation
      • A system controlled the game by analyzing a matrix of game elements (inserters, belts) to identify and fix bottlenecks using only decision logic.
      • The agent lacked a generative model, proving that complex industrial management tasks can be solved via recursive decision trees.
    • Smart Home Control
      • Adapted the TypeSafe "Smart Home" demo to scale with more rooms and appliances.
      • The root decision model interacts with a "Map" (a shared interface of functions/pointers) to coordinate with LLMs for unstructured tasks (e.g., "Let's watch a film" triggers specific light/TV sequences defined in the map).
      • LLMs can learn and edit the Map based on user behavior, while the Decision Model executes the actual state changes.
  • Advanced Mechanisms: The Arbiter and Real-Time Learning

    • The Arbiter Pattern
      • Addresses the "collision problem" where multiple fast decision models running in parallel might issue conflicting state changes.
      • The Arbiter acts as a gatekeeper, weighing confidence scores across parallel lanes to authorize only safe, non-conflicting actions (similar to CPU lock mechanisms).
    • Earshot Project (Audio Interface)
      • A precursor to the "OSO" project that decouples user input from physical keyboards/mice.
      • Utilizes a two-layer system: a teacher model supervises a tiny, real-time model (operating on 40–100ms audio chunks) to classify audio triggers (e.g., Philip Glass music cues) for workspace switching.
      • The system learns on-the-fly, reducing reaction latency from seconds to ~45ms as it gains trust in the small model's predictions.
    • Hunch (Visual Interface)
      • Cited as an external example of rapid visual classification, where a model classifies user doodles in 150ms using WebGPU embeddings.
  • Future Outlook: OSO (Operating System One)

    • Vision Statement
      • Aims to create a computer use agent that eliminates the need for physical interaction (keyboard/mouse) to reduce repetitive strain injuries and improve ergonomics.
      • Proposes "radical human-computer interfacing" where the computer is controlled via voice and gesture, treating the physical interface as a legacy constraint.
    • System Capabilities
      • Built on RDMs with "decisions first" logic, farming out complex jobs to standard coding agents (e.g., Cloud Code, Codex) while maintaining a recursive decision layer.
      • Features an evolving system that continuously learns user preferences and dynamically farms out decision tasks to the fastest, smallest available model once trust is established.
    • Current Status
      • The project is currently in early development with a public waitlist at oso.computer.
      • Implementation is available via a DSPy module (for structured experimentation) and a standalone Rust package for portable, high-performance integration.
      • The speaker encourages developers to explore the "decisions-only" paradigm for tasks previously assumed to require heavy generative reasoning.