AI Updates
  • Latest News
  • Models & Research
    • AGI & Alignment
    • AI Agents
    • Foundation Models
    • Generative AI
    • Open Source AI
    • Research & Papers
    • Rankings & Benchmarks
  • Infrastructure
    • Chips & Semiconductors
    • Cloud & Networking
    • Data Centers & Neoclouds
    • Developer Platforms
    • Quantum Computing
  • Business
    • Big Tech Strategy
    • Mergers & Acquisitions
    • Public Markets
    • Startups & Funding
    • Talent & Leadership
    • Market Analysis
  • Applications
    • Consumer & Creative
    • Cybersecurity
    • Education & Media
    • Enterprise & Productivity
    • Finance & Legal
    • Healthcare & Life Sciences
    • Industry & Manufacturing
    • Science & Discovery
  • Robotics
    • Autonomous Vehicles
    • Drones & Defense
    • Edge AI & Embodied Intelligence
    • Robotics
  • Energy
    • Cooling & Water
    • Efficiency & Emissions
    • Electricity & Power Grids
    • Nuclear & Renewables
  • Policy & Society
    • AI Safety & Security
    • Copyright & Misinformation
    • Geopolitics
    • Privacy & Human Rights
    • Regulation & Government
    • Work & Society
Stay Ahead of AI

Get the AI developments that matter, delivered to your inbox.

Follow AI Updates
Facebook
Twitter
Instagram
  • Home
  • About
  • News
  • Contact
  • Newsletter
0
0
0
AI Updates AI Updates
AI Updates
  • Latest News
  • Models & Research
    • AGI & Alignment
    • AI Agents
    • Foundation Models
    • Generative AI
    • Open Source AI
    • Research & Papers
    • Rankings & Benchmarks
  • Infrastructure
    • Chips & Semiconductors
    • Cloud & Networking
    • Data Centers & Neoclouds
    • Developer Platforms
    • Quantum Computing
  • Business
    • Big Tech Strategy
    • Mergers & Acquisitions
    • Public Markets
    • Startups & Funding
    • Talent & Leadership
    • Market Analysis
  • Applications
    • Consumer & Creative
    • Cybersecurity
    • Education & Media
    • Enterprise & Productivity
    • Finance & Legal
    • Healthcare & Life Sciences
    • Industry & Manufacturing
    • Science & Discovery
  • Robotics
    • Autonomous Vehicles
    • Drones & Defense
    • Edge AI & Embodied Intelligence
    • Robotics
  • Energy
    • Cooling & Water
    • Efficiency & Emissions
    • Electricity & Power Grids
    • Nuclear & Renewables
  • Policy & Society
    • AI Safety & Security
    • Copyright & Misinformation
    • Geopolitics
    • Privacy & Human Rights
    • Regulation & Government
    • Work & Society
A clean agent workflow separated from a runtime engine exploring several possible inference paths
  • Developer Platforms

ENCOMPASS Separates Agent Logic From Search Strategy

  • February 6, 2026
  • No comments
Total
0
Shares
0
0
0
0

AI agents become difficult to maintain when business workflow and model uncertainty are written into the same code. Retries, branching, candidate generation, and verification loops accumulate around the steps that define what the application is meant to do.

Researchers from Asari AI, MIT CSAIL, and Caltech propose separating those concerns through Probabilistic Angelic Nondeterminism and a Python implementation called ENCOMPASS.

Developers write the readable “happy path” and mark unreliable model calls. A runtime engine then explores alternative execution paths using different search strategies without requiring the core workflow to be rewritten.

Branch Points Isolate Probabilistic Behaviour

ENCOMPASS uses a `branchpoint()` primitive to identify locations where a language-model call may produce several possible outcomes. At runtime, these points form a search tree.

The surrounding program remains in control. Code defines the sequence and invokes the model for bounded subtasks instead of asking the LLM to choose the entire workflow.

This architecture is more predictable and auditable than an LLM-in-control agent. A team can see which operations are fixed, where uncertainty enters, and what success criteria select among alternatives.

Without separation, adding best-of-N sampling wraps the application in loops, while beam search or refinement can require a state machine and major structural changes. High engineering cost discourages teams from testing better reliability strategies.

Search Strategy Can Change Without Rewriting Logic

The runtime can apply depth-first search, beam search, best-first search, or Monte Carlo tree search to the same program. Teams tune inference cost and accuracy independently from business logic.

Researchers demonstrated the approach on Java-to-Python repository migration. The workflow translated files, generated inputs, and validated output by execution. Fine-grained beam search at file and method level outperformed simpler sampling.

In another comparison, best-first search achieved performance similar to repeated self-reflection at lower task cost. Sophisticated search can therefore improve reliability more efficiently than adding more critique loops.

