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
Open the running workflow in the Workflow Designer and click the agent's service.
Click Add to chat, the + button at the bottom of the panel.

In the Save Agent dialog, fill in:
Field What to enter Name The name shown in the chat, for example Opencode-Observability-Agent.Protocol OpenCodefor the OpenCode Agent,OpenAIfor the ADK Agent.Context Pages The ALIDA pages where the agent is offered, for example /servicesor/datasets.
Click Save.
Send a first request
- Go to one of the Context Pages, for example
/services. - Open the chat, select the agent by its Name, and send a request.
- Verify the result before using or deploying anything the agent generated.
Troubleshooting
| Symptom | Cause and solution |
|---|---|
| Add to chat is not available | The workflow is not running, or the selected service is not an agent. |
404 – bda-id <id> has not been initialized | The workflow was stopped or deleted. Start it again; if it was recreated, add the agent again. |
| The agent is not listed in chat | The current page is not among its Context Pages. |
| The agent answers with errors or not at all | Check that the Protocol matches the agent. |
| The call is rejected as unauthorized | Your user does not have access to the workflow. |