Develop an agent

Overview

To use Agent Engine, you must first develop an agent that can be deployed on Agent Engine. The easiest way to develop an agent is to use one of the framework-specific templates that we provide. Framework-specific templates automatically handle some of the common aspects of developing an agent such as serializing objects and separating the code that initializes an agent from the code that responds to prompts. We provide the following framework-specific templates:

Framework Description
LangChain Easier to implement 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.
CrewAI CrewAI is a framework for orchestrating autonomous AI agents.

If your use case doesn't align with one of the framework-specific templates, you can develop your own custom agent.

What's next