# Agent 2 Agent events

> Agent 2 Agent events supported in Integration Service, including the InvokeAgent Task Completed event that Maestro uses to wait for long-running agent tasks.

The Agent 2 Agent connector supports the following event:

* InvokeAgent Task Completed

When the remote agent answers the [Invoke an Agent](https://docs.uipath.com/activities/other/latest/integration-service/uipath-google-agent2agent-invoke-an-agent) activity with a task instead of an immediate reply, Integration Service polls the agent for the task status. The event occurs when the task reaches a final state, and Maestro then continues the process with the task result.

:::note
This event is available only in
Maestro<sup>TM</sup>.
:::
