Skip to content

Configure and use an agent in chat ​

Connect a running agent to the ALIDA chat from the Workflow Designer. You do not need to copy URLs or edit configuration files.

Before you begin ​

You need a workflow in the RUNNING state that contains an OpenCode or ADK agent.

The agent follows its workflow

Everyone who can see the workflow can use the agent in chat. If the workflow stops, the agent stops working for all of them, so use a workflow that is meant to stay running.

Add the agent ​

  1. Open the running workflow in the Workflow Designer and click the agent's service.

  2. Click Add to chat, the + button at the bottom of the panel.

    Agent panel with the Add to chat button

  3. In the Save Agent dialog, fill in:

    FieldWhat to enter
    NameThe name shown in the chat, for example Opencode-Observability-Agent.
    ProtocolOpenCode for the OpenCode Agent, OpenAI for the ADK Agent.
    Context PagesThe ALIDA pages where the agent is offered, for example /services or /datasets.

    Save Agent dialog

  4. Click Save.

Send a first request ​

  1. Go to one of the Context Pages, for example /services.
  2. Open the chat, select the agent by its Name, and send a request.
  3. Verify the result before using or deploying anything the agent generated.

Troubleshooting ​

SymptomCause and solution
Add to chat is not availableThe workflow is not running, or the selected service is not an agent.
404 – bda-id <id> has not been initializedThe workflow was stopped or deleted. Start it again; if it was recreated, add the agent again.
The agent is not listed in chatThe current page is not among its Context Pages.
The agent answers with errors or not at allCheck that the Protocol matches the agent.
The call is rejected as unauthorizedYour user does not have access to the workflow.