Skip to content

agent_card_builder doesn't use correct grammar #2223

Closed

Description

@holtskinner

Describe the bug

Image

When using to_a2a() the autogenerated AgentCard substitutes pronouns in the agent description without regard for grammar. In this example, the generated description is

Agent to give interesting facts. I are a helpful agent who can provide interesting facts.

It should be I am a helpful agent...

Code to Reproduce with version 1.8.0

from google.adk import Agent
from google.adk.a2a.utils.agent_to_a2a import to_a2a
from google.adk.tools import google_search


root_agent = Agent(
    name='facts_agent',
    model='gemini-2.5-flash-lite',
    description=('Agent to give interesting facts.'),
    instruction=('You are a helpful agent who can provide interesting facts.'),
    tools=[google_search],
)

a2a_app = to_a2a(root_agent, port=8001)

Activity

  1. added
    web
    on Jul 28, 2025
  2. added theissue type on Jul 28, 2025
  3. added a commit that references this issue on Jul 29, 2025
    9c0721b
  4. added a commit that references this issue on Aug 16, 2025
    5a3739a
  5. added a commit that references this issue on Aug 11, 2026
    041bc6f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

web

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions