From c080c6ad1120a843d74d0888bbf3017709798a99 Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 8 Apr 2026 07:26:00 +0000 Subject: [PATCH 1/2] Initial plan From 4d15fb04ee8b1ba953829060f430754e76a16e81 Mon Sep 17 00:00:00 2001 From: "anthropic-code-agent[bot]" <242468646+Claude@users.noreply.github.com> Date: Wed, 8 Apr 2026 07:30:11 +0000 Subject: [PATCH 2/2] Remove unnecessary agent_tool_instructions code Tools are now part of the LLM request handled by Google ADK, so we don't need to manually add tool descriptions to the agent instructions anymore. Agent-Logs-Url: https://github.com/agentic-layer/sdk-python/sessions/80d06eaa-1777-4a0e-9939-bc3af94b464b Co-authored-by: g3force <779094+g3force@users.noreply.github.com> --- adk/agenticlayer/adk/agent.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/adk/agenticlayer/adk/agent.py b/adk/agenticlayer/adk/agent.py index 1b93eaf..5770942 100644 --- a/adk/agenticlayer/adk/agent.py +++ b/adk/agenticlayer/adk/agent.py @@ -88,16 +88,6 @@ async def load_agent(self, agent: LlmAgent, sub_agents: list[SubAgent], tools: l mcp_tools = self.load_tools(tools) all_tools: list[ToolUnion] = agent_tools + mcp_tools - # The ADK currently only adds the agent as a function with the agent name to the instructions. - # The description is not included. So we manually add the descriptions here. - if agent_tools: - agent_tool_instructions = "\n\nFollowing agents are available as tools:\n" - agent_tool_instructions += "\n".join( - [f"- '{agent_tool.name}': {agent_tool.description}" for agent_tool in agent_tools] - ) - agent_tool_instructions += "\nYou can use them by calling the tool with the agent name.\n" - agent.instruction = f"{agent.instruction}{agent_tool_instructions}" - agent.sub_agents += agents agent.tools += all_tools return agent