All videosOther topics0:36

Tools, state and asynchronous actions

Conversation can move on before an action finishes; identity and state prevent stale results from being applied.

Links containing ?t= open the video at a specific second.

Video summary

The ideas to retain

01

A tool call is not the external effect

Separate at least four events:

02

Separate four kinds of state

Calling everything “context” hides important failure modes. A realtime agent normally has at least these layers:

03

The minimum action contract

Before a mutating tool runs, define a stable identity and an explicit policy:

Key moments

Jump directly to a section

  1. Different lifecycles
  2. Interruption
  3. Reconciliation