Reference

Glossary

Canonical terms used across the product docs.

Name the artifact in a bug report

“The agent failed” hides whether the problem belongs to a protocol, endpoint, participant, transcript, journal, or trace. Use the narrower word; it points to the boundary that can actually change.

Protocol and projection

TermDefinition
global conversationThe whole-session protocol among roles
endpoint protocolOne role's projected local type
projectionDeriving endpoints; refusing a blind choose
StepOne send / choose / loop / repeat / par
ShapeA ready-made protocol plus the messages it declares

Roles and participants

TermDefinition
roleAddress in the protocol, from ap.roles(...)
participantSpec that plays a role: Agent, Human, Machine, Policy, Script
SessionProtocol + cast mapping + budget; a value

Messages

TermDefinition
MessageDeclared class: fields are the payload, docstring is the intent
TranscriptThe envelopes a run delivered
RunA live handle from Session.start
DeskA HumanIo that waits for submit

What a run records

TermDefinition
journal decisionRecorded authorship choice for replay
replay / resumeRe-run using journal decisions
trace eventObservation record; not a decision
allowanceRuntime bound on spend (steps/unfolds/tokens)

Terms that are easy to confuse

PairDistinction
protocol / transcriptA protocol describes what may happen; a transcript records what did happen in one run.
journal / traceA journal stores decisions needed for replay; a trace observes execution without authoring it.
role / participantA role is an address in the protocol; a participant is the object bound to that address.
class / instanceA message class defines a wire shape; an instance carries one payload.
choice / contentA choice selects a message type or branch; content is the data inside the selected message.
run / startSession.start creates a run; Run is the handle used to observe or await that run.

These distinctions matter when diagnosing a failure. If a transcript contains an unexpected message, inspect the protocol and the cast first. If the transcript is correct but a replay diverges, inspect journal decisions. If the run is correct but visibility, timing, or token usage is surprising, inspect the trace and allowance instead of changing the message model.

Vocabulary in code review

Use the narrower term when a review comment depends on it. “The protocol is wrong” could mean that a branch is not projectable, that a message field is not serializable, or that a participant was bound to the wrong role. “The run is wrong” could mean a failed send, a participant error, or a journal mismatch. Naming the artifact (protocol, endpoint, participant, transcript, journal, or trace) turns a broad observation into a change someone can locate and test.

See also protocol, sessions, and journals, replay, and tracing.

Stable

On this page