@videosdk.live/server-sdk
    Preparing search index...

    Class AgentsResource

    AI Agents — dispatch a deployed agent into a room (optionally placing an outbound SIP call). Manage cloud deployments via vsdk.agents.deployment.

    Index

    Cloud agent deployments.

    • Deploy a pre-built agent image. In a single call this creates the deployment and its (auto-activated) version, plus — when env is set — a secret holding those environment variables.

      Returns the deployment (.id) enriched with the created version and secretId.

      If a later step fails, an earlier artifact (e.g. the deployment) may already exist — clean up with AgentDeploymentResource.delete.

      Parameters

      Returns Promise<DeployedAgent>