## Overview

Agent Platform supports deploying agents built with various frameworks.
To get started, you must first develop an agent that can be deployed on the
platform.

You can also use Google-built prebuilt agents, such as
[CodeMender](https://docs.cloud.google.com/gemini-enterprise-agent-platform/agents/codemender.md.txt) for autonomous code security
and [Gemini Deep Research Agent](https://docs.cloud.google.com/gemini-enterprise-agent-platform/agents/use-deep-research.md.txt) for
multi-step research synthesis, or start from prebuilt samples in
[Agent Garden](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/agent-garden.md.txt).

The Agents API enables developers to build and deploy agents from configuration.
These agents run within a secured Linux-based sandbox, leveraging the
Antigravity harness and providing access to tools and skills. For more
information on managed agents, see
[Managed Agents API on Agent Platform](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/managed-agents.md.txt).

The easiest way to develop an agent is to use one of the framework-specific
templates that we provide. These templates handle common aspects of agent
development, such as serializing objects and separating initialization code from
execution code. We provide templates for the following frameworks:

| Framework | Description |
|---|---|
| [Agent Development Kit (ADK)](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-an-adk-agent.md.txt) | 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](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-an-a2a-agent.md.txt) (preview) | The [Agent2Agent (A2A) protocol](https://a2a-protocol.org/) is an open standard designed to enable seamless communication and collaboration between AI agents. |
| [LangChain](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-a-langchain-agent.md.txt) | Easier to implement for basic use cases because of its predefined configurations and abstractions. |
| [LangGraph](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-a-langgraph-agent.md.txt) | Graph-based approach to defining workflows, with advanced human-in-the-loop and rewind/replay capabilities. |
| [AG2 (formerly AutoGen)](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-an-ag2-agent.md.txt) | AG2 provides multi-agent conversation framework as a high-level abstraction for building LLM workflows. |
| [LlamaIndex](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-a-llamaindex-agent.md.txt) (preview) | LlamaIndex's query pipeline offers a high-level interface for creating Retrieval-Augmented Generation (RAG) workflows. |

If your use case doesn't align with one of the framework-specific templates, you
can [develop your own custom agent](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-a-custom-agent.md.txt).

## Agent2Agent (A2A) protocol

If you are building a multi-agent system, we highly recommend reviewing the [A2A
Protocol](https://a2a-protocol.org/). A2A Protocol is an open standard that
enables seamless communication and collaboration between AI agents, regardless
of their underlying frameworks. It was [donated by Google Cloud to the Linux
Foundation in June
2025](https://developers.googleblog.com/en/google-cloud-donates-a2a-to-linux-foundation/).
To use the A2A SDKs, or try out the samples, check out the [GitHub
repository](https://github.com/a2aproject/A2A).

## Building for the platform

When creating an agent to run on the Agent Platform, keep in mind that
your agent is executed in a managed environment. To ensure compatibility, follow
these patterns:

- **Object serialization**: The platform serializes your agent object to deploy it. Ensure that your agent state and tools are serializable (for example, avoid keeping open file handles or network sockets in the agent state).
- **Lifecycle separation**: Separate your agent's initialization logic (loading models, setting up tools) from its execution logic (handling queries). The provided templates handle this automatically.

## What's next

Guide

### [Create a custom agent](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/runtime/create-a-custom-agent.md.txt)


Create a custom agent using Agent Platform Runtime.

Overview

### [Managed Agents API on Agent Platform overview](https://docs.cloud.google.com/gemini-enterprise-agent-platform/build/managed-agents.md.txt)


Learn about Managed Agents API on Agent Platform, a config-driven, REST-first environment for building autonomous agents.

Guide

### [Deploy agents](https://docs.cloud.google.com/gemini-enterprise-agent-platform/scale/runtime/deploy-an-agent.md.txt)


Learn the five ways to deploy an agent on Agent Platform Runtime based on your development needs.

Guide

### [Evaluate your agents](https://docs.cloud.google.com/gemini-enterprise-agent-platform/optimize/evaluation/evaluate-agents.md.txt)


Create and deploy a basic agent and use the Gen AI evaluation service to evaluate the agent

Resource

### [Get support](https://docs.cloud.google.com/gemini-enterprise-agent-platform/resources/agent-support.md.txt)


Find resources and support for Google Agent Platform.