Skip to main content

startAgents

client.agentDeliberation.startAgents(id: string, data?: StartDeliberationAgentsRequest): Promise<unknown>

Starts agents for a deliberation.

Launches the participant agents so they can begin generating responses for the deliberation topic.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the deliberation
dataStartDeliberationAgentsRequestNoOptional configuration for the agent startup

Returns

Promise<unknown> — A promise that resolves when the agents have been started

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.agentDeliberation.startAgents('id');
console.log(result);