Skip to content

Deploy yaml configured agent to agent_engine #4142

@furoTmark

Description

@furoTmark

Describe the bug
I can create an run agents just by configuring a yaml file.
However when I want to deploy them it fails every time.

To Reproduce
Create a new folder with a minimal agent:

root_agent.yaml:

name: test
model: gemini-2.5-flash
agent_class: LlmAgent
instruction: You are the root agent that coordinates other agents.
sub_agents: []
tools: []

Run: adk deploy agent_engine .... test_agent

Expected behavior
Succesfull deploy.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Desktop (please complete the following information):

  • OS: Windows
  • Python version(python -V): 3.12
  • ADK version(pip show google-adk): 1.21

Model Information:

  • Are you using LiteLLM: No
  • Which model is being used: gemini-2.0-flash

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

agent config[Component] This issue is related to the Agent Config interface and implementationagent engine[Component] This issue is related to Agent Engine deploymentplanned[Status] This issue is planned to be work on by ADK eng team

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions