aip-agents-binary 0.0.0b2__py3-none-any.whl → 0.5.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aip_agents/__init__.py +65 -0
- aip_agents/a2a/__init__.py +19 -0
- aip_agents/a2a/server/__init__.py +10 -0
- aip_agents/a2a/server/base_executor.py +1086 -0
- aip_agents/a2a/server/google_adk_executor.py +198 -0
- aip_agents/a2a/server/langflow_executor.py +180 -0
- aip_agents/a2a/server/langgraph_executor.py +270 -0
- aip_agents/a2a/types.py +232 -0
- aip_agents/agent/__init__.py +27 -0
- aip_agents/agent/base_agent.py +970 -0
- aip_agents/agent/base_langgraph_agent.py +2942 -0
- aip_agents/agent/google_adk_agent.py +926 -0
- aip_agents/agent/google_adk_constants.py +6 -0
- aip_agents/agent/hitl/__init__.py +24 -0
- aip_agents/agent/hitl/config.py +28 -0
- aip_agents/agent/hitl/langgraph_hitl_mixin.py +515 -0
- aip_agents/agent/hitl/manager.py +532 -0
- aip_agents/agent/hitl/models.py +18 -0
- aip_agents/agent/hitl/prompt/__init__.py +9 -0
- aip_agents/agent/hitl/prompt/base.py +42 -0
- aip_agents/agent/hitl/prompt/deferred.py +73 -0
- aip_agents/agent/hitl/registry.py +149 -0
- aip_agents/agent/{interface.pyi → interface.py} +70 -13
- aip_agents/agent/interfaces.py +65 -0
- aip_agents/agent/langflow_agent.py +464 -0
- aip_agents/agent/langgraph_memory_enhancer_agent.py +433 -0
- aip_agents/agent/langgraph_react_agent.py +2514 -0
- aip_agents/agent/system_instruction_context.py +34 -0
- aip_agents/clients/__init__.py +10 -0
- aip_agents/clients/langflow/__init__.py +10 -0
- aip_agents/clients/langflow/client.py +477 -0
- aip_agents/clients/langflow/types.py +18 -0
- aip_agents/constants.py +23 -0
- aip_agents/credentials/manager.py +132 -0
- aip_agents/examples/__init__.py +5 -0
- aip_agents/examples/compare_streaming_client.py +783 -0
- aip_agents/examples/compare_streaming_server.py +142 -0
- aip_agents/examples/demo_memory_recall.py +401 -0
- aip_agents/examples/hello_world_a2a_google_adk_client.py +49 -0
- aip_agents/examples/hello_world_a2a_google_adk_client_agent.py +48 -0
- aip_agents/examples/hello_world_a2a_google_adk_client_streaming.py +60 -0
- aip_agents/examples/hello_world_a2a_google_adk_server.py +79 -0
- aip_agents/examples/hello_world_a2a_langchain_client.py +39 -0
- aip_agents/examples/hello_world_a2a_langchain_client_agent.py +39 -0
- aip_agents/examples/hello_world_a2a_langchain_client_lm_invoker.py +37 -0
- aip_agents/examples/hello_world_a2a_langchain_client_streaming.py +41 -0
- aip_agents/examples/hello_world_a2a_langchain_reference_client_streaming.py +60 -0
- aip_agents/examples/hello_world_a2a_langchain_reference_server.py +105 -0
- aip_agents/examples/hello_world_a2a_langchain_server.py +79 -0
- aip_agents/examples/hello_world_a2a_langchain_server_lm_invoker.py +78 -0
- aip_agents/examples/hello_world_a2a_langflow_client.py +83 -0
- aip_agents/examples/hello_world_a2a_langflow_server.py +82 -0
- aip_agents/examples/hello_world_a2a_langgraph_artifact_client.py +73 -0
- aip_agents/examples/hello_world_a2a_langgraph_artifact_client_streaming.py +76 -0
- aip_agents/examples/hello_world_a2a_langgraph_artifact_server.py +92 -0
- aip_agents/examples/hello_world_a2a_langgraph_client.py +54 -0
- aip_agents/examples/hello_world_a2a_langgraph_client_agent.py +54 -0
- aip_agents/examples/hello_world_a2a_langgraph_client_agent_lm_invoker.py +32 -0
- aip_agents/examples/hello_world_a2a_langgraph_client_streaming.py +50 -0
- aip_agents/examples/hello_world_a2a_langgraph_client_streaming_lm_invoker.py +44 -0
- aip_agents/examples/hello_world_a2a_langgraph_client_streaming_tool_streaming.py +92 -0
- aip_agents/examples/hello_world_a2a_langgraph_server.py +84 -0
- aip_agents/examples/hello_world_a2a_langgraph_server_lm_invoker.py +79 -0
- aip_agents/examples/hello_world_a2a_langgraph_server_tool_streaming.py +132 -0
- aip_agents/examples/hello_world_a2a_mcp_langgraph.py +196 -0
- aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_client.py +244 -0
- aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_server.py +251 -0
- aip_agents/examples/hello_world_a2a_with_metadata_langchain_client.py +57 -0
- aip_agents/examples/hello_world_a2a_with_metadata_langchain_server_lm_invoker.py +80 -0
- aip_agents/examples/hello_world_google_adk.py +41 -0
- aip_agents/examples/hello_world_google_adk_mcp_http.py +34 -0
- aip_agents/examples/hello_world_google_adk_mcp_http_stream.py +40 -0
- aip_agents/examples/hello_world_google_adk_mcp_sse.py +44 -0
- aip_agents/examples/hello_world_google_adk_mcp_sse_stream.py +48 -0
- aip_agents/examples/hello_world_google_adk_mcp_stdio.py +44 -0
- aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.py +48 -0
- aip_agents/examples/hello_world_google_adk_stream.py +44 -0
- aip_agents/examples/hello_world_langchain.py +28 -0
- aip_agents/examples/hello_world_langchain_lm_invoker.py +15 -0
- aip_agents/examples/hello_world_langchain_mcp_http.py +34 -0
- aip_agents/examples/hello_world_langchain_mcp_http_interactive.py +130 -0
- aip_agents/examples/hello_world_langchain_mcp_http_stream.py +42 -0
- aip_agents/examples/hello_world_langchain_mcp_multi_server.py +155 -0
- aip_agents/examples/hello_world_langchain_mcp_sse.py +34 -0
- aip_agents/examples/hello_world_langchain_mcp_sse_stream.py +40 -0
- aip_agents/examples/hello_world_langchain_mcp_stdio.py +30 -0
- aip_agents/examples/hello_world_langchain_mcp_stdio_stream.py +41 -0
- aip_agents/examples/hello_world_langchain_stream.py +36 -0
- aip_agents/examples/hello_world_langchain_stream_lm_invoker.py +39 -0
- aip_agents/examples/hello_world_langflow_agent.py +163 -0
- aip_agents/examples/hello_world_langgraph.py +39 -0
- aip_agents/examples/hello_world_langgraph_bosa_twitter.py +41 -0
- aip_agents/examples/hello_world_langgraph_mcp_http.py +31 -0
- aip_agents/examples/hello_world_langgraph_mcp_http_stream.py +34 -0
- aip_agents/examples/hello_world_langgraph_mcp_sse.py +35 -0
- aip_agents/examples/hello_world_langgraph_mcp_sse_stream.py +50 -0
- aip_agents/examples/hello_world_langgraph_mcp_stdio.py +35 -0
- aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.py +50 -0
- aip_agents/examples/hello_world_langgraph_stream.py +43 -0
- aip_agents/examples/hello_world_langgraph_stream_lm_invoker.py +37 -0
- aip_agents/examples/hello_world_model_switch_cli.py +210 -0
- aip_agents/examples/hello_world_multi_agent_adk.py +75 -0
- aip_agents/examples/hello_world_multi_agent_langchain.py +54 -0
- aip_agents/examples/hello_world_multi_agent_langgraph.py +66 -0
- aip_agents/examples/hello_world_multi_agent_langgraph_lm_invoker.py +69 -0
- aip_agents/examples/hello_world_pii_logger.py +21 -0
- aip_agents/examples/hello_world_sentry.py +133 -0
- aip_agents/examples/hello_world_step_limits.py +273 -0
- aip_agents/examples/hello_world_stock_a2a_server.py +103 -0
- aip_agents/examples/hello_world_tool_output_client.py +46 -0
- aip_agents/examples/hello_world_tool_output_server.py +114 -0
- aip_agents/examples/hitl_demo.py +724 -0
- aip_agents/examples/mcp_configs/configs.py +63 -0
- aip_agents/examples/mcp_servers/common.py +76 -0
- aip_agents/examples/mcp_servers/mcp_name.py +29 -0
- aip_agents/examples/mcp_servers/mcp_server_http.py +19 -0
- aip_agents/examples/mcp_servers/mcp_server_sse.py +19 -0
- aip_agents/examples/mcp_servers/mcp_server_stdio.py +19 -0
- aip_agents/examples/mcp_servers/mcp_time.py +10 -0
- aip_agents/examples/pii_demo_langgraph_client.py +69 -0
- aip_agents/examples/pii_demo_langgraph_server.py +126 -0
- aip_agents/examples/pii_demo_multi_agent_client.py +80 -0
- aip_agents/examples/pii_demo_multi_agent_server.py +247 -0
- aip_agents/examples/todolist_planning_a2a_langchain_client.py +70 -0
- aip_agents/examples/todolist_planning_a2a_langgraph_server.py +88 -0
- aip_agents/examples/tools/__init__.py +27 -0
- aip_agents/examples/tools/{adk_arithmetic_tools.pyi → adk_arithmetic_tools.py} +12 -0
- aip_agents/examples/tools/adk_weather_tool.py +60 -0
- aip_agents/examples/tools/data_generator_tool.py +103 -0
- aip_agents/examples/tools/data_visualization_tool.py +312 -0
- aip_agents/examples/tools/image_artifact_tool.py +136 -0
- aip_agents/examples/tools/langchain_arithmetic_tools.py +26 -0
- aip_agents/examples/tools/langchain_currency_exchange_tool.py +88 -0
- aip_agents/examples/tools/langchain_graph_artifact_tool.py +172 -0
- aip_agents/examples/tools/langchain_weather_tool.py +48 -0
- aip_agents/examples/tools/langgraph_streaming_tool.py +130 -0
- aip_agents/examples/tools/mock_retrieval_tool.py +56 -0
- aip_agents/examples/tools/pii_demo_tools.py +189 -0
- aip_agents/examples/tools/random_chart_tool.py +142 -0
- aip_agents/examples/tools/serper_tool.py +202 -0
- aip_agents/examples/tools/stock_tools.py +82 -0
- aip_agents/examples/tools/table_generator_tool.py +167 -0
- aip_agents/examples/tools/time_tool.py +82 -0
- aip_agents/examples/tools/weather_forecast_tool.py +38 -0
- aip_agents/executor/agent_executor.py +473 -0
- aip_agents/executor/base.py +48 -0
- aip_agents/mcp/__init__.py +1 -0
- aip_agents/mcp/client/__init__.py +14 -0
- aip_agents/mcp/client/base_mcp_client.py +369 -0
- aip_agents/mcp/client/connection_manager.py +193 -0
- aip_agents/mcp/client/google_adk/__init__.py +11 -0
- aip_agents/mcp/client/google_adk/client.py +381 -0
- aip_agents/mcp/client/langchain/__init__.py +11 -0
- aip_agents/mcp/client/langchain/client.py +265 -0
- aip_agents/mcp/client/persistent_session.py +359 -0
- aip_agents/mcp/client/session_pool.py +351 -0
- aip_agents/mcp/client/transports.py +215 -0
- aip_agents/mcp/utils/__init__.py +7 -0
- aip_agents/mcp/utils/config_validator.py +139 -0
- aip_agents/memory/__init__.py +14 -0
- aip_agents/memory/adapters/__init__.py +10 -0
- aip_agents/memory/adapters/base_adapter.py +717 -0
- aip_agents/memory/adapters/mem0.py +84 -0
- aip_agents/memory/{base.pyi → base.py} +40 -5
- aip_agents/memory/constants.py +49 -0
- aip_agents/memory/factory.py +86 -0
- aip_agents/memory/guidance.py +20 -0
- aip_agents/memory/simple_memory.py +47 -0
- aip_agents/middleware/__init__.py +17 -0
- aip_agents/middleware/base.py +88 -0
- aip_agents/middleware/manager.py +128 -0
- aip_agents/middleware/todolist.py +274 -0
- aip_agents/schema/__init__.py +69 -0
- aip_agents/schema/a2a.py +56 -0
- aip_agents/schema/agent.py +111 -0
- aip_agents/schema/hitl.py +157 -0
- aip_agents/schema/langgraph.py +37 -0
- aip_agents/schema/model_id.py +97 -0
- aip_agents/schema/step_limit.py +108 -0
- aip_agents/schema/storage.py +40 -0
- aip_agents/sentry/__init__.py +11 -0
- aip_agents/sentry/sentry.py +151 -0
- aip_agents/storage/__init__.py +41 -0
- aip_agents/storage/{base.pyi → base.py} +30 -4
- aip_agents/storage/clients/__init__.py +12 -0
- aip_agents/storage/clients/minio_client.py +318 -0
- aip_agents/storage/config.py +62 -0
- aip_agents/storage/providers/__init__.py +15 -0
- aip_agents/storage/providers/{base.pyi → base.py} +23 -6
- aip_agents/storage/providers/{memory.pyi → memory.py} +38 -3
- aip_agents/storage/providers/object_storage.py +214 -0
- aip_agents/tools/__init__.py +6 -0
- aip_agents/tools/bosa_tools.py +105 -0
- aip_agents/tools/browser_use/__init__.py +82 -0
- aip_agents/tools/browser_use/action_parser.py +103 -0
- aip_agents/tools/browser_use/browser_use_tool.py +1112 -0
- aip_agents/tools/browser_use/llm_config.py +120 -0
- aip_agents/tools/browser_use/minio_storage.py +198 -0
- aip_agents/tools/browser_use/schemas.py +119 -0
- aip_agents/tools/browser_use/session.py +76 -0
- aip_agents/tools/browser_use/session_errors.py +132 -0
- aip_agents/tools/browser_use/steel_session_recording.py +317 -0
- aip_agents/tools/browser_use/streaming.py +813 -0
- aip_agents/tools/browser_use/structured_data_parser.py +257 -0
- aip_agents/tools/browser_use/structured_data_recovery.py +204 -0
- aip_agents/tools/browser_use/types.py +78 -0
- aip_agents/tools/code_sandbox/__init__.py +26 -0
- aip_agents/tools/code_sandbox/constant.py +13 -0
- aip_agents/tools/code_sandbox/e2b_cloud_sandbox_extended.py +257 -0
- aip_agents/tools/code_sandbox/e2b_sandbox_tool.py +411 -0
- aip_agents/tools/constants.py +165 -0
- aip_agents/tools/document_loader/__init__.py +37 -0
- aip_agents/tools/document_loader/base_reader.py +262 -0
- aip_agents/tools/document_loader/docx_reader_tool.py +53 -0
- aip_agents/tools/document_loader/excel_reader_tool.py +160 -0
- aip_agents/tools/document_loader/pdf_reader_tool.py +67 -0
- aip_agents/tools/document_loader/pdf_splitter.py +169 -0
- aip_agents/tools/gl_connector/__init__.py +5 -0
- aip_agents/tools/gl_connector/tool.py +351 -0
- aip_agents/tools/memory_search/__init__.py +22 -0
- aip_agents/tools/memory_search/base.py +200 -0
- aip_agents/tools/memory_search/mem0.py +258 -0
- aip_agents/tools/memory_search/schema.py +48 -0
- aip_agents/tools/memory_search_tool.py +26 -0
- aip_agents/tools/tool_config_injector.py +300 -0
- aip_agents/tools/web_search/__init__.py +15 -0
- aip_agents/tools/web_search/serper_tool.py +187 -0
- aip_agents/types/__init__.py +70 -0
- aip_agents/types/a2a_events.py +13 -0
- aip_agents/utils/__init__.py +79 -0
- aip_agents/utils/a2a_connector.py +1757 -0
- aip_agents/utils/artifact_helpers.py +502 -0
- aip_agents/utils/constants.py +22 -0
- aip_agents/utils/datetime/__init__.py +34 -0
- aip_agents/utils/datetime/normalization.py +231 -0
- aip_agents/utils/datetime/timezone.py +206 -0
- aip_agents/utils/env_loader.py +27 -0
- aip_agents/utils/event_handler_registry.py +58 -0
- aip_agents/utils/file_prompt_utils.py +176 -0
- aip_agents/utils/final_response_builder.py +211 -0
- aip_agents/utils/formatter_llm_client.py +231 -0
- aip_agents/utils/langgraph/__init__.py +19 -0
- aip_agents/utils/langgraph/converter.py +128 -0
- aip_agents/utils/langgraph/tool_managers/__init__.py +15 -0
- aip_agents/utils/langgraph/tool_managers/a2a_tool_manager.py +99 -0
- aip_agents/utils/langgraph/tool_managers/{base_tool_manager.pyi → base_tool_manager.py} +25 -8
- aip_agents/utils/langgraph/tool_managers/delegation_tool_manager.py +1071 -0
- aip_agents/utils/langgraph/tool_output_management.py +967 -0
- aip_agents/utils/logger.py +195 -0
- aip_agents/utils/metadata/__init__.py +27 -0
- aip_agents/utils/metadata/activity_metadata_helper.py +407 -0
- aip_agents/utils/metadata/activity_narrative/__init__.py +35 -0
- aip_agents/utils/metadata/activity_narrative/builder.py +817 -0
- aip_agents/utils/metadata/activity_narrative/constants.py +51 -0
- aip_agents/utils/metadata/activity_narrative/context.py +49 -0
- aip_agents/utils/metadata/activity_narrative/formatters.py +230 -0
- aip_agents/utils/metadata/activity_narrative/utils.py +35 -0
- aip_agents/utils/metadata/schemas/__init__.py +16 -0
- aip_agents/utils/metadata/schemas/activity_schema.py +29 -0
- aip_agents/utils/metadata/schemas/thinking_schema.py +31 -0
- aip_agents/utils/metadata/thinking_metadata_helper.py +38 -0
- aip_agents/utils/metadata_helper.py +358 -0
- aip_agents/utils/name_preprocessor/__init__.py +17 -0
- aip_agents/utils/name_preprocessor/{base_name_preprocessor.pyi → base_name_preprocessor.py} +22 -2
- aip_agents/utils/name_preprocessor/google_name_preprocessor.py +100 -0
- aip_agents/utils/name_preprocessor/name_preprocessor.py +87 -0
- aip_agents/utils/name_preprocessor/{openai_name_preprocessor.pyi → openai_name_preprocessor.py} +19 -5
- aip_agents/utils/pii/__init__.py +25 -0
- aip_agents/utils/pii/pii_handler.py +397 -0
- aip_agents/utils/pii/pii_helper.py +207 -0
- aip_agents/utils/pii/uuid_deanonymizer_mapping.py +195 -0
- aip_agents/utils/reference_helper.py +273 -0
- aip_agents/utils/sse_chunk_transformer.py +831 -0
- aip_agents/utils/step_limit_manager.py +265 -0
- aip_agents/utils/token_usage_helper.py +156 -0
- aip_agents_binary-0.5.12.dist-info/METADATA +689 -0
- aip_agents_binary-0.5.12.dist-info/RECORD +279 -0
- {aip_agents_binary-0.0.0b2.dist-info → aip_agents_binary-0.5.12.dist-info}/WHEEL +2 -1
- aip_agents_binary-0.5.12.dist-info/top_level.txt +1 -0
- aip_agents/__init__.pyi +0 -0
- aip_agents/a2a/__init__.pyi +0 -3
- aip_agents/a2a/server/__init__.pyi +0 -4
- aip_agents/a2a/server/base_executor.pyi +0 -63
- aip_agents/a2a/server/google_adk_executor.pyi +0 -51
- aip_agents/a2a/server/langgraph_executor.pyi +0 -48
- aip_agents/a2a/types.pyi +0 -125
- aip_agents/agent/__init__.pyi +0 -7
- aip_agents/agent/base_agent.pyi +0 -205
- aip_agents/agent/base_langgraph_agent.pyi +0 -164
- aip_agents/agent/google_adk_agent.pyi +0 -128
- aip_agents/agent/langgraph_react_agent.pyi +0 -131
- aip_agents/agent/types.pyi +0 -106
- aip_agents/constants.pyi +0 -6
- aip_agents/examples/__init__.pyi +0 -0
- aip_agents/examples/hello_world_a2a_google_adk_client.pyi +0 -9
- aip_agents/examples/hello_world_a2a_google_adk_client_agent.pyi +0 -9
- aip_agents/examples/hello_world_a2a_google_adk_client_streaming.pyi +0 -9
- aip_agents/examples/hello_world_a2a_google_adk_server.pyi +0 -10
- aip_agents/examples/hello_world_a2a_langchain_client.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langchain_client_agent.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langchain_client_lm_invoker.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langchain_client_streaming.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langchain_reference_client_streaming.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langchain_reference_server.pyi +0 -10
- aip_agents/examples/hello_world_a2a_langchain_server.pyi +0 -10
- aip_agents/examples/hello_world_a2a_langchain_server_lm_invoker.pyi +0 -10
- aip_agents/examples/hello_world_a2a_langgraph_artifact_client.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langgraph_artifact_client_streaming.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langgraph_artifact_server.pyi +0 -11
- aip_agents/examples/hello_world_a2a_langgraph_client.pyi +0 -9
- aip_agents/examples/hello_world_a2a_langgraph_client_agent.pyi +0 -9
- aip_agents/examples/hello_world_a2a_langgraph_client_agent_lm_invoker.pyi +0 -2
- aip_agents/examples/hello_world_a2a_langgraph_client_streaming.pyi +0 -9
- aip_agents/examples/hello_world_a2a_langgraph_client_streaming_lm_invoker.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langgraph_client_streaming_tool_streaming.pyi +0 -5
- aip_agents/examples/hello_world_a2a_langgraph_server.pyi +0 -9
- aip_agents/examples/hello_world_a2a_langgraph_server_lm_invoker.pyi +0 -10
- aip_agents/examples/hello_world_a2a_langgraph_server_tool_streaming.pyi +0 -10
- aip_agents/examples/hello_world_a2a_mcp_langgraph.pyi +0 -48
- aip_agents/examples/hello_world_a2a_multi_agent_coordinator_client.pyi +0 -15
- aip_agents/examples/hello_world_a2a_multi_agent_coordinator_client_streaming.pyi +0 -5
- aip_agents/examples/hello_world_a2a_multi_agent_coordinator_server.pyi +0 -11
- aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_client.pyi +0 -23
- aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_server.pyi +0 -17
- aip_agents/examples/hello_world_a2a_with_metadata_langchain_client.pyi +0 -5
- aip_agents/examples/hello_world_a2a_with_metadata_langchain_server_lm_invoker.pyi +0 -10
- aip_agents/examples/hello_world_google_adk.pyi +0 -5
- aip_agents/examples/hello_world_google_adk_mcp_http.pyi +0 -5
- aip_agents/examples/hello_world_google_adk_mcp_http_stream.pyi +0 -5
- aip_agents/examples/hello_world_google_adk_mcp_sse.pyi +0 -5
- aip_agents/examples/hello_world_google_adk_mcp_sse_stream.pyi +0 -5
- aip_agents/examples/hello_world_google_adk_mcp_stdio.pyi +0 -5
- aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.pyi +0 -5
- aip_agents/examples/hello_world_google_adk_stream.pyi +0 -5
- aip_agents/examples/hello_world_langchain.pyi +0 -5
- aip_agents/examples/hello_world_langchain_lm_invoker.pyi +0 -2
- aip_agents/examples/hello_world_langchain_mcp_http.pyi +0 -5
- aip_agents/examples/hello_world_langchain_mcp_http_stream.pyi +0 -5
- aip_agents/examples/hello_world_langchain_mcp_sse.pyi +0 -5
- aip_agents/examples/hello_world_langchain_mcp_sse_stream.pyi +0 -5
- aip_agents/examples/hello_world_langchain_mcp_stdio.pyi +0 -5
- aip_agents/examples/hello_world_langchain_mcp_stdio_stream.pyi +0 -5
- aip_agents/examples/hello_world_langchain_stream.pyi +0 -5
- aip_agents/examples/hello_world_langchain_stream_lm_invoker.pyi +0 -5
- aip_agents/examples/hello_world_langgraph.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_bosa.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_bosa_twitter.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_mcp_http.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_mcp_http_stream.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_mcp_sse.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_mcp_sse_stream.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_mcp_stdio.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_stream.pyi +0 -5
- aip_agents/examples/hello_world_langgraph_stream_lm_invoker.pyi +0 -5
- aip_agents/examples/hello_world_model_switch_cli.pyi +0 -15
- aip_agents/examples/hello_world_multi_agent_adk.pyi +0 -6
- aip_agents/examples/hello_world_multi_agent_langchain.pyi +0 -5
- aip_agents/examples/hello_world_multi_agent_langgraph.pyi +0 -5
- aip_agents/examples/hello_world_multi_agent_langgraph_lm_invoker.pyi +0 -5
- aip_agents/examples/hello_world_pii_logger.pyi +0 -5
- aip_agents/examples/hello_world_sentry.pyi +0 -21
- aip_agents/examples/hello_world_stock_a2a_server.pyi +0 -12
- aip_agents/examples/hello_world_tool_output_client.pyi +0 -5
- aip_agents/examples/hello_world_tool_output_server.pyi +0 -14
- aip_agents/examples/tools/__init__.pyi +0 -7
- aip_agents/examples/tools/adk_weather_tool.pyi +0 -18
- aip_agents/examples/tools/data_generator_tool.pyi +0 -15
- aip_agents/examples/tools/data_visualization_tool.pyi +0 -17
- aip_agents/examples/tools/image_artifact_tool.pyi +0 -24
- aip_agents/examples/tools/langchain_arithmetic_tools.pyi +0 -10
- aip_agents/examples/tools/langchain_currency_exchange_tool.pyi +0 -21
- aip_agents/examples/tools/langchain_graph_artifact_tool.pyi +0 -23
- aip_agents/examples/tools/langchain_weather_tool.pyi +0 -19
- aip_agents/examples/tools/langgraph_streaming_tool.pyi +0 -43
- aip_agents/examples/tools/pr_details_bosa_tool.pyi +0 -26
- aip_agents/examples/tools/serper_tool.pyi +0 -16
- aip_agents/examples/tools/stock_tools.pyi +0 -21
- aip_agents/examples/tools/table_generator_tool.pyi +0 -22
- aip_agents/examples/tools/time_tool.pyi +0 -15
- aip_agents/examples/tools/weather_forecast_tool.pyi +0 -14
- aip_agents/mcp/__init__.pyi +0 -0
- aip_agents/mcp/client/__init__.pyi +0 -4
- aip_agents/mcp/client/google_adk/__init__.pyi +0 -3
- aip_agents/mcp/client/google_adk/client.pyi +0 -38
- aip_agents/mcp/client/langchain/__init__.pyi +0 -3
- aip_agents/mcp/client/langchain/client.pyi +0 -3
- aip_agents/memory/__init__.pyi +0 -0
- aip_agents/memory/simple_memory.pyi +0 -22
- aip_agents/sentry/__init__.pyi +0 -3
- aip_agents/sentry/sentry.pyi +0 -48
- aip_agents/storage/__init__.pyi +0 -8
- aip_agents/storage/clients/__init__.pyi +0 -3
- aip_agents/storage/clients/minio_client.pyi +0 -137
- aip_agents/storage/config.pyi +0 -66
- aip_agents/storage/providers/__init__.pyi +0 -5
- aip_agents/storage/providers/object_storage.pyi +0 -98
- aip_agents/tools/__init__.pyi +0 -3
- aip_agents/tools/base.pyi +0 -44
- aip_agents/tools/base_bosa_tools.pyi +0 -12
- aip_agents/tools/bosa_connector.pyi +0 -30
- aip_agents/tools/bosa_tools.pyi +0 -37
- aip_agents/tools/bosa_tools_interface.pyi +0 -26
- aip_agents/tools/constants.pyi +0 -130
- aip_agents/tools/nested_agent_tool.pyi +0 -45
- aip_agents/tools/tool_config_injector.pyi +0 -26
- aip_agents/types/__init__.pyi +0 -3
- aip_agents/types/a2a_events.pyi +0 -74
- aip_agents/utils/__init__.pyi +0 -5
- aip_agents/utils/a2a_connector.pyi +0 -135
- aip_agents/utils/artifact_helpers.pyi +0 -179
- aip_agents/utils/langgraph/__init__.pyi +0 -3
- aip_agents/utils/langgraph/converter.pyi +0 -49
- aip_agents/utils/langgraph/tool_managers/__init__.pyi +0 -5
- aip_agents/utils/langgraph/tool_managers/a2a_tool_manager.pyi +0 -35
- aip_agents/utils/langgraph/tool_managers/delegation_tool_manager.pyi +0 -50
- aip_agents/utils/langgraph/tool_output_management.pyi +0 -310
- aip_agents/utils/logger_manager.pyi +0 -151
- aip_agents/utils/metadata_helper.pyi +0 -110
- aip_agents/utils/name_preprocessor/__init__.pyi +0 -6
- aip_agents/utils/name_preprocessor/google_name_preprocessor.pyi +0 -38
- aip_agents/utils/name_preprocessor/name_preprocessor.pyi +0 -41
- aip_agents/utils/reference_helper.pyi +0 -49
- aip_agents/utils/token_usage_helper.pyi +0 -60
- aip_agents_binary-0.0.0b2.dist-info/METADATA +0 -277
- aip_agents_binary-0.0.0b2.dist-info/RECORD +0 -157
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
|
-
from gllm_core.schema import Chunk
|
|
3
|
-
from typing import Any
|
|
4
|
-
|
|
5
|
-
logger: Incomplete
|
|
6
|
-
|
|
7
|
-
def validate_references(references: list[Any]) -> list[Chunk]:
|
|
8
|
-
"""Deduplicate reference data from agent state.
|
|
9
|
-
|
|
10
|
-
Since the reducer function (add_references_chunks) already filters for valid Chunk objects,
|
|
11
|
-
this function focuses on deduplication by content.
|
|
12
|
-
|
|
13
|
-
Args:
|
|
14
|
-
references: List of reference data from agent state (expected to be Chunk objects).
|
|
15
|
-
|
|
16
|
-
Returns:
|
|
17
|
-
List of deduplicated Chunk objects by content.
|
|
18
|
-
"""
|
|
19
|
-
def serialize_references_for_metadata(references: list[Any]) -> list[dict[str, Any]]:
|
|
20
|
-
"""Serialize references for inclusion in A2A metadata.
|
|
21
|
-
|
|
22
|
-
Args:
|
|
23
|
-
references: List of reference objects (typically Chunk objects).
|
|
24
|
-
|
|
25
|
-
Returns:
|
|
26
|
-
List of serialized reference dictionaries.
|
|
27
|
-
"""
|
|
28
|
-
def add_references_chunks(left: list[Chunk], right: list[Chunk]) -> list[Chunk]:
|
|
29
|
-
"""Reducer function to accumulate reference data from multiple tool calls.
|
|
30
|
-
|
|
31
|
-
This is a LangGraph reducer function that should be forgiving and handle
|
|
32
|
-
edge cases gracefully. Non-Chunk items are filtered out.
|
|
33
|
-
|
|
34
|
-
Args:
|
|
35
|
-
left: Existing list of reference chunks (or None/non-list)
|
|
36
|
-
right: New list of reference chunks to add (or None/non-list)
|
|
37
|
-
|
|
38
|
-
Returns:
|
|
39
|
-
Combined list of valid Chunk objects
|
|
40
|
-
"""
|
|
41
|
-
def extract_references_from_agent_response(result: Any) -> list[dict[str, Any]] | None:
|
|
42
|
-
"""Extract references from agent response for delegation tools.
|
|
43
|
-
|
|
44
|
-
Args:
|
|
45
|
-
result: The result returned by the delegated agent.
|
|
46
|
-
|
|
47
|
-
Returns:
|
|
48
|
-
List of reference chunks if found, None otherwise.
|
|
49
|
-
"""
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
from langchain_core.messages.ai import AIMessage as AIMessage, UsageMetadata as UsageMetadata
|
|
2
|
-
from langchain_core.messages.tool import ToolMessage as ToolMessage
|
|
3
|
-
from langgraph.types import Command
|
|
4
|
-
from typing import Any
|
|
5
|
-
|
|
6
|
-
USAGE_METADATA_KEY: str
|
|
7
|
-
TOTAL_USAGE_KEY: str
|
|
8
|
-
STEP_USAGE_KEY: str
|
|
9
|
-
|
|
10
|
-
def add_usage_metadata(cur_accumulated_token_usage: UsageMetadata | None, new_token_usage: UsageMetadata | None) -> UsageMetadata | None:
|
|
11
|
-
"""Reducer function to accumulate UsageMetadata across agent runs.
|
|
12
|
-
|
|
13
|
-
Args:
|
|
14
|
-
cur_accumulated_token_usage: The current accumulated token usage metadata.
|
|
15
|
-
new_token_usage: New token usage metadata to add.
|
|
16
|
-
|
|
17
|
-
Returns:
|
|
18
|
-
Accumulated usage metadata or None if both inputs are None.
|
|
19
|
-
"""
|
|
20
|
-
def extract_and_update_token_usage_from_ai_message(ai_message: AIMessage) -> dict[str, Any]:
|
|
21
|
-
"""Extract token usage from AI message and prepare state update.
|
|
22
|
-
|
|
23
|
-
Args:
|
|
24
|
-
ai_message: The AI message containing usage metadata.
|
|
25
|
-
|
|
26
|
-
Returns:
|
|
27
|
-
Dictionary with accumulated_usage_metadata update if usage metadata is available.
|
|
28
|
-
"""
|
|
29
|
-
def extract_token_usage_from_tool_output(tool_output: Any) -> UsageMetadata | None:
|
|
30
|
-
"""Extract token usage from various tool output formats.
|
|
31
|
-
|
|
32
|
-
Supports multiple tool output formats:
|
|
33
|
-
1. Dictionary with 'usage_metadata' field
|
|
34
|
-
2. Command with 'usage_metadata' attribute
|
|
35
|
-
3. Any object with 'usage_metadata' attribute
|
|
36
|
-
|
|
37
|
-
Args:
|
|
38
|
-
tool_output: The output from a tool execution.
|
|
39
|
-
|
|
40
|
-
Returns:
|
|
41
|
-
UsageMetadata if found, None otherwise.
|
|
42
|
-
"""
|
|
43
|
-
def extract_token_usage_from_command(command: Command) -> UsageMetadata | None:
|
|
44
|
-
"""Extract token usage from Command object.
|
|
45
|
-
|
|
46
|
-
Args:
|
|
47
|
-
command: The Command object to extract token usage from.
|
|
48
|
-
|
|
49
|
-
Returns:
|
|
50
|
-
UsageMetadata if found, None otherwise.
|
|
51
|
-
"""
|
|
52
|
-
def extract_token_usage_from_agent_response(agent_response: dict[str, Any]) -> UsageMetadata | None:
|
|
53
|
-
"""Extract accumulated token usage from agent response.
|
|
54
|
-
|
|
55
|
-
Args:
|
|
56
|
-
agent_response: The agent response to extract token usage from.
|
|
57
|
-
|
|
58
|
-
Returns:
|
|
59
|
-
UsageMetadata if found, None otherwise.
|
|
60
|
-
"""
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: aip-agents-binary
|
|
3
|
-
Version: 0.0.0b2
|
|
4
|
-
Summary: A library for managing agents in Gen AI applications.
|
|
5
|
-
Author: Raymond Christopher
|
|
6
|
-
Author-email: raymond.christopher@gdplabs.id
|
|
7
|
-
Requires-Python: >=3.11,<3.14
|
|
8
|
-
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
10
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
11
|
-
Requires-Dist: a2a-sdk (>=0.2.4,<0.2.12)
|
|
12
|
-
Requires-Dist: bosa-connectors-binary (>=0.2.2,<0.3.0)
|
|
13
|
-
Requires-Dist: bosa-core-binary[logger,telemetry] (>=0.5.0,<0.6.0)
|
|
14
|
-
Requires-Dist: boto3 (>=1.35.33,<2.0.0)
|
|
15
|
-
Requires-Dist: colorama (>=0.4.6,<0.5.0)
|
|
16
|
-
Requires-Dist: deprecated (>=1.2.18,<2.0.0)
|
|
17
|
-
Requires-Dist: fastapi (>=0.115.12,<0.116.0)
|
|
18
|
-
Requires-Dist: gllm-core-binary (>=0.3,<0.4)
|
|
19
|
-
Requires-Dist: gllm-inference-binary[anthropic,bedrock,google-genai,google-vertexai,openai] (>=0.5.0,<0.6.0)
|
|
20
|
-
Requires-Dist: gllm-tools-binary (>=0.1.1,<0.2.0)
|
|
21
|
-
Requires-Dist: google-adk (>=0.5.0,<0.6.0)
|
|
22
|
-
Requires-Dist: langchain (>=0.3.0,<0.4.0)
|
|
23
|
-
Requires-Dist: langchain-openai (>=0.3.17,<0.4.0)
|
|
24
|
-
Requires-Dist: langgraph (>=0.2.16,<0.3.0)
|
|
25
|
-
Requires-Dist: minio (>=7.2.16,<8.0.0)
|
|
26
|
-
Requires-Dist: pydantic (>=2.9.1,<3.0.0)
|
|
27
|
-
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
|
|
28
|
-
Requires-Dist: requests (>=2.32.4,<3.0.0)
|
|
29
|
-
Requires-Dist: uvicorn (>=0.34.0,<0.35.0)
|
|
30
|
-
Description-Content-Type: text/markdown
|
|
31
|
-
|
|
32
|
-
# AIP Agents
|
|
33
|
-
|
|
34
|
-
## Description
|
|
35
|
-
|
|
36
|
-
A library for managing agents in Generative AI applications.
|
|
37
|
-
|
|
38
|
-
## Installation
|
|
39
|
-
|
|
40
|
-
### Prerequisites
|
|
41
|
-
- Python 3.13+ - [Install here](https://www.python.org/downloads/)
|
|
42
|
-
- Pip (if using Pip) - [Install here](https://pip.pypa.io/en/stable/installation/)
|
|
43
|
-
- Poetry 1.8.1+ (if using Poetry) - [Install here](https://python-poetry.org/docs/#installation)
|
|
44
|
-
- Git (if using Git) - [Install here](https://git-scm.com/downloads)
|
|
45
|
-
- For git installation:
|
|
46
|
-
- Access to the [GDP Labs SDK github repository](https://github.com/GDP-ADMIN/gen-ai-internal)
|
|
47
|
-
|
|
48
|
-
### 1. Installation from Artifact Registry
|
|
49
|
-
Choose one of the following methods to install the package:
|
|
50
|
-
|
|
51
|
-
#### Using pip
|
|
52
|
-
```bash
|
|
53
|
-
pip install aip-agents-binary
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
#### Using Poetry
|
|
57
|
-
```bash
|
|
58
|
-
poetry add aip-agents-binary
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
### 2. Development Installation (Git)
|
|
62
|
-
For development purposes, you can install directly from the Git repository:
|
|
63
|
-
```bash
|
|
64
|
-
poetry add "git+ssh://git@github.com/GDP-ADMIN/gen-ai-internal.git#subdirectory=libs/aip-agents"
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
## Managing Dependencies
|
|
68
|
-
1. Go to root folder of `aip-agents` module, e.g. `cd libs/aip-agents`.
|
|
69
|
-
2. Run `poetry shell` to create a virtual environment.
|
|
70
|
-
3. Run `poetry lock` to create a lock file if you haven't done it yet.
|
|
71
|
-
4. Run `poetry install` to install the `aip-agents` requirements for the first time.
|
|
72
|
-
5. Run `poetry update` if you update any dependency module version at `pyproject.toml`.
|
|
73
|
-
|
|
74
|
-
## Contributing
|
|
75
|
-
Please refer to this [Python Style Guide](https://docs.google.com/document/d/1uRggCrHnVfDPBnG641FyQBwUwLoFw0kTzNqRm92vUwM/edit?usp=sharing)
|
|
76
|
-
to get information about code style, documentation standard, and SCA that you need to use when contributing to this project
|
|
77
|
-
|
|
78
|
-
1. Activate `pre-commit` hooks using `pre-commit install`
|
|
79
|
-
2. Run `poetry shell` to create a virtual environment.
|
|
80
|
-
3. Run `poetry lock` to create a lock file if you haven't done it yet.
|
|
81
|
-
4. Run `poetry install` to install the `aip-agents` requirements for the first time.
|
|
82
|
-
5. Run `which python` to get the path to be referenced at Visual Studio Code interpreter path (`Ctrl`+`Shift`+`P` or `Cmd`+`Shift`+`P`)
|
|
83
|
-
6. Try running the unit test to see if it's working:
|
|
84
|
-
```bash
|
|
85
|
-
poetry run pytest -s tests/unit_tests/
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
## Hello World Examples
|
|
89
|
-
|
|
90
|
-
### Prerequisites
|
|
91
|
-
- Python 3.13+
|
|
92
|
-
- Install the binary package:
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
pip install aip-agents-binary
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
- For OpenAI: Set your API key in the environment:
|
|
99
|
-
```bash
|
|
100
|
-
export OPENAI_API_KEY=your-openai-key
|
|
101
|
-
```
|
|
102
|
-
- For Google ADK: Set your API key in the environment:
|
|
103
|
-
```bash
|
|
104
|
-
export GOOGLE_API_KEY=your-google-api-key
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### Run the Hello World Examples
|
|
108
|
-
|
|
109
|
-
The example scripts are located in the `aip_agents/examples` directory within the library. You can run them individually or use the `run_all_examples.py` script.
|
|
110
|
-
|
|
111
|
-
**1. Running Individual Examples:**
|
|
112
|
-
|
|
113
|
-
Navigate to the library's root directory (e.g., `libs/aip-agents` if you cloned the repository).
|
|
114
|
-
|
|
115
|
-
**LangGraph (OpenAI):**
|
|
116
|
-
```bash
|
|
117
|
-
python aip_agents/examples/hello_world_langgraph.py
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
**LangGraph with BOSA Connector (OpenAI):**
|
|
121
|
-
```bash
|
|
122
|
-
python aip_agents/examples/hello_world_langgraph_bosa_twitter.py
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
**LangGraph Streaming (OpenAI):**
|
|
126
|
-
```bash
|
|
127
|
-
python aip_agents/examples/hello_world_langgraph_stream.py
|
|
128
|
-
```
|
|
129
|
-
|
|
130
|
-
**LangGraph Multi-Agent Coordinator (OpenAI):**
|
|
131
|
-
```bash
|
|
132
|
-
python aip_agents/examples/hello_world_multi_agent_coordinator.py
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
**Google ADK:**
|
|
136
|
-
```bash
|
|
137
|
-
python aip_agents/examples/hello_world_google_adk.py
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
**Google ADK Streaming:**
|
|
141
|
-
```bash
|
|
142
|
-
python aip_agents/examples/hello_world_google_adk_stream.py
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
**LangChain (OpenAI):**
|
|
146
|
-
```bash
|
|
147
|
-
python aip_agents/examples/hello_world_langchain.py
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
**LangChain Streaming (OpenAI):**
|
|
151
|
-
```bash
|
|
152
|
-
python aip_agents/examples/hello_world_langchain_stream.py
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
**2. Running Individual MCP Examples:**
|
|
156
|
-
|
|
157
|
-
* Navigate to the library's root directory (e.g., `libs/aip-agents` if you cloned the repository).
|
|
158
|
-
* Open a new terminal and navigate to the sample MCP servers directory `libs/aip-agents/aip_agents/examples/mcp_servers`
|
|
159
|
-
|
|
160
|
-
Turn on the SSE MCP servers:
|
|
161
|
-
|
|
162
|
-
```bash
|
|
163
|
-
python mcp_server_sse.py
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
* Open a new terminal and navigate to the sample MCP servers directory `libs/aip-agents/aip_agents/examples/mcp_servers`
|
|
167
|
-
|
|
168
|
-
Turn on the STDIO MCP servers:
|
|
169
|
-
|
|
170
|
-
```bash
|
|
171
|
-
python mcp_server_stdio.py
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
**LangGraph SSE Transport (OpenAI):**
|
|
175
|
-
```bash
|
|
176
|
-
python aip_agents/examples/hello_world_langgraph_mcp_sse.py
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
**LangGraph Streaming SSE Transport (OpenAI):**
|
|
180
|
-
```bash
|
|
181
|
-
python aip_agents/examples/hello_world_langgraph_mcp_sse_stream.py
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
**LangGraph STDIO Transport (OpenAI):**
|
|
185
|
-
```bash
|
|
186
|
-
python aip_agents/examples/hello_world_langgraph_mcp_stdio.py
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
**LangGraph Streaming STDIO Transport (OpenAI):**
|
|
190
|
-
```bash
|
|
191
|
-
python aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.py
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
**Google ADK SSE Transport:**
|
|
195
|
-
```bash
|
|
196
|
-
python aip_agents/examples/hello_world_google_adk_mcp_sse.py
|
|
197
|
-
```
|
|
198
|
-
|
|
199
|
-
**Google ADK Streaming SSE Transport:**
|
|
200
|
-
```bash
|
|
201
|
-
python aip_agents/examples/hello_world_google_adk_mcp_sse_stream.py
|
|
202
|
-
```
|
|
203
|
-
|
|
204
|
-
**Google ADK STDIO Transport:**
|
|
205
|
-
```bash
|
|
206
|
-
python aip_agents/examples/hello_world_google_adk_mcp_stdio.py
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
**Google ADK Streaming STDIO Transport:**
|
|
210
|
-
```bash
|
|
211
|
-
python aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.py
|
|
212
|
-
```
|
|
213
|
-
|
|
214
|
-
**LangChain SSE Transport (OpenAI):**
|
|
215
|
-
```bash
|
|
216
|
-
python aip_agents/examples/hello_world_langchain_mcp_sse.py
|
|
217
|
-
```
|
|
218
|
-
|
|
219
|
-
**LangChain Streaming SSE Transport (OpenAI):**
|
|
220
|
-
```bash
|
|
221
|
-
python aip_agents/examples/hello_world_langchain_mcp_sse_stream.py
|
|
222
|
-
```
|
|
223
|
-
|
|
224
|
-
**LangChain STDIO Transport (OpenAI):**
|
|
225
|
-
```bash
|
|
226
|
-
python aip_agents/examples/hello_world_langchain_mcp_stdio.py
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
**LangChain Streaming STDIO Transport (OpenAI):**
|
|
230
|
-
```bash
|
|
231
|
-
python aip_agents/examples/hello_world_langchain_mcp_stdio_stream.py
|
|
232
|
-
```
|
|
233
|
-
|
|
234
|
-
**3. Running Individual A2A Examples:**
|
|
235
|
-
|
|
236
|
-
* Navigate to the library's root directory (e.g., `libs/aip-agents` if you cloned the repository).
|
|
237
|
-
* Open a new terminal and navigate to the `aip_agents/examples` directory to run the A2A server.
|
|
238
|
-
|
|
239
|
-
**LangChain Server:**
|
|
240
|
-
```bash
|
|
241
|
-
python hello_world_a2a_langchain_server.py
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
* Open a new terminal and navigate to the `aip_agents/examples` directory to run the A2A client.
|
|
245
|
-
|
|
246
|
-
**LangChain Client:**
|
|
247
|
-
```bash
|
|
248
|
-
python hello_world_a2a_langchain_client.py
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
**LangChain Client Integrated with Agent Workflow:**
|
|
252
|
-
```bash
|
|
253
|
-
python hello_world_a2a_langchain_client_agent.py
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
**LangChain Client Streaming:**
|
|
257
|
-
```bash
|
|
258
|
-
python hello_world_a2a_langchain_client_stream.py
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
## Architectural Notes
|
|
263
|
-
|
|
264
|
-
### Agent Interface (`AgentInterface`)
|
|
265
|
-
|
|
266
|
-
The `aip_agents.agent.interface.AgentInterface` class defines a standardized contract for all agent implementations within the AIP Agents ecosystem. It ensures that different agent types (e.g., LangGraph-based, Google ADK-based) expose a consistent set of methods for core operations.
|
|
267
|
-
|
|
268
|
-
Key methods defined by `AgentInterface` typically include:
|
|
269
|
-
- `arun()`: For asynchronous execution of the agent that returns a final consolidated response.
|
|
270
|
-
- `arun_stream()`: For asynchronous execution that streams back partial responses or events from the agent.
|
|
271
|
-
|
|
272
|
-
By adhering to this interface, users can interact with various agents in a uniform way, making it easier to switch between or combine different agent technologies.
|
|
273
|
-
|
|
274
|
-
### Inversion of Control (IoC) / Dependency Injection (DI)
|
|
275
|
-
|
|
276
|
-
The agent implementations (e.g., `LangGraphAgent`, `GoogleADKAgent`) utilize Dependency Injection. For instance, `LangGraphAgent` accepts an `agent_executor` (like one created by LangGraph's `create_react_agent`) in its constructor. Similarly, `GoogleADKAgent` accepts a native `adk_native_agent`. This allows the core execution logic to be provided externally, promoting flexibility and decoupling the agent wrapper from the specific instantiation details of its underlying engine.
|
|
277
|
-
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
aip_agents/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
aip_agents/a2a/__init__.pyi,sha256=WeGl6E8eTuZ694vIro2OmTckxHAon-IlZI0WmF4nCqc,298
|
|
3
|
-
aip_agents/a2a/server/__init__.pyi,sha256=GORCQj-Av3Pl3zXVYlyCKVM5rlH2KWl98qHZBmBUV_w,252
|
|
4
|
-
aip_agents/a2a/server/base_executor.pyi,sha256=uuDTZjSxjoP4rekRf0H2lSrv0EVP_ke9-ER8Z2CZmts,3436
|
|
5
|
-
aip_agents/a2a/server/google_adk_executor.pyi,sha256=Ql85uPINKZfKQzUilxOu9hfZ7-3S7VmTI_Gb6zLaqoU,2581
|
|
6
|
-
aip_agents/a2a/server/langgraph_executor.pyi,sha256=W6xrh5roiXX9BozMaHZ9AKoTGVQkrdU8bjXNXrTjs9k,2339
|
|
7
|
-
aip_agents/a2a/types.pyi,sha256=OUgvHW81GBtMoj0LPCjLYn-iWdrz0rqlze6V142TojM,4347
|
|
8
|
-
aip_agents/agent/__init__.pyi,sha256=jMWFRtbH1eystuJM0Jh_ye1nRBD6JWmp0aM9KAeKFi8,616
|
|
9
|
-
aip_agents/agent/base_agent.pyi,sha256=_TIN_vuWomFxeJ5N2MMJQ5cN5TRUmOanhXzQYM0fh2w,10725
|
|
10
|
-
aip_agents/agent/base_langgraph_agent.pyi,sha256=RNOdu3yac25exQcHb3dA78mM85Tmfbr2pHGDV1g6qAw,8063
|
|
11
|
-
aip_agents/agent/google_adk_agent.pyi,sha256=G3A3RGUjhbGcSRt5TGUaf-THVN1ExpYtwyzeYcmKui8,5825
|
|
12
|
-
aip_agents/agent/interface.pyi,sha256=QChzg2X9BnbCWnCaNAnbut9K6-4yQCgz0L5RONRREJ0,3226
|
|
13
|
-
aip_agents/agent/langgraph_react_agent.pyi,sha256=_XVfa8na4axoT1dqZRroOh_PP9KUr0inKFkYqQobyZc,6799
|
|
14
|
-
aip_agents/agent/types.pyi,sha256=J5l4kxVYpWswpCqWwpvmvpdPa9K8DB_QYuomiV17JWM,4292
|
|
15
|
-
aip_agents/constants.pyi,sha256=DgqMBQR6-4-FRSzR9shbzowlkaxG5Qwq4--OMFCDpAw,129
|
|
16
|
-
aip_agents/examples/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
aip_agents/examples/hello_world_a2a_google_adk_client.pyi,sha256=EG7az1Fv4m6b62fLIvTYrDq9Xm9z5iJlU1FhP2EWm2k,396
|
|
18
|
-
aip_agents/examples/hello_world_a2a_google_adk_client_agent.pyi,sha256=EG7az1Fv4m6b62fLIvTYrDq9Xm9z5iJlU1FhP2EWm2k,396
|
|
19
|
-
aip_agents/examples/hello_world_a2a_google_adk_client_streaming.pyi,sha256=7DRMKUj4spCvZm5zo9BJl5yLjv1zWiWxYQF88K0eZSg,404
|
|
20
|
-
aip_agents/examples/hello_world_a2a_google_adk_server.pyi,sha256=P3MOqpVybqyGysJHCMkUcP4UY_kx1NUWIdFjdofJjCk,407
|
|
21
|
-
aip_agents/examples/hello_world_a2a_langchain_client.pyi,sha256=RKF5IHFxwRxqRfBdniN47ftCyCegiz8NNQLHy1OI9fg,247
|
|
22
|
-
aip_agents/examples/hello_world_a2a_langchain_client_agent.pyi,sha256=RKF5IHFxwRxqRfBdniN47ftCyCegiz8NNQLHy1OI9fg,247
|
|
23
|
-
aip_agents/examples/hello_world_a2a_langchain_client_lm_invoker.pyi,sha256=RKF5IHFxwRxqRfBdniN47ftCyCegiz8NNQLHy1OI9fg,247
|
|
24
|
-
aip_agents/examples/hello_world_a2a_langchain_client_streaming.pyi,sha256=paRTxy_AS5ms3dSE3WMZECLNhv-8AP06gKKVyU5H_1I,263
|
|
25
|
-
aip_agents/examples/hello_world_a2a_langchain_reference_client_streaming.pyi,sha256=Pa6-9mS8mh16p1h5qfGQK9pGDu1JGAMDKb1CFisr5hU,249
|
|
26
|
-
aip_agents/examples/hello_world_a2a_langchain_reference_server.pyi,sha256=Vxnn4UM0d9mvYFi-WHxfBFuer8CTmJzm4-InOcnQ76k,408
|
|
27
|
-
aip_agents/examples/hello_world_a2a_langchain_server.pyi,sha256=9mOXABTu06qUNKlCI9mocibXINK8mzmzt-iVn1OSZ3U,395
|
|
28
|
-
aip_agents/examples/hello_world_a2a_langchain_server_lm_invoker.pyi,sha256=9mOXABTu06qUNKlCI9mocibXINK8mzmzt-iVn1OSZ3U,395
|
|
29
|
-
aip_agents/examples/hello_world_a2a_langgraph_artifact_client.pyi,sha256=Hsks3kW_aUQJvSdpslhFtRm2JCVdvzF_viyoZXWC89o,253
|
|
30
|
-
aip_agents/examples/hello_world_a2a_langgraph_artifact_client_streaming.pyi,sha256=4e1s4glgY1tW9Ecdidchml79x0oiVs5RePJpQ-aE0Tc,263
|
|
31
|
-
aip_agents/examples/hello_world_a2a_langgraph_artifact_server.pyi,sha256=SCIbPgitiVKQjy7rb1N0pdwk--3nHOUY3ICoBLTl-cM,503
|
|
32
|
-
aip_agents/examples/hello_world_a2a_langgraph_client.pyi,sha256=k49nyYAZEmpuYOapNt5srooex_CNgIbonfyFUIcKKBU,379
|
|
33
|
-
aip_agents/examples/hello_world_a2a_langgraph_client_agent.pyi,sha256=k49nyYAZEmpuYOapNt5srooex_CNgIbonfyFUIcKKBU,379
|
|
34
|
-
aip_agents/examples/hello_world_a2a_langgraph_client_agent_lm_invoker.pyi,sha256=RGVfKjXvFMDH6tbl27X4yVFL8iYwoascyL1jkb-_8sw,134
|
|
35
|
-
aip_agents/examples/hello_world_a2a_langgraph_client_streaming.pyi,sha256=PDM7f0Mbcvr35R6jaEH5Sjrvf2MdWQenhZ2g2wInNCI,387
|
|
36
|
-
aip_agents/examples/hello_world_a2a_langgraph_client_streaming_lm_invoker.pyi,sha256=paRTxy_AS5ms3dSE3WMZECLNhv-8AP06gKKVyU5H_1I,263
|
|
37
|
-
aip_agents/examples/hello_world_a2a_langgraph_client_streaming_tool_streaming.pyi,sha256=7KXMh8kj0_Qappu5-9bUExsNbk63yMBJ9bbGZV6zgWw,276
|
|
38
|
-
aip_agents/examples/hello_world_a2a_langgraph_server.pyi,sha256=uh9c0oHILYPngxLMlFpIKakqOyQkfka2Tdx5q1JcnEg,304
|
|
39
|
-
aip_agents/examples/hello_world_a2a_langgraph_server_lm_invoker.pyi,sha256=9mOXABTu06qUNKlCI9mocibXINK8mzmzt-iVn1OSZ3U,395
|
|
40
|
-
aip_agents/examples/hello_world_a2a_langgraph_server_tool_streaming.pyi,sha256=dQnlSvOxoXsh8PEO19wzL18iiMKbiSta4Ksly772TiM,423
|
|
41
|
-
aip_agents/examples/hello_world_a2a_mcp_langgraph.pyi,sha256=INuT-qxF4Fl08l06iKMyPbjY6yAx7ZJn7w4TezQT2iM,1587
|
|
42
|
-
aip_agents/examples/hello_world_a2a_multi_agent_coordinator_client.pyi,sha256=nFhZEHgdFIxdkyZuMfI-DvPTkS1E_OpH1bSo8iWcpRM,690
|
|
43
|
-
aip_agents/examples/hello_world_a2a_multi_agent_coordinator_client_streaming.pyi,sha256=gd088PaFWH4w3mAVbaLOkC4K24cO7JeSiMT0R9w6UHE,248
|
|
44
|
-
aip_agents/examples/hello_world_a2a_multi_agent_coordinator_server.pyi,sha256=jPnjWj2rchvekwzHvpNSJdbyQjyA0YNbqub4K6b3WZE,509
|
|
45
|
-
aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_client.pyi,sha256=z_-f2ZtbC-Ef0vC-GJ1gnjjIkjzWoBNuqDYCBoZy92A,1259
|
|
46
|
-
aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_server.pyi,sha256=n0EOEg6fmOkFJr-_wSthUfKlkG1Amd9iTjUUx-U54rQ,1004
|
|
47
|
-
aip_agents/examples/hello_world_a2a_with_metadata_langchain_client.pyi,sha256=rZRJ60vCa7NPv4mXLGN6_17fjA6ummrwQNc_lPMZsFw,254
|
|
48
|
-
aip_agents/examples/hello_world_a2a_with_metadata_langchain_server_lm_invoker.pyi,sha256=Nkr-Ll-9Xuww-aYIfsFyyAWUyL3_21CrV-AHhh9gNpY,512
|
|
49
|
-
aip_agents/examples/hello_world_google_adk.pyi,sha256=A1FCstQ3E1QlUQIzy867wQU4UIEynsRqWBCVi85HjBc,268
|
|
50
|
-
aip_agents/examples/hello_world_google_adk_mcp_http.pyi,sha256=Fm0YeFhglsrh564siCMUdl5Bit4kbp7Cr5RFX2Aj0yk,286
|
|
51
|
-
aip_agents/examples/hello_world_google_adk_mcp_http_stream.pyi,sha256=DGKzp6WY3oTLOpkfM5ytCiI147yIqGSrwUabPfJm9KQ,300
|
|
52
|
-
aip_agents/examples/hello_world_google_adk_mcp_sse.pyi,sha256=3xVx4f5IKV9t70oVbCVaYVUJCk_ORgTyegeomXdRg0I,272
|
|
53
|
-
aip_agents/examples/hello_world_google_adk_mcp_sse_stream.pyi,sha256=xShSVLqBZLSQzMCUGt91KnG7Eg92-9Ih7gR4YOZUvhI,286
|
|
54
|
-
aip_agents/examples/hello_world_google_adk_mcp_stdio.pyi,sha256=2vsm8260EtupgUDzXY1TihkHom81FQFzSgzT30Bq44o,278
|
|
55
|
-
aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.pyi,sha256=erDwifJBQhYxPZl5UdSjDBuHG5ijgO_F8zotWI0oZpA,292
|
|
56
|
-
aip_agents/examples/hello_world_google_adk_stream.pyi,sha256=g3LSA24-OA_wahaantU0ughPEddDqgIlscV3XESDNbw,282
|
|
57
|
-
aip_agents/examples/hello_world_langchain.pyi,sha256=TUaJYQQTAPy6XlY3gapm3Xhze_76kKasjjQtBq28syI,256
|
|
58
|
-
aip_agents/examples/hello_world_langchain_lm_invoker.pyi,sha256=frOXncDtQONTsnAkER4B5AwN9IbVaFA81YMM7iq5Tp4,154
|
|
59
|
-
aip_agents/examples/hello_world_langchain_mcp_http.pyi,sha256=8-7weQvIcjzVZFj46tqO7AVkVbOYVvGVri_3cdQ01vY,269
|
|
60
|
-
aip_agents/examples/hello_world_langchain_mcp_http_stream.pyi,sha256=qb2j4vNrlqFb3Gy5ligS6s_7mVljrxljQD_jI5Sd4xk,296
|
|
61
|
-
aip_agents/examples/hello_world_langchain_mcp_sse.pyi,sha256=WNOWiK4xgWmL1cSWdgkmE_z5wE1xswW3sdBqfQPVdjg,255
|
|
62
|
-
aip_agents/examples/hello_world_langchain_mcp_sse_stream.pyi,sha256=RODuVKyxOJ3uFoifbya37FEVHEVbpn-04FHOiQywzf4,282
|
|
63
|
-
aip_agents/examples/hello_world_langchain_mcp_stdio.pyi,sha256=N9FAcX_e38xRg8XmjIDb4DcWyLvv-v6XMX8rOyIQ2tE,261
|
|
64
|
-
aip_agents/examples/hello_world_langchain_mcp_stdio_stream.pyi,sha256=e5BI4ElJVjcZET1gZmEMFUBn3SilIH5yynRSB6-YttI,288
|
|
65
|
-
aip_agents/examples/hello_world_langchain_stream.pyi,sha256=8Z3hmC4-Cl-wM-1Iqw7qmMdDt_8lbKeqEdG16ExpZMQ,291
|
|
66
|
-
aip_agents/examples/hello_world_langchain_stream_lm_invoker.pyi,sha256=8Z3hmC4-Cl-wM-1Iqw7qmMdDt_8lbKeqEdG16ExpZMQ,291
|
|
67
|
-
aip_agents/examples/hello_world_langgraph.pyi,sha256=nCbikXhA0CFeIgDFoD4UcwkAXvEUUgwZCUXwc8jLWno,256
|
|
68
|
-
aip_agents/examples/hello_world_langgraph_bosa.pyi,sha256=aJfR-Liov-IaHMBDCEi3DmPJAKWj7IhWv8dX_ROUxS0,287
|
|
69
|
-
aip_agents/examples/hello_world_langgraph_bosa_twitter.pyi,sha256=J1GU1IYl7xi_ML-EC-YTHANlQt-u2o_W7ToIpRGKz6Q,243
|
|
70
|
-
aip_agents/examples/hello_world_langgraph_mcp_http.pyi,sha256=M1LXhrQOUDquRcGOWOtu_tbnjcOU0qtmEvizDa1H4PA,269
|
|
71
|
-
aip_agents/examples/hello_world_langgraph_mcp_http_stream.pyi,sha256=jeGbAQRvodjgtjVQaiWVdkKomJwHKPnWVu0TeJacF5I,296
|
|
72
|
-
aip_agents/examples/hello_world_langgraph_mcp_sse.pyi,sha256=MYtowC23_NlTiwiewuCI75_btRjvpntFfpNUJv5Auuc,255
|
|
73
|
-
aip_agents/examples/hello_world_langgraph_mcp_sse_stream.pyi,sha256=C3eYaaWQlZo_8nydNDk5rlt7-YrliJfJiKU-p6h_rBM,282
|
|
74
|
-
aip_agents/examples/hello_world_langgraph_mcp_stdio.pyi,sha256=I-rePYZW6jGxmGVTZ7nm3Mcd2y-fSvm06L0mvMwFO_U,261
|
|
75
|
-
aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.pyi,sha256=BV__YOJAsERaSGQjfLkfM2JuY-9QiBAc0teVILZid1s,275
|
|
76
|
-
aip_agents/examples/hello_world_langgraph_stream.pyi,sha256=R19-AF0jST2PODu6n5o83zRB2zwVYAS7jEb4f1g1XOU,270
|
|
77
|
-
aip_agents/examples/hello_world_langgraph_stream_lm_invoker.pyi,sha256=rjWwUmWHbB41I9F6R0r_tmUl8U41hJT_7Xdj6J1CMeU,271
|
|
78
|
-
aip_agents/examples/hello_world_model_switch_cli.pyi,sha256=8IAuuaFyWBHwHk5dGImiNxz7mO6xHdUnB29XT4toSGU,560
|
|
79
|
-
aip_agents/examples/hello_world_multi_agent_adk.pyi,sha256=Gi0iiVkXTZY6QiTOLyeFV0gEChos7OrBT3_40wAD10s,364
|
|
80
|
-
aip_agents/examples/hello_world_multi_agent_langchain.pyi,sha256=FokZVjJFURZOC0B9rlVE3lGOBP5_XlDa4DnDbg5XTFk,267
|
|
81
|
-
aip_agents/examples/hello_world_multi_agent_langgraph.pyi,sha256=loWwJwDbzV_PFU8J_Tn-ObjNQZjxr0A3j7Wk_0-6c9U,267
|
|
82
|
-
aip_agents/examples/hello_world_multi_agent_langgraph_lm_invoker.pyi,sha256=OHkTLSqRAM7TOZEp6TH5dsPq9zbpi9UA_l0rDIrqFlM,257
|
|
83
|
-
aip_agents/examples/hello_world_pii_logger.pyi,sha256=pxvK-iEROTaTH5PysAXWE0Af0w_0BrhOuExU5ZIOoVA,153
|
|
84
|
-
aip_agents/examples/hello_world_sentry.pyi,sha256=b06qvRiy_v7PrSO_LKmXVoeI5tpNQs1bykHkIELohQs,706
|
|
85
|
-
aip_agents/examples/hello_world_stock_a2a_server.pyi,sha256=SoKBkPrMzaPX6GYbletjPORv78pUtkHb1YCnaurdycM,571
|
|
86
|
-
aip_agents/examples/hello_world_tool_output_client.pyi,sha256=EK6B_fw92CDGBJ_bTR0NsLE-uE4UHRDJZU_k2hPMp-o,244
|
|
87
|
-
aip_agents/examples/hello_world_tool_output_server.pyi,sha256=Kn0OG5nX1ssielk2uOMemgsqMLZu3hIvVFl5DvnNaKA,882
|
|
88
|
-
aip_agents/examples/tools/__init__.pyi,sha256=RD-WOdTR3zbwZKkSUcBrDyMCUVXtSgqJxuzHQwEdNMU,592
|
|
89
|
-
aip_agents/examples/tools/adk_arithmetic_tools.pyi,sha256=uxzknHYYwvbaknzLT9pvpnkAsz_EdCsfNFiCxgfOpDo,730
|
|
90
|
-
aip_agents/examples/tools/adk_weather_tool.pyi,sha256=aV_bNU9XI0ei9t34BJGKtpqe24rzUlTu6k9ZDV8u2Oc,562
|
|
91
|
-
aip_agents/examples/tools/data_generator_tool.pyi,sha256=ucpsIpamiyzQqDjg7gbP-AivxbgES7xINBz-kY2_VOc,464
|
|
92
|
-
aip_agents/examples/tools/data_visualization_tool.pyi,sha256=L1LwiOZQBn58Yju1isCxtvdESDsafEOYZdJxVthAa6E,574
|
|
93
|
-
aip_agents/examples/tools/image_artifact_tool.pyi,sha256=0NW_2VXi-tZJA4ef9JXKmgBZSe0HGgcog5xIoXdS-7c,870
|
|
94
|
-
aip_agents/examples/tools/langchain_arithmetic_tools.pyi,sha256=2j1xTX3qZvhW3I9G8t4k9Wc0rEh6DYEzcIv23Ur3gWI,252
|
|
95
|
-
aip_agents/examples/tools/langchain_currency_exchange_tool.pyi,sha256=DH50hPo_xk6a7CVOIxupvJ-79WrLLTI13tP_iKX8t1A,639
|
|
96
|
-
aip_agents/examples/tools/langchain_graph_artifact_tool.pyi,sha256=HNsp0X3U4BuTlDltu62lGA7K8cSPzFZZO75EAK2Y4fk,758
|
|
97
|
-
aip_agents/examples/tools/langchain_weather_tool.pyi,sha256=4f9mfCADk5AcXvYJZ0VasDuGdGmJ814v_gh8H8lP3Lo,498
|
|
98
|
-
aip_agents/examples/tools/langgraph_streaming_tool.pyi,sha256=G-l0kW3ZUOZsBZ-DrxnhLzhpXFJPV26W9c0VccfaZW8,1720
|
|
99
|
-
aip_agents/examples/tools/pr_details_bosa_tool.pyi,sha256=618hVCLownYyo9adesCJPO1ey49PjgEt8fhIdnlAq-w,958
|
|
100
|
-
aip_agents/examples/tools/serper_tool.pyi,sha256=NSAV7iiTX9J-oi0j_-Lsrafq1aniPWx_YPjY_CAkjJw,451
|
|
101
|
-
aip_agents/examples/tools/stock_tools.pyi,sha256=GfbAHUtAI6xss_KMtcEqYpmvZMx8tqkp3dHAZ9zzS8g,666
|
|
102
|
-
aip_agents/examples/tools/table_generator_tool.pyi,sha256=_hdVWGTTd0HvR6gQ5O3X2bELWpEW--m5VSzehJ_Y0kw,776
|
|
103
|
-
aip_agents/examples/tools/time_tool.pyi,sha256=NyPzggDwpzcwGt7YP6NkGjtFBE4fO_-nrO8hO-hl7hY,372
|
|
104
|
-
aip_agents/examples/tools/weather_forecast_tool.pyi,sha256=UR5XFHI7yWpSJ-TjLfXdy0P-DsfHRvdXJwWKBSMYoxk,389
|
|
105
|
-
aip_agents/mcp/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
-
aip_agents/mcp/client/__init__.pyi,sha256=3IvkqmGn8AQYFqkcx48dxTFZa4irWCR8zZSE1HLOfOA,203
|
|
107
|
-
aip_agents/mcp/client/google_adk/__init__.pyi,sha256=hXoWSuJPx6N_mJmTNvip1lPJLbfr15QzucEf4GaLPGc,98
|
|
108
|
-
aip_agents/mcp/client/google_adk/client.pyi,sha256=Zcg0LV5JL-lx5aLiH546GdDSf9YIygkkpqnTbrwj0Kc,1539
|
|
109
|
-
aip_agents/mcp/client/langchain/__init__.pyi,sha256=j30-G8Jk9FvF5_FLSGohqX0Avyo9hbxiQbRv-Tp_in8,98
|
|
110
|
-
aip_agents/mcp/client/langchain/client.pyi,sha256=4tTZkg7HrVlzvqUhg9TMxMevFB0ChLo78HwG14Wi8XI,129
|
|
111
|
-
aip_agents/memory/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
112
|
-
aip_agents/memory/base.pyi,sha256=-k5q5gtgCHpwLV8g9aCSEESNLWoDHYQPFqbJdCRYVhU,1717
|
|
113
|
-
aip_agents/memory/simple_memory.pyi,sha256=ghdwS3i7GvOJa_x-hw8GHdUvfnkl9mfACMhg50iLjpE,1066
|
|
114
|
-
aip_agents/sentry/__init__.pyi,sha256=2OijqJoooSg33E8me_lHzUoMk1h-uo_I5rUI_PakjVs,89
|
|
115
|
-
aip_agents/sentry/sentry.pyi,sha256=7S6LRHwxSl0Gr2nwNP50VomecKnxQbqKJdkNQ1U-Iz8,1509
|
|
116
|
-
aip_agents/storage/__init__.pyi,sha256=jVVcK1_V657EPjpZn5y_jcn-HbiiqMPG9oLIbeVaUlI,909
|
|
117
|
-
aip_agents/storage/base.pyi,sha256=9efNJ2e3sN14Lv9hQqjjsHWMMS6i-yV_S2hkCjtVvTg,2080
|
|
118
|
-
aip_agents/storage/clients/__init__.pyi,sha256=wyrNY-zTuXbGjnroapTdVNyBTQclppy_djvr5BWGVH0,173
|
|
119
|
-
aip_agents/storage/clients/minio_client.pyi,sha256=I3UQlBX6xWiX4BcPqyUoC8PemBN_jLQ2XQ6jLloGmBM,4814
|
|
120
|
-
aip_agents/storage/config.pyi,sha256=PRfI1h-s2EFA60xCaCB2kO0FQwv-576-99bQWU37Evg,2525
|
|
121
|
-
aip_agents/storage/providers/__init__.pyi,sha256=_sJaEnLl999k86j38dm-RelHiYhmLfmdPYW0xm2g2tc,429
|
|
122
|
-
aip_agents/storage/providers/base.pyi,sha256=o5h_mukW1mrsLJkJvySO0rNgG8Ej0dJ6uQFXeUuVWOM,2451
|
|
123
|
-
aip_agents/storage/providers/memory.pyi,sha256=NpsqKzboQGWtxtFV1ch_C3KT0KHOLyac6TtBgkLRgjI,2188
|
|
124
|
-
aip_agents/storage/providers/object_storage.pyi,sha256=XRzNsMS1OcIkXlDHSdmRZq9ItffcZB-xNkD1EsUoPGQ,2990
|
|
125
|
-
aip_agents/tools/__init__.pyi,sha256=CRKc5cUccJd4kgK0_D41GZGkEUdMmG1bk6hJA9VQL14,108
|
|
126
|
-
aip_agents/tools/base.pyi,sha256=Fg04c-7S4YErPmwIBAthCkunS5znalyzYHX5eCv4-V8,1568
|
|
127
|
-
aip_agents/tools/base_bosa_tools.pyi,sha256=9rXmFVWG-SC9_pSN-FOYkRiBbAzcILKfy_BTjTTGdiI,676
|
|
128
|
-
aip_agents/tools/bosa_connector.pyi,sha256=oZkLlSIwLUPq0w9eGYt1ZbF9OINayZse7Z1hfm7vgJQ,1155
|
|
129
|
-
aip_agents/tools/bosa_tools.pyi,sha256=wBsTuQRLGbGINijSMO39qHlInMnCH6BofHLL86_e-fI,1157
|
|
130
|
-
aip_agents/tools/bosa_tools_interface.pyi,sha256=MMc6rNSyYQ6RA_XeWawu7gN9YqWrCtFxdHgeN_zHr5k,982
|
|
131
|
-
aip_agents/tools/constants.pyi,sha256=-I1dP7ql109PC8usmTddYbIsb9De0-zPNSwgnxGmhl4,4923
|
|
132
|
-
aip_agents/tools/nested_agent_tool.pyi,sha256=mtau41Y7ZIPtyN581MfhocnUMHFdXtBtgHv5e_mMc6g,1966
|
|
133
|
-
aip_agents/tools/tool_config_injector.pyi,sha256=9m6SDm3cq9fm3BvL2E1Q4_h_Vt9kY3VANB9edDnY8x4,1081
|
|
134
|
-
aip_agents/types/__init__.pyi,sha256=RtSxfV9z9CYFoLL1fDM3m3DFAsZFcVRyKRd9QV7Oi7c,250
|
|
135
|
-
aip_agents/types/a2a_events.pyi,sha256=Ah7LBvlkr2SMtkToRFK9YJvBWzMxEP44aKoTi59E0Ys,2820
|
|
136
|
-
aip_agents/utils/__init__.pyi,sha256=8WbGYueTRy_RpYc45c7aVuzYMRWuKi9ahaE48W79xE4,888
|
|
137
|
-
aip_agents/utils/a2a_connector.pyi,sha256=iTXPQ6b-53AJ9DTqOzcGxmjTLsFEppeM0NGNVfhznQY,6953
|
|
138
|
-
aip_agents/utils/artifact_helpers.pyi,sha256=DLPU-yrPa4F1XVBZJTiiWLX_K05RJjJBUU-Pe1SZoEM,8510
|
|
139
|
-
aip_agents/utils/langgraph/__init__.pyi,sha256=FatR5jsVWWJ5Jw0UreaSHqYwk21xHEf4z36iBpE7N14,616
|
|
140
|
-
aip_agents/utils/langgraph/converter.pyi,sha256=yr8MKZKSr2bc4Sp0Vha6AMrnWWAKX2DVUsdoYfzD13k,2025
|
|
141
|
-
aip_agents/utils/langgraph/tool_managers/__init__.pyi,sha256=ts9bnhpknKjOIIX2faLwYPMejq7Rn0mHZnwves5kBlQ,439
|
|
142
|
-
aip_agents/utils/langgraph/tool_managers/a2a_tool_manager.pyi,sha256=LnESbGIGgQXWfQrEJUdYk9xelYKcfmbTaf10xArlam0,1460
|
|
143
|
-
aip_agents/utils/langgraph/tool_managers/base_tool_manager.pyi,sha256=Hhk6-74nGWuoDAT9xuxO_hOtS-8gbDpDKCjTNmvEBbg,1608
|
|
144
|
-
aip_agents/utils/langgraph/tool_managers/delegation_tool_manager.pyi,sha256=k4R1l8Gt78tNv5Yu2sSKln2uqRywddxjnEgEMVFKtFI,2419
|
|
145
|
-
aip_agents/utils/langgraph/tool_output_management.pyi,sha256=SFf-ZQBcSMut7UGNnwOr_GVLw5bxiAAkq-93oifsuA4,13571
|
|
146
|
-
aip_agents/utils/logger_manager.pyi,sha256=Q-7rIo6_jfshXTM2vutIoHG2BwGpCJS4eSKTFa_a5tg,4997
|
|
147
|
-
aip_agents/utils/metadata_helper.pyi,sha256=HY5RhwAWVDC0hotkR4F33Hepkrswq1o-NPPciHQS5ws,4442
|
|
148
|
-
aip_agents/utils/name_preprocessor/__init__.pyi,sha256=QBaeKtxcZWBogSHAT5cNEkaqAihY3_wuuLStE0HsEZk,573
|
|
149
|
-
aip_agents/utils/name_preprocessor/base_name_preprocessor.pyi,sha256=q6tvJqBbmV6e1c5BVC5yVOxCC-FEh-Pm_-crrUX3V8o,1672
|
|
150
|
-
aip_agents/utils/name_preprocessor/google_name_preprocessor.pyi,sha256=MFq6EEOtooU5iWw3YxK1_8ECx4yKi3k3QSHwPO6pyHo,1534
|
|
151
|
-
aip_agents/utils/name_preprocessor/name_preprocessor.pyi,sha256=nWGfRf1MzgAz_qEZkN78WoHvOIDz4kPhrmj3LgcJUV0,1424
|
|
152
|
-
aip_agents/utils/name_preprocessor/openai_name_preprocessor.pyi,sha256=ExO_eznLiqZ-VRxNYa05QhWX-0iumi0YxUeYCMCWTbc,1283
|
|
153
|
-
aip_agents/utils/reference_helper.pyi,sha256=2eZTFXnY9yLyn-hdcy6Hh6_jHb49fvJLVf2rWuWx1yk,1732
|
|
154
|
-
aip_agents/utils/token_usage_helper.pyi,sha256=vzTlNkq_gWE-021HrN8BgDzWNuB6zNRU7ysyKXiBDbM,2202
|
|
155
|
-
aip_agents_binary-0.0.0b2.dist-info/METADATA,sha256=2-7SR_BrXB4ieyQLCEMr3zMHBR9Djsvm8KmZvZ480YM,9035
|
|
156
|
-
aip_agents_binary-0.0.0b2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
157
|
-
aip_agents_binary-0.0.0b2.dist-info/RECORD,,
|