ReadonlyagentReadonlyappOptional ReadonlyartifactOptional ReadonlycredentialOptional ReadonlymemoryReadonlypluginReadonlysessionA new message to append to the session.
OptionalrunConfig?: RunConfigThe run config for the agent.
The session ID of the session.
OptionalstateDelta?: Record<string, unknown>An optional state delta to apply to the session.
The user ID of the session.
Runs the agent with a new, ephemeral session.
A new message to append to the session.
OptionalrunConfig?: RunConfigThe run config for the agent.
OptionalstateDelta?: Record<string, unknown>An optional state delta to apply to the session.
The user ID of the session.
Runs the agent with the given message, and returns an async generator of events.