@squidcloud/client
    Preparing search index...

    Class AiAgentClient

    AiAgentClient manages AI agent interactions, including listing agents, handling real-time chat responses, and processing AI status updates through WebSocket notifications.

    Index

    Methods

    • Retrieves an instance of AiAgentReference for a specific agent ID. This reference provides methods for interacting with the agent.

      Parameters

      • id: string

      Returns AiAgentReference

    • Lists all agents available in the system.

      Returns Promise<AiAgent<undefined>[]>

      A promise that resolves to an array of AiAgent instances.