Function: createMemoryBuilder()
createMemoryBuilder(
config,servicePrincipalPool):MemoryBuilder
Construct a per-agent Memory factory bound to the supplied
service-principal pool.
Caches the shared PgVector singleton (built on first need) so each
agent build is O(1) after the first.
Parameters
Section titled “Parameters”config
Section titled “config”servicePrincipalPool
Section titled “servicePrincipalPool”Pool