Journal Event • AI Agent SDK

JournalEvent: A single append-only journal event.

JournalEvent

Defined in the journal module.

AI Agent

A single append-only journal event.

`(run_id, seq, kind) is the natural key: a step number seq produces at most one event of each kind (e.g. a tool step has one tool_call and one tool_result). payload is any JSON-serialisable dict — the decision text, {name, args, idempotency_key}, the tool result, the approval decision, or {index}`.

Properties

ResponseField str

No description available.

ResponseField int

No description available.

ResponseField str

No description available.

ResponseField Dict[str, Any]

No description available.

ResponseField float

No description available.

Source

View on GitHub

praisonaiagents/runtime/journal.py at line 126