Interface AgencyInvocationRequest

Describes a request to create or join an Agency (multi-GMI collective).

interface AgencyInvocationRequest {
    agencyId?: string;
    workflowId?: string;
    goal?: string;
    participants?: {
        roleId: string;
        personaId?: string;
    }[];
    metadata?: Record<string, unknown>;
}

Properties

agencyId?: string

Existing agency identifier to join. If omitted, a new agency is instantiated.

workflowId?: string

Optional workflow identifier to bind the agency to.

goal?: string

High-level description of the shared objective.

participants?: {
    roleId: string;
    personaId?: string;
}[]

Desired seats within the agency along with their preferred personas.

Type declaration

  • roleId: string
  • Optional personaId?: string
metadata?: Record<string, unknown>

Arbitrary metadata for agency initialization.