instruction property

String? instruction
getter/setter pair

Provides instructions for the LLM model, guiding the agent's behavior.

Can be static or dynamic. Dynamic instructions can contain placeholders like {variable_name} that will be resolved at runtime using the AgentEvent.state_delta field.

Optional.

Implementation

core.String? instruction;