feat: extend the AgentInstance A2A gateway (#2478)