├── .gitignore ├── .python-version ├── README.md ├── agents ├── README.md ├── ag2 │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ └── task_manager.py ├── crewai │ ├── .python-version │ ├── README.md │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ ├── task_manager.py │ └── uv.lock ├── crewai_zh │ ├── .python-version │ ├── 01_CrewAI_Simple.py │ ├── 02_CrewAI_Agent.py │ ├── 03_Test_CrewAI_Agent.py │ ├── README.md │ ├── README_单机版.md │ ├── __main__.py │ ├── agent.py │ ├── generated_images │ │ ├── 7a574fc092614f5bb2e5ab512718abc1.png │ │ └── e4b9806be20b4c14b7d1ebfdd3aefd43.png │ ├── pyproject.toml │ └── task_manager.py ├── google_adk │ ├── .python-version │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ └── task_manager.py ├── langgraph │ ├── .python-version │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ └── task_manager.py ├── langgraph_zh │ ├── .python-version │ ├── 01_LangGraph_Simple.py │ ├── 02_LangGraph_Currency-v1-直接调用.py │ ├── 02_LangGraph_Currency-v2-意图识别.py │ ├── 02_LangGraph_Currency-v3-智能回复.py │ ├── README.md │ ├── README_Simple.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── currency_agent_workflow-v1.png │ ├── currency_agent_workflow-v2.png │ ├── pyproject.toml │ ├── task_manager.py │ ├── test_simple_agent.py │ └── test_v3_smart_response.py ├── llama_index_file_chat │ ├── .python-version │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ └── task_manager.py ├── llama_index_file_chat_zh │ ├── .python-version │ ├── 01_LlamaIndex_Simple.py │ ├── 01_LlamaIndex_workflow.py │ ├── README.md │ ├── README_Simple.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ ├── sample_ai_doc.txt │ ├── task_manager.py │ └── test_simple_agent.py ├── marvin │ ├── .python-version │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ └── task_manager.py ├── mindsdb │ ├── .python-version │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ └── task_manager.py └── semantickernel │ ├── README.md │ ├── __main__.py │ ├── agent.py │ ├── pyproject.toml │ └── task_manager.py ├── common ├── __init__.py ├── client │ ├── __init__.py │ ├── card_resolver.py │ └── client.py ├── server │ ├── __init__.py │ ├── server.py │ ├── task_manager.py │ └── utils.py ├── types.py └── utils │ ├── in_memory_cache.py │ └── push_notification_auth.py ├── demo ├── README.md ├── a2a_demo_arch.png └── ui │ ├── README.md │ ├── __init__.py │ ├── components │ ├── __init__.py │ ├── agent_list.py │ ├── api_key_dialog.py │ ├── async_poller.js │ ├── async_poller.py │ ├── chat_bubble.py │ ├── conversation.py │ ├── conversation_list.py │ ├── dialog.py │ ├── event_viewer.py │ ├── form_render.py │ ├── header.py │ ├── page_scaffold.py │ ├── poller.py │ ├── side_nav.py │ └── task_card.py │ ├── main.py │ ├── pages │ ├── __init__.py │ ├── agent_list.py │ ├── conversation.py │ ├── event_list.py │ ├── home.py │ ├── settings.py │ └── task_list.py │ ├── pyproject.toml │ ├── service │ ├── __init__.py │ ├── client │ │ ├── __init__.py │ │ └── client.py │ ├── server │ │ ├── __init__.py │ │ ├── adk_host_manager.py │ │ ├── application_manager.py │ │ ├── in_memory_manager.py │ │ ├── server.py │ │ └── test_image.py │ └── types.py │ ├── state │ ├── __init__.py │ ├── agent_state.py │ ├── host_agent_service.py │ └── state.py │ ├── styles │ ├── __init__.py │ └── styles.py │ ├── tests │ └── test_adk_host_manager.py │ ├── utils │ ├── __init__.py │ └── agent_card.py │ └── uv.lock ├── hosts ├── README.md ├── __init__.py ├── agent.py ├── cli │ ├── .python-version │ ├── README.md │ ├── __init__.py │ ├── __main__.py │ ├── push_notification_listener.py │ └── pyproject.toml └── multiagent │ ├── .python-version │ ├── README.md │ ├── __init__.py │ ├── agent.py │ ├── host_agent.py │ ├── pyproject.toml │ └── remote_agent_connection.py ├── mcp+a2a ├── README.md ├── a2a_agent.py ├── mcp_a2a.ipynb ├── mcp_server.py ├── pyproject.toml ├── requirements.txt └── uv.lock ├── note.txt ├── pics ├── MCP协议.webp ├── 吴恩达.webp ├── 握手全图.png └── 极客时间.png ├── pyproject.toml └── uv.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.13 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/README.md -------------------------------------------------------------------------------- /agents/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/README.md -------------------------------------------------------------------------------- /agents/ag2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/ag2/README.md -------------------------------------------------------------------------------- /agents/ag2/__init__.py: -------------------------------------------------------------------------------- 1 | # AG2 MCP Youtube Agent for A2A Protocol 2 | -------------------------------------------------------------------------------- /agents/ag2/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/ag2/__main__.py -------------------------------------------------------------------------------- /agents/ag2/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/ag2/agent.py -------------------------------------------------------------------------------- /agents/ag2/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/ag2/pyproject.toml -------------------------------------------------------------------------------- /agents/ag2/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/ag2/task_manager.py -------------------------------------------------------------------------------- /agents/crewai/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/crewai/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai/README.md -------------------------------------------------------------------------------- /agents/crewai/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai/__main__.py -------------------------------------------------------------------------------- /agents/crewai/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai/agent.py -------------------------------------------------------------------------------- /agents/crewai/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai/pyproject.toml -------------------------------------------------------------------------------- /agents/crewai/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai/task_manager.py -------------------------------------------------------------------------------- /agents/crewai/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai/uv.lock -------------------------------------------------------------------------------- /agents/crewai_zh/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/crewai_zh/01_CrewAI_Simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/01_CrewAI_Simple.py -------------------------------------------------------------------------------- /agents/crewai_zh/02_CrewAI_Agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/02_CrewAI_Agent.py -------------------------------------------------------------------------------- /agents/crewai_zh/03_Test_CrewAI_Agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/03_Test_CrewAI_Agent.py -------------------------------------------------------------------------------- /agents/crewai_zh/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/README.md -------------------------------------------------------------------------------- /agents/crewai_zh/README_单机版.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/README_单机版.md -------------------------------------------------------------------------------- /agents/crewai_zh/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/__main__.py -------------------------------------------------------------------------------- /agents/crewai_zh/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/agent.py -------------------------------------------------------------------------------- /agents/crewai_zh/generated_images/7a574fc092614f5bb2e5ab512718abc1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/generated_images/7a574fc092614f5bb2e5ab512718abc1.png -------------------------------------------------------------------------------- /agents/crewai_zh/generated_images/e4b9806be20b4c14b7d1ebfdd3aefd43.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/generated_images/e4b9806be20b4c14b7d1ebfdd3aefd43.png -------------------------------------------------------------------------------- /agents/crewai_zh/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/pyproject.toml -------------------------------------------------------------------------------- /agents/crewai_zh/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/crewai_zh/task_manager.py -------------------------------------------------------------------------------- /agents/google_adk/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/google_adk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/google_adk/README.md -------------------------------------------------------------------------------- /agents/google_adk/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents/google_adk/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/google_adk/__main__.py -------------------------------------------------------------------------------- /agents/google_adk/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/google_adk/agent.py -------------------------------------------------------------------------------- /agents/google_adk/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/google_adk/pyproject.toml -------------------------------------------------------------------------------- /agents/google_adk/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/google_adk/task_manager.py -------------------------------------------------------------------------------- /agents/langgraph/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/langgraph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph/README.md -------------------------------------------------------------------------------- /agents/langgraph/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents/langgraph/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph/__main__.py -------------------------------------------------------------------------------- /agents/langgraph/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph/agent.py -------------------------------------------------------------------------------- /agents/langgraph/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph/pyproject.toml -------------------------------------------------------------------------------- /agents/langgraph/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph/task_manager.py -------------------------------------------------------------------------------- /agents/langgraph_zh/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/langgraph_zh/01_LangGraph_Simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/01_LangGraph_Simple.py -------------------------------------------------------------------------------- /agents/langgraph_zh/02_LangGraph_Currency-v1-直接调用.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/02_LangGraph_Currency-v1-直接调用.py -------------------------------------------------------------------------------- /agents/langgraph_zh/02_LangGraph_Currency-v2-意图识别.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/02_LangGraph_Currency-v2-意图识别.py -------------------------------------------------------------------------------- /agents/langgraph_zh/02_LangGraph_Currency-v3-智能回复.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/02_LangGraph_Currency-v3-智能回复.py -------------------------------------------------------------------------------- /agents/langgraph_zh/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/README.md -------------------------------------------------------------------------------- /agents/langgraph_zh/README_Simple.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/README_Simple.md -------------------------------------------------------------------------------- /agents/langgraph_zh/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents/langgraph_zh/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/__main__.py -------------------------------------------------------------------------------- /agents/langgraph_zh/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/agent.py -------------------------------------------------------------------------------- /agents/langgraph_zh/currency_agent_workflow-v1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/currency_agent_workflow-v1.png -------------------------------------------------------------------------------- /agents/langgraph_zh/currency_agent_workflow-v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/currency_agent_workflow-v2.png -------------------------------------------------------------------------------- /agents/langgraph_zh/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/pyproject.toml -------------------------------------------------------------------------------- /agents/langgraph_zh/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/task_manager.py -------------------------------------------------------------------------------- /agents/langgraph_zh/test_simple_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/test_simple_agent.py -------------------------------------------------------------------------------- /agents/langgraph_zh/test_v3_smart_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/langgraph_zh/test_v3_smart_response.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/llama_index_file_chat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat/README.md -------------------------------------------------------------------------------- /agents/llama_index_file_chat/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents/llama_index_file_chat/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat/__main__.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat/agent.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat/pyproject.toml -------------------------------------------------------------------------------- /agents/llama_index_file_chat/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat/task_manager.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/01_LlamaIndex_Simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/01_LlamaIndex_Simple.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/01_LlamaIndex_workflow.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/01_LlamaIndex_workflow.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/README.md -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/README_Simple.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/README_Simple.md -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/__main__.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/agent.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/pyproject.toml -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/sample_ai_doc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/sample_ai_doc.txt -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/task_manager.py -------------------------------------------------------------------------------- /agents/llama_index_file_chat_zh/test_simple_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/llama_index_file_chat_zh/test_simple_agent.py -------------------------------------------------------------------------------- /agents/marvin/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/marvin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/marvin/README.md -------------------------------------------------------------------------------- /agents/marvin/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents/marvin/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/marvin/__main__.py -------------------------------------------------------------------------------- /agents/marvin/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/marvin/agent.py -------------------------------------------------------------------------------- /agents/marvin/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/marvin/pyproject.toml -------------------------------------------------------------------------------- /agents/marvin/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/marvin/task_manager.py -------------------------------------------------------------------------------- /agents/mindsdb/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /agents/mindsdb/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/mindsdb/README.md -------------------------------------------------------------------------------- /agents/mindsdb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agents/mindsdb/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/mindsdb/__main__.py -------------------------------------------------------------------------------- /agents/mindsdb/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/mindsdb/agent.py -------------------------------------------------------------------------------- /agents/mindsdb/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/mindsdb/pyproject.toml -------------------------------------------------------------------------------- /agents/mindsdb/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/mindsdb/task_manager.py -------------------------------------------------------------------------------- /agents/semantickernel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/semantickernel/README.md -------------------------------------------------------------------------------- /agents/semantickernel/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/semantickernel/__main__.py -------------------------------------------------------------------------------- /agents/semantickernel/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/semantickernel/agent.py -------------------------------------------------------------------------------- /agents/semantickernel/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/semantickernel/pyproject.toml -------------------------------------------------------------------------------- /agents/semantickernel/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/agents/semantickernel/task_manager.py -------------------------------------------------------------------------------- /common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /common/client/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/client/__init__.py -------------------------------------------------------------------------------- /common/client/card_resolver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/client/card_resolver.py -------------------------------------------------------------------------------- /common/client/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/client/client.py -------------------------------------------------------------------------------- /common/server/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/server/__init__.py -------------------------------------------------------------------------------- /common/server/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/server/server.py -------------------------------------------------------------------------------- /common/server/task_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/server/task_manager.py -------------------------------------------------------------------------------- /common/server/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/server/utils.py -------------------------------------------------------------------------------- /common/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/types.py -------------------------------------------------------------------------------- /common/utils/in_memory_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/utils/in_memory_cache.py -------------------------------------------------------------------------------- /common/utils/push_notification_auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/common/utils/push_notification_auth.py -------------------------------------------------------------------------------- /demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/README.md -------------------------------------------------------------------------------- /demo/a2a_demo_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/a2a_demo_arch.png -------------------------------------------------------------------------------- /demo/ui/README.md: -------------------------------------------------------------------------------- 1 | 如果.不行,就直接uv run main.py 2 | -------------------------------------------------------------------------------- /demo/ui/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/components/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/components/agent_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/agent_list.py -------------------------------------------------------------------------------- /demo/ui/components/api_key_dialog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/api_key_dialog.py -------------------------------------------------------------------------------- /demo/ui/components/async_poller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/async_poller.js -------------------------------------------------------------------------------- /demo/ui/components/async_poller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/async_poller.py -------------------------------------------------------------------------------- /demo/ui/components/chat_bubble.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/chat_bubble.py -------------------------------------------------------------------------------- /demo/ui/components/conversation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/conversation.py -------------------------------------------------------------------------------- /demo/ui/components/conversation_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/conversation_list.py -------------------------------------------------------------------------------- /demo/ui/components/dialog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/dialog.py -------------------------------------------------------------------------------- /demo/ui/components/event_viewer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/event_viewer.py -------------------------------------------------------------------------------- /demo/ui/components/form_render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/form_render.py -------------------------------------------------------------------------------- /demo/ui/components/header.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/header.py -------------------------------------------------------------------------------- /demo/ui/components/page_scaffold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/page_scaffold.py -------------------------------------------------------------------------------- /demo/ui/components/poller.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/poller.py -------------------------------------------------------------------------------- /demo/ui/components/side_nav.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/side_nav.py -------------------------------------------------------------------------------- /demo/ui/components/task_card.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/components/task_card.py -------------------------------------------------------------------------------- /demo/ui/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/main.py -------------------------------------------------------------------------------- /demo/ui/pages/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/pages/agent_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/pages/agent_list.py -------------------------------------------------------------------------------- /demo/ui/pages/conversation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/pages/conversation.py -------------------------------------------------------------------------------- /demo/ui/pages/event_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/pages/event_list.py -------------------------------------------------------------------------------- /demo/ui/pages/home.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/pages/home.py -------------------------------------------------------------------------------- /demo/ui/pages/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/pages/settings.py -------------------------------------------------------------------------------- /demo/ui/pages/task_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/pages/task_list.py -------------------------------------------------------------------------------- /demo/ui/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/pyproject.toml -------------------------------------------------------------------------------- /demo/ui/service/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/service/client/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/service/client/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/service/client/client.py -------------------------------------------------------------------------------- /demo/ui/service/server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/service/server/adk_host_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/service/server/adk_host_manager.py -------------------------------------------------------------------------------- /demo/ui/service/server/application_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/service/server/application_manager.py -------------------------------------------------------------------------------- /demo/ui/service/server/in_memory_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/service/server/in_memory_manager.py -------------------------------------------------------------------------------- /demo/ui/service/server/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/service/server/server.py -------------------------------------------------------------------------------- /demo/ui/service/server/test_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/service/server/test_image.py -------------------------------------------------------------------------------- /demo/ui/service/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/service/types.py -------------------------------------------------------------------------------- /demo/ui/state/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/state/agent_state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/state/agent_state.py -------------------------------------------------------------------------------- /demo/ui/state/host_agent_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/state/host_agent_service.py -------------------------------------------------------------------------------- /demo/ui/state/state.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/state/state.py -------------------------------------------------------------------------------- /demo/ui/styles/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/styles/styles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/styles/styles.py -------------------------------------------------------------------------------- /demo/ui/tests/test_adk_host_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/tests/test_adk_host_manager.py -------------------------------------------------------------------------------- /demo/ui/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /demo/ui/utils/agent_card.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/utils/agent_card.py -------------------------------------------------------------------------------- /demo/ui/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/demo/ui/uv.lock -------------------------------------------------------------------------------- /hosts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/README.md -------------------------------------------------------------------------------- /hosts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hosts/agent.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hosts/cli/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /hosts/cli/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/cli/README.md -------------------------------------------------------------------------------- /hosts/cli/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hosts/cli/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/cli/__main__.py -------------------------------------------------------------------------------- /hosts/cli/push_notification_listener.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/cli/push_notification_listener.py -------------------------------------------------------------------------------- /hosts/cli/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/cli/pyproject.toml -------------------------------------------------------------------------------- /hosts/multiagent/.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /hosts/multiagent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/multiagent/README.md -------------------------------------------------------------------------------- /hosts/multiagent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hosts/multiagent/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/multiagent/agent.py -------------------------------------------------------------------------------- /hosts/multiagent/host_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/multiagent/host_agent.py -------------------------------------------------------------------------------- /hosts/multiagent/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/multiagent/pyproject.toml -------------------------------------------------------------------------------- /hosts/multiagent/remote_agent_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/hosts/multiagent/remote_agent_connection.py -------------------------------------------------------------------------------- /mcp+a2a/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/mcp+a2a/README.md -------------------------------------------------------------------------------- /mcp+a2a/a2a_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/mcp+a2a/a2a_agent.py -------------------------------------------------------------------------------- /mcp+a2a/mcp_a2a.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/mcp+a2a/mcp_a2a.ipynb -------------------------------------------------------------------------------- /mcp+a2a/mcp_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/mcp+a2a/mcp_server.py -------------------------------------------------------------------------------- /mcp+a2a/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/mcp+a2a/pyproject.toml -------------------------------------------------------------------------------- /mcp+a2a/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/mcp+a2a/requirements.txt -------------------------------------------------------------------------------- /mcp+a2a/uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/mcp+a2a/uv.lock -------------------------------------------------------------------------------- /note.txt: -------------------------------------------------------------------------------- 1 | 所有要知道的内容都在 2 | https://chatgpt.com/c/68209758-2330-8011-b73d-d7384beaf59a 3 | 4 | 另外,需要.env安装Google API -------------------------------------------------------------------------------- /pics/MCP协议.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/pics/MCP协议.webp -------------------------------------------------------------------------------- /pics/吴恩达.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/pics/吴恩达.webp -------------------------------------------------------------------------------- /pics/握手全图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/pics/握手全图.png -------------------------------------------------------------------------------- /pics/极客时间.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/pics/极客时间.png -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/pyproject.toml -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huangjia2019/a2a-in-action/HEAD/uv.lock --------------------------------------------------------------------------------