Interface AgencySession

Represents a collective of GMIs collaborating under a single Agency identity. Agencies enable multi-agent workflows with shared context and memory.

interface AgencySession {
    agencyId: string;
    workflowId: string;
    conversationId: string;
    createdAt: string;
    updatedAt: string;
    seats: Record<string, AgencySeatState>;
    metadata?: Record<string, unknown>;
    memoryConfig?: AgencyMemoryConfig;
}

Properties

agencyId: string

Unique agency identifier

workflowId: string

Associated workflow instance

conversationId: string

Conversation context for this agency

createdAt: string

ISO timestamp of creation

updatedAt: string

ISO timestamp of last update

seats: Record<string, AgencySeatState>

GMI seats keyed by role ID

metadata?: Record<string, unknown>

Custom metadata

memoryConfig?: AgencyMemoryConfig

Shared memory configuration for this agency.

See

AgencyMemoryConfig