Skip to main content
The simplest call: client.run(...) starts a one-shot run and returns a Run; .text() drives it to completion and returns the transcript — the answer with each tool step inline.
Pass live=True to .text() to watch the run print while you wait; the returned string stays the authoritative version.

Guide: run(...).text()

Transcripts, live output, and when to reach for a session instead.