Skip to main content

Interface: AgencyMemoryConfig

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:54

Configuration for agency-level shared RAG memory. Enables GMIs within an agency to share context and collaborate effectively.

Properties​

autoIngestCommunications?​

optional autoIngestCommunications: boolean

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:84

Automatically ingest cross-GMI communications to shared memory.

Default​

false

enabled​

enabled: boolean

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:60

Enable shared RAG memory for the agency. When enabled, all GMIs in the agency can read/write to shared collections.

Default​

false

readRoles?​

optional readRoles: string[]

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:78

Control which roles can read from shared memory. If empty/undefined, all roles can read.


retentionPolicy?​

optional retentionPolicy: AgencyMemoryRetentionPolicy

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:89

Retention policy for shared memory documents.


scoping?​

optional scoping: AgencyMemoryScopingConfig

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:94

Memory scoping configuration.


sharedDataSourceId?​

optional sharedDataSourceId: string

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:66

Dedicated data source ID for agency shared memory. Auto-generated if not provided when enabled.


writeRoles?​

optional writeRoles: string[]

Defined in: packages/agentos/src/agents/agency/AgencyTypes.ts:72

Control which roles can write to shared memory. If empty/undefined, all roles can write.