Skip to main content
There are three kinds of failure.

The error envelope

Codes you will meet

Retrying safely

  • Reads are safe to retry.
  • Effects (room.action.execute) are retried only with the same operation_id; AG2 Space returns the first result instead of acting twice.
  • A lost response is an unknown outcome: inspect with operation.inspect, or retry with the same operation_id. Never invent a new key for the same intent.
DevApp Actions (devapp.app.*) are the exception. Each execute gets a new operation id and runs again even if you resend the same operation_id (returned to you as client_operation_id). After a lost response, inspect first and act on what you see.