Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

description: "ReAct agent with A2A protocol"
display_name: "custom_a2a"
description: "Bring your own framework, A2A-ready"
settings:
requires_data_ingestion: false
deployment_targets: ["agent_engine", "cloud_run"]
Expand Down
7 changes: 4 additions & 3 deletions agent_starter_pack/cli/commands/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,7 @@ def display_agent_selection(deployment_target: str | None = None) -> str:
# Group headers for display
GROUP_HEADERS = {
("python", "adk"): "🐍 Python (ADK)",
("python", "langgraph"): "🦜 Python (LangGraph)",
("python", "langgraph"): "🐍 Python (A2A)",
("go", "adk"): "🔵 Go (ADK)",
}

Expand All @@ -1090,8 +1090,9 @@ def display_agent_selection(deployment_target: str | None = None) -> str:
header = GROUP_HEADERS.get(agent_group, "Other")
console.print(f"\n [bold cyan]{header}[/]")

# Align agent names for cleaner display
name_padded = agent["name"].ljust(14)
# Align agent names for cleaner display (use display_name if available)
display_name = agent.get("display_name", agent["name"])
name_padded = display_name.ljust(14)
console.print(
f" {num}. [bold]{name_padded}[/] [dim]{agent['description']}[/]"
)
Expand Down
3 changes: 2 additions & 1 deletion agent_starter_pack/cli/commands/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,5 +199,6 @@ def list_agents(adk: bool, source: str | None) -> None:
table.add_column("Description")

for i, (_, agent) in enumerate(agents.items()):
table.add_row(str(i + 1), agent["name"], agent["description"])
display_name = agent.get("display_name", agent["name"])
table.add_row(str(i + 1), display_name, agent["description"])
console.print(table)
4 changes: 4 additions & 0 deletions agent_starter_pack/cli/utils/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
AGENT_ALIASES: dict[str, str] = {
"adk_base": "adk",
"langgraph_base": "langgraph",
"custom": "langgraph",
"custom_a2a": "langgraph",
"adk_a2a_base": "adk_a2a",
"adk_base_go": "adk_go",
}
Expand Down Expand Up @@ -402,10 +404,12 @@ def get_available_agents(deployment_target: str | None = None) -> dict:
framework = "other"

description = config.get("description", "No description available")
display_name = config.get("display_name", agent_name)
priority = PRIORITY_ORDER.get(agent_name, 100)

agent_info = {
"name": agent_name,
"display_name": display_name,
"description": description,
"language": language,
"framework": framework,
Expand Down