This flexibility supports risk tiers. A low-stakes internal tool may use a cheap greedy strategy, while customer-facing work applies more exhaustive search without maintaining a different workflow codebase.

Global strategy updates also simplify governance. If one search approach produces unacceptable errors, teams can replace or version it centrally instead of auditing every agent implementation.

Scoring and Side Effects Remain Hard

Search works only when the system can evaluate a path. Code translation has unit tests; creative writing, analysis, or subjective service outcomes lack equally reliable scoring functions.

Engineers must still decide where uncertainty exists and design meaningful verification. ENCOMPASS reduces control-flow complexity but does not design the agent or guarantee the evaluator is correct.

Branching also requires program state to be copied. External side effects such as database writes, payments, or API calls must not repeat every time the runtime explores another path. Operations need isolation, idempotency, or delayed commitment until a path is selected.

The framework is designed to work alongside libraries such as LangChain rather than replacing prompt, model, or tool layers. It occupies the control-flow layer where stochastic execution meets conventional software.

That position may make evaluation easier as well. Teams can compare search policies against the same program, record how much additional inference each policy consumes, and identify where alternative branches actually improve outcomes. The trade-off becomes observable: more search may raise success rates, but it also adds latency, cost, and a larger surface for side effects.

The proposal reflects a mature software-engineering principle: separate what a program does from how uncertain alternatives are searched. As inference-time compute grows, hardcoding that complexity into each application will create technical debt.

ENCOMPASS offers a promising model for durable agents. Business logic stays readable, search can evolve, and governance can reason about both separately. The result is not deterministic AI. It is a cleaner place to manage nondeterminism before it spreads through the entire codebase.

Post Views: 78
Total
0
Shares
Share 0
Tweet 0
Pin it 0
Share 0
Topics
  • Agents
  • ENCOMPASS
  • Python
  • Research
  • Search
Previous Article
A flexible database foundation quietly adapting as a business expands into new markets and workloads
  • Developer Platforms

RavenDB Treats Database Friction as a Strategic Constraint

  • January 27, 2026
View Post
Next Article
Engineer studying legacy mainframe code beside a modern AI analysis interface
  • Developer Platforms

AI Is Rewriting the Economics of COBOL Modernisation

  • February 24, 2026
View Post

Stay Ahead of AI

Get the AI developments that matter, delivered to your inbox.

More AI News
AI-generated cut-paper illustration of a blank folded receipt, unbranded parcel, and protective padlock, not an actual purchase or evidence of a hack
View Post
  • 3 min
  • Cybersecurity

Musk’s Grok Shopping Demonstration Raises an Authorization Question

  • October 13, 2026
AI-generated conceptual weather balloon and sensing payload above an ocean under clouds, not a documented military mission or specific manufacturer's hardware
View Post
  • 3 min
  • Science & Discovery

WindBorne’s Balloon Network Connects Physical Observations to AI Weather Models

  • October 13, 2026
AI-generated conceptual illustration of a luminous path through translucent memory forms toward a bounded destination, not an actual model architecture
View Post
  • 3 min
  • Foundation Models

Muse Wonder Pairs Agent Ambitions With Qualified Benchmarks

  • October 13, 2026
AI-generated conceptual scene of observers examining an enclosed abstract AI development process before an output leaves the room, not actual AISI facilities
View Post
  • 3 min
  • AI Safety & Security

AISI Wants Frontier AI Oversight to Begin Before Public Release

  • October 12, 2026
AI-generated editorial illustration of transparent institutional columns and an abstract technical test object, representing governance rather than an actual government building
View Post
  • 3 min
  • Regulation & Government

Britain’s AI Safety Push Tests the Gap Between Regulation and Research

  • October 12, 2026
AI-generated editorial scene of two people talking with an unbranded audio device visibly present, not an actual Ambi product or recording
View Post
  • 3 min
  • Privacy & Human Rights

Ambi’s Privacy Promises Meet More Detailed Audio Retention Rules

  • October 12, 2026
AI-generated conceptual illustration of an agent's sequence passing through a contextual security checkpoint, not an actual Kyvvu interface
View Post
  • 3 min
  • AI Safety & Security

Kyvvu’s Agent Security Pitch Depends on the Whole Task, Not One Permission

  • October 12, 2026
AI-generated editorial still life of headphones and two overlapping translucent technical forms, representing audio technology licensing without company logos
View Post
  • 3 min
  • Mergers & Acquisitions

Apple’s Huxe Disclosure Shows a Hiring and Licensing Deal, Not an App Revival

  • October 12, 2026

Leave a Reply Cancel reply

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

Subscribe

Subscribe now to our newsletter

AI Updates
  • About
  • Newsletter
  • Contact
  • Privacy Policy
  • Terms of Use
Artificial Intelligence News

Input your search keywords and press Enter.

Go to mobile version