Skip to content

Infer agent.json from ADK agent #2237

@racinmat

Description

@racinmat

Is your feature request related to a problem? Please describe.
When I want to expose agents over a2a, using get_fast_api_app, I need to have agent.json stored in the directory next to the python file with the agent card. The ADK agent defined in python already contains most of the information needed for the agent card, so it could be automatically provided without having to specify it explicitly as a json.

Describe the solution you'd like
I would like to have agent card inferred for the agent, maybe have some metadata per agent, stating if I want or don't want to expose it over a2a, and if needed, to provide information that are not already in ADK agent.

Describe alternatives you've considered
I considered automatically generating the json files, but this still incurs additional developer toil or requires additional CI setup to make it work.

Additional context
I don't think anything more is needed.

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK botcore[Component] This issue is related to the core interface and implementation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions