The code for querying an agent is the same regardless of whether it is running
locally or
deployed remotely. Therefore, in this
page, the term agent refers to either local_agent or remote_agent
interchangeably. As the set of supported operations varies across frameworks, we
provide usage instructions for framework-specific templates:
| Framework | Description |
|---|---|
| Agent Development Kit | Designed based on Google's internal best practices for developers building AI applications or teams needing to rapidly prototype and deploy robust agent-based solutions. |
| Agent2Agent (preview) | The Agent2Agent (A2A) protocol is an open standard designed to enable seamless communication and collaboration between AI agents. |
| LangChain | Easier to use for basic use cases because of its predefined configurations and abstractions. |
| LangGraph | Graph-based approach to defining workflows, with advanced human-in-the-loop and rewind/replay capabilities. |
| AG2 (formerly AutoGen) | AG2 provides multi-agent conversation framework as a high-level abstraction for building LLM workflows. |
| LlamaIndex (preview) | LlamaIndex's query pipeline offers a high-level interface for creating Retrieval-Augmented Generation (RAG) workflows. |
| Custom | Agents that were developed and deployed without the use of a framework-specific template. |
Use deployed agents in the Google Cloud console
For deployed agents developed using Agent Development Kit (ADK), you can use the Google Cloud console to interact with your agent:
- In the Google Cloud console, go to the Vertex AI Agent Engine page.
Agent Engine instances that are part of the selected project appear in the list. You can use the Filter field to filter the list by your specified column.
Click the name of your Agent Engine instance.
Click the Playground tab.
You can Type a message to interact with your agent, and click New Session to start a new session with your agent.
If you enabled traces through OpenTelemetry, you can view details about your agent's behavior during your interactions:
Trace: Traces of your conversations with the agent.
Event: A graph of invoked APIs and event details during your conversations with the agent.
State: Information about your agent's state during your conversations.
Sessions: A list of sessions associated with your agent. For more information, see Manage using Google Cloud console or API calls