OptionalagentThe agent or workflow to run. Required if app is not provided.
A bare node — a Workflow, most usefully — is accepted as the root and
driven directly, so a graph does not have to be wrapped by hand to be run.
The accepted set is the one an edge takes: any other node-like value
becomes the single node of a one-node workflow.
OptionalappThe application object. If provided, appName, agent, and plugins will default from this app.
OptionalappThe application name. Required if app is not provided.
OptionalartifactAn optional service for storing and retrieving artifacts.
OptionalautoWhether to create the session when runAsync is given a session id that
does not exist. Defaults to false, which reports the missing session as
an error instead.
Enabling this trades a loud failure for a silent one: a caller that mistypes a session id gets a new empty conversation rather than an error. Turn it on only where the session id is a key the caller owns and a first use is expected to create it.
OptionalcredentialAn optional service for managing authentication credentials.
OptionalmemoryAn optional service for storing and querying agent memory.
OptionalpluginsAn optional list of plugins to apply globally across all agents.
OptionalresumabilityAn optional resumability configuration applied to the runner.
The service for managing sessions.
The configuration parameters for the Runner.