Skip to content

agent-sdk / Exports / IAgentSession

Interface: IAgentSession

A minimal session interface for running a prompt.

Table of contents

Methods

Methods

run

run(prompt): Promise<string>

Parameters

NameType
promptstring

Returns

Promise<string>

Defined in

agent-sdk/src/hooks/agent-executor.ts:29

Released under the MIT License.