import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Agents extends APIResource { /** * Creates an Agent or multiple Agents from a template */ create(templateVersion: string, body?: AgentCreateParams | null | undefined, options?: RequestOptions): APIPromise; } /** * Response containing created agent IDs and associated metadata */ export interface AgentCreateResponse { /** * Array of created agent IDs */ agent_ids: Array; /** * The deployment ID for the created agents */ deployment_id: string; /** * Optional group ID if agents were created in a group */ group_id: string | null; } export interface AgentCreateParams { /** * The name of the agent, optional otherwise a random one will be assigned */ agent_name?: string; /** * The identity ids to assign to the agent */ identity_ids?: Array; /** * Set an initial sequence of messages, if not provided, the agent will start with * the default message sequence, if an empty array is provided, the agent will * start with no messages */ initial_message_sequence?: Array; /** * The memory variables to assign to the agent */ memory_variables?: { [key: string]: string; }; /** * The tags to assign to the agent */ tags?: Array; /** * The tool variables to assign to the agent */ tool_variables?: { [key: string]: string; }; } export declare namespace AgentCreateParams { interface InitialMessageSequence { content: string; role: 'user' | 'system' | 'assistant'; batch_item_id?: string | null; group_id?: string | null; name?: string | null; otid?: string | null; sender_id?: string | null; } } export declare namespace Agents { export { type AgentCreateResponse as AgentCreateResponse, type AgentCreateParams as AgentCreateParams }; } //# sourceMappingURL=agents.d.mts.map