Documentation / @agentick/core / RunInput
Interface: RunInput<P>
Defined in: core/src/app/types.ts:933
Input for run() and app.run().
Extends SendInput with configuration for the implicit layers (app creation, session creation) that run() and app.run() handle.
Progressive disclosure: run() needs model, app.run() doesn't (already configured).
Examples
const result = await run(<MyAgent />, {
model,
messages: [{ role: "user", content: [{ type: "text", text: "Hello!" }] }],
history: previousConversation.entries,
maxTicks: 5,
});const result = await app.run({
props: { system: "You are helpful" },
messages: [{ role: "user", content: [{ type: "text", text: "Hello!" }] }],
history: previousConversation.entries,
});Extends
SendInput<P>
Type Parameters
P
P = { }
Properties
devTools?
optionaldevTools:boolean
Defined in: core/src/app/types.ts:946
Enable DevTools event emission
ephemeral?
optionalephemeral:EphemeralInput[]
Defined in: shared/src/protocol.ts:153
Ephemeral content (appended to compiled ephemeral)
Inherited from
grounding?
optionalgrounding:GroundingInput[]
Defined in: shared/src/protocol.ts:149
Grounding context (ephemeral with _grounding metadata)
Inherited from
history?
optionalhistory:TimelineEntry[]
Defined in: core/src/app/types.ts:943
Previous conversation history to hydrate.
These become the initial timeline entries, available via useConversationHistory() and rendered by <Timeline />.
maxTicks?
optionalmaxTicks:number
Defined in: core/src/app/types.ts:892
Override maxTicks for this execution
Inherited from
messages?
optionalmessages:Message[]
Defined in: shared/src/protocol.ts:141
Messages to deliver
Inherited from
metadata?
optionalmetadata:Record<string,unknown>
Defined in: shared/src/protocol.ts:145
Metadata attached to messages
Inherited from
model?
optionalmodel:EngineModel<ModelInput,ModelOutput>
Defined in: core/src/app/types.ts:935
Model instance (required for run(), optional for app.run())
props?
optionalprops:P
Defined in: shared/src/protocol.ts:143
Component props to update
Inherited from
recording?
optionalrecording:RecordingMode
Defined in: core/src/app/types.ts:949
Recording mode for time-travel debugging
sections?
optionalsections:SectionInput[]
Defined in: shared/src/protocol.ts:151
Named sections (JSX wins on ID collision)
Inherited from
signal?
optionalsignal:AbortSignal
Defined in: core/src/app/types.ts:894
Per-execution abort signal (not serializable — local only)
Inherited from
system?
optionalsystem:string[]
Defined in: shared/src/protocol.ts:147
Additional system instructions (appended to compiled systemEntries)
Inherited from
tools?
optionaltools:ExecutableTool<(input,ctx?) =>ContentBlock[] |Promise<ContentBlock[]>>[]
Defined in: core/src/app/types.ts:899
Additional tools for this execution. Merged with session and app tools (execution tools take priority on name conflict).