# Interface: RunAgentInput

## Properties[​](#properties "Direct link to Properties")

### messages[​](#messages "Direct link to messages")

```ts
messages: string | Message[];

```

Seed messages for the run. Either a single user string or a full message list.

***

### plugins?[​](#plugins "Direct link to plugins?")

```ts
optional plugins: PluginData<PluginConstructor, unknown, string>[];

```

Optional plugin list. Required when `def.tools` is the function form `(plugins) => Record<string, AgentTool>` and the function dereferences any plugins. `runAgent` constructs a fresh instance per plugin and dispatches tool calls against it as the service principal (no OBO — there is no HTTP request in standalone mode).

***

### signal?[​](#signal "Direct link to signal?")

```ts
optional signal: AbortSignal;

```

Abort signal for cancellation.
