Skip to main content
Create agents using studio.create_agent() with customizable LLM providers, roles, and features.

Quick Start

Function Signature

Parameters

Required Parameters

Core Parameters

Model Parameters

Feature Parameters

Evaluation Parameters

Advanced Parameters


Examples

Basic Agent

Agent with Custom Temperature

Agent with Structured Output

Agent with Memory

Agent with Contexts

Agent with RAI Policy

Agent with File Output

Agent with Image Generation

Agent with Reflection

Agent with Groundedness

Agent with Custom Credentials


Provider Formats

You can specify providers in two formats:

Short Format

The ADK auto-resolves the provider:

Full Format

Explicitly specify the provider:

Return Value

Returns an Agent object with methods like:
  • run() - Execute the agent
  • update() - Update configuration
  • delete() - Delete the agent
  • clone() - Clone the agent
  • add_tool() - Add a local tool
  • add_memory() - Add memory
  • add_context() - Add context
  • add_rai_policy() - Add RAI policy
See Running Agents and Agent Features for more details.