VoltAgent (@voltagent/core): an Agent's instructions carry its system context.
withInstructions(baseInstructions, query) returns the instructions to give the Agent for the turn,
the governed memory context prepended to the developer's base instructions (or just the memory when
there are none), and remember persists the turn after agent.generateText(...). VoltAgent's own
Memory is a storage subsystem rather than a simple injectable interface, so the system-instructions
path is the idiomatic Tier-1 integration (§2.1). Structural, so @voltagent/core stays an optional
peer dependency.
VoltAgent (
@voltagent/core): anAgent'sinstructionscarry its system context.withInstructions(baseInstructions, query)returns the instructions to give the Agent for the turn, the governed memory context prepended to the developer's base instructions (or just the memory when there are none), andrememberpersists the turn afteragent.generateText(...). VoltAgent's ownMemoryis a storage subsystem rather than a simple injectable interface, so the system-instructions path is the idiomatic Tier-1 integration (§2.1). Structural, so@voltagent/corestays an optional peer dependency.