Config

Configuration for the AgentMemory feature.

This class allows configuring:

  • The memory provider to use for storage and retrieval

  • Names for different memory scopes (agent, feature, product, organization)

The scope names are used to create concrete MemoryScope instances when performing memory operations, determining the visibility of stored facts.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The name of the agent for AGENT-scoped memory operations. Facts stored with AGENT scope will only be accessible to this specific agent.

Link copied to clipboard

The name of the feature for FEATURE-scoped memory operations. Facts stored with FEATURE scope will be shared between all agents of this feature.

Link copied to clipboard

The provider that handles the actual storage and retrieval of facts. Defaults to NoMemory, which doesn't store anything.

Link copied to clipboard

The name of the organization for ORGANIZATION-scoped memory operations. Facts stored with ORGANIZATION scope will be shared across different products.

Link copied to clipboard

The name of the product for PRODUCT-scoped memory operations. Facts stored with PRODUCT scope will be available across the entire product.

Functions

Link copied to clipboard