WhoBuilt

Brains vs Hands: How to Run AI Agents Safely in Production

Oct 8, 2026· 17 min· 4.9K views·Watch on YouTube

Speaker

Viren Baraiya of Orkes explains how to run AI agents safely in production at an AI Engineer talk.

Agents are applications, not just chatbots

Baraiya broadens the picture beyond chatbot examples to include scheduled workers, event-driven agents, long-running coordinators, and multi-agent systems. He compares an agent harness to an application built from focused services that work together toward a goal.

Harnesses combine flexible reasoning with fixed workflows

A harness brings agents together with databases, enterprise systems, people, and tools accessed through APIs or MCP. Baraiya says production harnesses need both LLM reasoning and deterministic processes, such as a defined sequence for restarting a Kubernetes cluster.

Durability and state support long-running work

Harnesses may run for seconds or for months while waiting for events, services, or human approvals. Because infrastructure and networks can fail, they need to recover durably and track completed work and side effects, such as a cluster restart or sent email.

The agent plans; the harness executes

Baraiya’s central distinction is that the LLM proposes what should happen next, while deterministic harness code carries out the work. For a production cluster restart, the harness can enforce a consistent procedure, request human approval, and record outcomes or side effects.

Compile plans into observable workflows

Baraiya describes agentic harnesses as late-bound sagas: agents assemble runtime plans from a finite set of tools and tasks, then a workflow engine executes them. In his SRE demo, Plan and Compile turns a proposed sequence to gather evidence, analyze logs, roll back if needed, and verify recovery into a runnable Conductor workflow; a later loop checks the state and avoids repeating the rollback.

Takeaways

  • Give the LLM responsibility for planning, and keep consequential execution in deterministic code.
  • Make production actions follow defined workflows, with human approval where needed.
  • Track workflow state and side effects so long-running tasks can recover and avoid repeating completed work.
  • Use an agent’s current view of system state to plan the next steps and verify the results.
  • A finite set of tools can support runtime plans without hard-coding every possible sequence.

Mentioned in this talk

Search inside this talk

What was claimed 7

  • feature
    agentic harness: Executes agent plans through deterministic processes and can record state and side effects
    “The harness is the one that actually executes.”
    YouTube
    Unverified1 source· Talk
  • feature
    agent brain and hands separation: The LLM plans what should happen next; the harness executes the plan
    “the responsibility of a non-deterministic agent is to plan what should happen next, not to do things”
    YouTube
    Unverified1 source· Talk
  • feature
    late-bound sagas: The agent proposes and builds a deterministic workflow at runtime
    “the agent proposes and builds them at runtime”
    YouTube
    Unverified1 source· Talk
  • integrates with
    “OpenAI agents, or any kind of agents, Conductor can handle all of those things”
    YouTube
    Unverified1 source· Talk
  • integrates with
    “If you want to run your LangChain agents”
    YouTube
    Unverified1 source· Talk
  • feature
    Orkes: Provides the enterprise edition
    Provides the enterprise edition
    “Orkes provides the enterprise edition”
    YouTube
    Unverified1 source· Talk
  • feature
    Orkes Conductor: Open-source workflow orchestration platform that supports building agentic loops and agentic systems
    “Conductor is an open-source workflow orchestration platform that supports building agentic loops”
    YouTube
    Unverified1 source· Talk

Related talks