yr.workspace

The active app's workspace.

Provides access to the app's memory: chat history and programmatic state. Use subscript syntax to read and write values:

Examples

workspace["customer_name"] = "Alice"
name = workspace["customer_name"]
'Alice'