actrone-memory
    Preparing search index...

    Function voltagentMemory

    • 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.

      Parameters

      Returns {
          withInstructions: (
              baseInstructions: string,
              query: string,
              tokenBudget?: number,
          ) => Promise<string>;
          remember: (
              userMessage: string,
              assistantMessage: string,
          ) => Promise<string>;
      }