aip-agents-binary 0.5.15__py3-none-any.whl → 0.5.17__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/tools/document_loader/__init__.py +8 -1
- aip_agents/tools/document_loader/base_reader.py +42 -2
- aip_agents/tools/document_loader/docx_reader_tool.py +17 -2
- aip_agents/tools/document_loader/excel_reader_tool.py +14 -3
- aip_agents/tools/document_loader/pdf_reader_tool.py +17 -5
- {aip_agents_binary-0.5.15.dist-info → aip_agents_binary-0.5.17.dist-info}/METADATA +2 -4
- aip_agents_binary-0.5.17.dist-info/RECORD +279 -0
- aip_agents/__init__.pyi +0 -19
- aip_agents/a2a/__init__.pyi +0 -3
- aip_agents/a2a/server/__init__.pyi +0 -4
- aip_agents/a2a/server/base_executor.pyi +0 -73
- aip_agents/a2a/server/google_adk_executor.pyi +0 -51
- aip_agents/a2a/server/langflow_executor.pyi +0 -43
- aip_agents/a2a/server/langgraph_executor.pyi +0 -47
- aip_agents/a2a/types.pyi +0 -132
- aip_agents/agent/__init__.pyi +0 -9
- aip_agents/agent/base_agent.pyi +0 -221
- aip_agents/agent/base_langgraph_agent.pyi +0 -232
- aip_agents/agent/google_adk_agent.pyi +0 -141
- aip_agents/agent/google_adk_constants.pyi +0 -3
- aip_agents/agent/hitl/__init__.pyi +0 -6
- aip_agents/agent/hitl/config.pyi +0 -15
- aip_agents/agent/hitl/langgraph_hitl_mixin.pyi +0 -42
- aip_agents/agent/hitl/manager.pyi +0 -200
- aip_agents/agent/hitl/models.pyi +0 -3
- aip_agents/agent/hitl/prompt/__init__.pyi +0 -4
- aip_agents/agent/hitl/prompt/base.pyi +0 -24
- aip_agents/agent/hitl/prompt/deferred.pyi +0 -30
- aip_agents/agent/hitl/registry.pyi +0 -101
- aip_agents/agent/interface.pyi +0 -81
- aip_agents/agent/interfaces.pyi +0 -44
- aip_agents/agent/langflow_agent.pyi +0 -133
- aip_agents/agent/langgraph_memory_enhancer_agent.pyi +0 -49
- aip_agents/agent/langgraph_react_agent.pyi +0 -126
- aip_agents/agent/system_instruction_context.pyi +0 -13
- aip_agents/clients/__init__.pyi +0 -4
- aip_agents/clients/langflow/__init__.pyi +0 -4
- aip_agents/clients/langflow/client.pyi +0 -140
- aip_agents/clients/langflow/types.pyi +0 -7
- aip_agents/constants.pyi +0 -7
- aip_agents/examples/__init__.pyi +0 -0
- aip_agents/examples/compare_streaming_client.pyi +0 -48
- aip_agents/examples/compare_streaming_server.pyi +0 -18
- aip_agents/examples/demo_memory_recall.pyi +0 -58
- 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 -15
- 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 -15
- aip_agents/examples/hello_world_a2a_langchain_server.pyi +0 -15
- aip_agents/examples/hello_world_a2a_langchain_server_lm_invoker.pyi +0 -15
- aip_agents/examples/hello_world_a2a_langflow_client.pyi +0 -9
- aip_agents/examples/hello_world_a2a_langflow_server.pyi +0 -14
- 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 -16
- 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 -14
- aip_agents/examples/hello_world_a2a_langgraph_server_lm_invoker.pyi +0 -15
- aip_agents/examples/hello_world_a2a_langgraph_server_tool_streaming.pyi +0 -15
- aip_agents/examples/hello_world_a2a_mcp_langgraph.pyi +0 -48
- aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_client.pyi +0 -48
- aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_server.pyi +0 -45
- 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 -15
- 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_interactive.pyi +0 -16
- aip_agents/examples/hello_world_langchain_mcp_http_stream.pyi +0 -5
- aip_agents/examples/hello_world_langchain_mcp_multi_server.pyi +0 -18
- 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_langflow_agent.pyi +0 -35
- aip_agents/examples/hello_world_langgraph.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 -30
- 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_step_limits.pyi +0 -17
- aip_agents/examples/hello_world_stock_a2a_server.pyi +0 -17
- aip_agents/examples/hello_world_tool_output_client.pyi +0 -5
- aip_agents/examples/hello_world_tool_output_server.pyi +0 -19
- aip_agents/examples/hitl_demo.pyi +0 -67
- aip_agents/examples/pii_demo_langgraph_client.pyi +0 -5
- aip_agents/examples/pii_demo_langgraph_server.pyi +0 -20
- aip_agents/examples/pii_demo_multi_agent_client.pyi +0 -5
- aip_agents/examples/pii_demo_multi_agent_server.pyi +0 -40
- aip_agents/examples/todolist_planning_a2a_langchain_client.pyi +0 -5
- aip_agents/examples/todolist_planning_a2a_langgraph_server.pyi +0 -19
- aip_agents/examples/tools/__init__.pyi +0 -9
- aip_agents/examples/tools/adk_arithmetic_tools.pyi +0 -24
- 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 -19
- aip_agents/examples/tools/image_artifact_tool.pyi +0 -26
- aip_agents/examples/tools/langchain_arithmetic_tools.pyi +0 -17
- aip_agents/examples/tools/langchain_currency_exchange_tool.pyi +0 -20
- aip_agents/examples/tools/langchain_graph_artifact_tool.pyi +0 -25
- aip_agents/examples/tools/langchain_weather_tool.pyi +0 -19
- aip_agents/examples/tools/langgraph_streaming_tool.pyi +0 -43
- aip_agents/examples/tools/mock_retrieval_tool.pyi +0 -13
- aip_agents/examples/tools/pii_demo_tools.pyi +0 -54
- aip_agents/examples/tools/random_chart_tool.pyi +0 -20
- aip_agents/examples/tools/serper_tool.pyi +0 -16
- aip_agents/examples/tools/stock_tools.pyi +0 -36
- 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 -5
- aip_agents/mcp/client/base_mcp_client.pyi +0 -148
- aip_agents/mcp/client/connection_manager.pyi +0 -48
- aip_agents/mcp/client/google_adk/__init__.pyi +0 -3
- aip_agents/mcp/client/google_adk/client.pyi +0 -75
- aip_agents/mcp/client/langchain/__init__.pyi +0 -3
- aip_agents/mcp/client/langchain/client.pyi +0 -48
- aip_agents/mcp/client/persistent_session.pyi +0 -113
- aip_agents/mcp/client/session_pool.pyi +0 -101
- aip_agents/mcp/client/transports.pyi +0 -123
- aip_agents/mcp/utils/__init__.pyi +0 -0
- aip_agents/mcp/utils/config_validator.pyi +0 -82
- aip_agents/memory/__init__.pyi +0 -5
- aip_agents/memory/adapters/__init__.pyi +0 -4
- aip_agents/memory/adapters/base_adapter.pyi +0 -150
- aip_agents/memory/adapters/mem0.pyi +0 -22
- aip_agents/memory/base.pyi +0 -60
- aip_agents/memory/constants.pyi +0 -25
- aip_agents/memory/factory.pyi +0 -24
- aip_agents/memory/guidance.pyi +0 -3
- aip_agents/memory/simple_memory.pyi +0 -23
- aip_agents/middleware/__init__.pyi +0 -5
- aip_agents/middleware/base.pyi +0 -71
- aip_agents/middleware/manager.pyi +0 -80
- aip_agents/middleware/todolist.pyi +0 -125
- aip_agents/schema/__init__.pyi +0 -9
- aip_agents/schema/a2a.pyi +0 -40
- aip_agents/schema/agent.pyi +0 -65
- aip_agents/schema/hitl.pyi +0 -89
- aip_agents/schema/langgraph.pyi +0 -28
- aip_agents/schema/model_id.pyi +0 -54
- aip_agents/schema/step_limit.pyi +0 -63
- aip_agents/schema/storage.pyi +0 -21
- aip_agents/sentry/__init__.pyi +0 -3
- aip_agents/sentry/sentry.pyi +0 -48
- aip_agents/storage/__init__.pyi +0 -8
- aip_agents/storage/base.pyi +0 -58
- aip_agents/storage/clients/__init__.pyi +0 -3
- aip_agents/storage/clients/minio_client.pyi +0 -137
- aip_agents/storage/config.pyi +0 -29
- aip_agents/storage/providers/__init__.pyi +0 -5
- aip_agents/storage/providers/base.pyi +0 -88
- aip_agents/storage/providers/memory.pyi +0 -79
- aip_agents/storage/providers/object_storage.pyi +0 -98
- aip_agents/tools/__init__.pyi +0 -4
- aip_agents/tools/bosa_tools.pyi +0 -37
- aip_agents/tools/browser_use/__init__.pyi +0 -14
- aip_agents/tools/browser_use/action_parser.pyi +0 -18
- aip_agents/tools/browser_use/browser_use_tool.pyi +0 -50
- aip_agents/tools/browser_use/llm_config.pyi +0 -52
- aip_agents/tools/browser_use/minio_storage.pyi +0 -109
- aip_agents/tools/browser_use/schemas.pyi +0 -32
- aip_agents/tools/browser_use/session.pyi +0 -4
- aip_agents/tools/browser_use/session_errors.pyi +0 -53
- aip_agents/tools/browser_use/steel_session_recording.pyi +0 -63
- aip_agents/tools/browser_use/streaming.pyi +0 -81
- aip_agents/tools/browser_use/structured_data_parser.pyi +0 -86
- aip_agents/tools/browser_use/structured_data_recovery.pyi +0 -43
- aip_agents/tools/browser_use/types.pyi +0 -45
- aip_agents/tools/code_sandbox/__init__.pyi +0 -3
- aip_agents/tools/code_sandbox/constant.pyi +0 -4
- aip_agents/tools/code_sandbox/e2b_cloud_sandbox_extended.pyi +0 -86
- aip_agents/tools/code_sandbox/e2b_sandbox_tool.pyi +0 -29
- aip_agents/tools/constants.pyi +0 -135
- aip_agents/tools/document_loader/__init__.pyi +0 -7
- aip_agents/tools/document_loader/base_reader.pyi +0 -62
- aip_agents/tools/document_loader/docx_reader_tool.pyi +0 -6
- aip_agents/tools/document_loader/excel_reader_tool.pyi +0 -26
- aip_agents/tools/document_loader/pdf_reader_tool.pyi +0 -11
- aip_agents/tools/document_loader/pdf_splitter.pyi +0 -18
- aip_agents/tools/gl_connector/__init__.pyi +0 -3
- aip_agents/tools/gl_connector/tool.pyi +0 -74
- aip_agents/tools/memory_search/__init__.pyi +0 -5
- aip_agents/tools/memory_search/base.pyi +0 -69
- aip_agents/tools/memory_search/mem0.pyi +0 -19
- aip_agents/tools/memory_search/schema.pyi +0 -15
- aip_agents/tools/memory_search_tool.pyi +0 -3
- aip_agents/tools/tool_config_injector.pyi +0 -26
- aip_agents/tools/web_search/__init__.pyi +0 -3
- aip_agents/tools/web_search/serper_tool.pyi +0 -19
- aip_agents/types/__init__.pyi +0 -36
- aip_agents/types/a2a_events.pyi +0 -3
- aip_agents/utils/__init__.pyi +0 -11
- aip_agents/utils/a2a_connector.pyi +0 -146
- aip_agents/utils/artifact_helpers.pyi +0 -203
- aip_agents/utils/constants.pyi +0 -10
- aip_agents/utils/datetime/__init__.pyi +0 -4
- aip_agents/utils/datetime/normalization.pyi +0 -95
- aip_agents/utils/datetime/timezone.pyi +0 -48
- aip_agents/utils/env_loader.pyi +0 -10
- aip_agents/utils/event_handler_registry.pyi +0 -23
- aip_agents/utils/file_prompt_utils.pyi +0 -21
- aip_agents/utils/final_response_builder.pyi +0 -34
- aip_agents/utils/formatter_llm_client.pyi +0 -71
- 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/base_tool_manager.pyi +0 -48
- aip_agents/utils/langgraph/tool_managers/delegation_tool_manager.pyi +0 -56
- aip_agents/utils/langgraph/tool_output_management.pyi +0 -292
- aip_agents/utils/logger.pyi +0 -60
- aip_agents/utils/metadata/__init__.pyi +0 -5
- aip_agents/utils/metadata/activity_metadata_helper.pyi +0 -25
- aip_agents/utils/metadata/activity_narrative/__init__.pyi +0 -7
- aip_agents/utils/metadata/activity_narrative/builder.pyi +0 -35
- aip_agents/utils/metadata/activity_narrative/constants.pyi +0 -10
- aip_agents/utils/metadata/activity_narrative/context.pyi +0 -32
- aip_agents/utils/metadata/activity_narrative/formatters.pyi +0 -48
- aip_agents/utils/metadata/activity_narrative/utils.pyi +0 -12
- aip_agents/utils/metadata/schemas/__init__.pyi +0 -4
- aip_agents/utils/metadata/schemas/activity_schema.pyi +0 -18
- aip_agents/utils/metadata/schemas/thinking_schema.pyi +0 -20
- aip_agents/utils/metadata/thinking_metadata_helper.pyi +0 -4
- aip_agents/utils/metadata_helper.pyi +0 -117
- aip_agents/utils/name_preprocessor/__init__.pyi +0 -6
- aip_agents/utils/name_preprocessor/base_name_preprocessor.pyi +0 -52
- aip_agents/utils/name_preprocessor/google_name_preprocessor.pyi +0 -38
- aip_agents/utils/name_preprocessor/name_preprocessor.pyi +0 -41
- aip_agents/utils/name_preprocessor/openai_name_preprocessor.pyi +0 -34
- aip_agents/utils/pii/__init__.pyi +0 -5
- aip_agents/utils/pii/pii_handler.pyi +0 -96
- aip_agents/utils/pii/pii_helper.pyi +0 -78
- aip_agents/utils/pii/uuid_deanonymizer_mapping.pyi +0 -73
- aip_agents/utils/reference_helper.pyi +0 -81
- aip_agents/utils/sse_chunk_transformer.pyi +0 -166
- aip_agents/utils/step_limit_manager.pyi +0 -112
- aip_agents/utils/token_usage_helper.pyi +0 -60
- aip_agents_binary-0.5.15.dist-info/RECORD +0 -544
- {aip_agents_binary-0.5.15.dist-info → aip_agents_binary-0.5.17.dist-info}/WHEEL +0 -0
- {aip_agents_binary-0.5.15.dist-info → aip_agents_binary-0.5.17.dist-info}/top_level.txt +0 -0
|
@@ -12,6 +12,8 @@ References:
|
|
|
12
12
|
|
|
13
13
|
try:
|
|
14
14
|
from aip_agents.tools.document_loader.base_reader import ( # noqa: F401
|
|
15
|
+
DOCPROC_AVAILABLE,
|
|
16
|
+
DOCPROC_MISSING_MESSAGE,
|
|
15
17
|
BaseDocumentReaderTool,
|
|
16
18
|
DocumentReaderInput,
|
|
17
19
|
)
|
|
@@ -28,10 +30,15 @@ try:
|
|
|
28
30
|
"ExcelReaderTool",
|
|
29
31
|
"PDFSplitter",
|
|
30
32
|
]
|
|
33
|
+
if not DOCPROC_AVAILABLE:
|
|
34
|
+
import warnings
|
|
35
|
+
|
|
36
|
+
warnings.warn(DOCPROC_MISSING_MESSAGE, ImportWarning)
|
|
31
37
|
except ImportError:
|
|
32
38
|
import warnings
|
|
33
39
|
|
|
34
40
|
warnings.warn(
|
|
35
|
-
"Document loader tools not available. Install
|
|
41
|
+
"Document loader tools not available. Install gllm-docproc to enable them.",
|
|
42
|
+
ImportWarning,
|
|
36
43
|
)
|
|
37
44
|
__all__ = []
|
|
@@ -10,8 +10,8 @@ References:
|
|
|
10
10
|
import gc
|
|
11
11
|
import os
|
|
12
12
|
from abc import ABC, abstractmethod
|
|
13
|
+
from typing import TYPE_CHECKING, Any
|
|
13
14
|
|
|
14
|
-
from gllm_docproc.loader.pipeline_loader import PipelineLoader
|
|
15
15
|
from langchain_core.runnables import RunnableConfig
|
|
16
16
|
from langchain_core.tools import BaseTool
|
|
17
17
|
from pydantic import BaseModel, Field
|
|
@@ -21,6 +21,46 @@ from aip_agents.utils.logger import get_logger
|
|
|
21
21
|
|
|
22
22
|
logger = get_logger(__name__)
|
|
23
23
|
|
|
24
|
+
DOCPROC_MISSING_MESSAGE = (
|
|
25
|
+
"gllm-docproc is required for document loader tools but is not installed. "
|
|
26
|
+
"Install it from your internal registry to enable document processing."
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
try:
|
|
30
|
+
from gllm_docproc.loader.pipeline_loader import PipelineLoader
|
|
31
|
+
except ImportError:
|
|
32
|
+
PipelineLoader = None # type: ignore[assignment]
|
|
33
|
+
|
|
34
|
+
if TYPE_CHECKING:
|
|
35
|
+
from gllm_docproc.loader.pipeline_loader import PipelineLoader as PipelineLoaderType
|
|
36
|
+
else:
|
|
37
|
+
PipelineLoaderType = Any
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class _MissingDocprocLoader:
|
|
41
|
+
"""Fallback loader that errors when document processing is attempted."""
|
|
42
|
+
|
|
43
|
+
def __init__(self) -> None:
|
|
44
|
+
self.loaders: list[object] = []
|
|
45
|
+
|
|
46
|
+
def add_loader(self, loader: object) -> None:
|
|
47
|
+
self.loaders.append(loader)
|
|
48
|
+
|
|
49
|
+
def load(self, *_args: object, **_kwargs: object) -> list[dict[str, str]]:
|
|
50
|
+
raise ImportError(DOCPROC_MISSING_MESSAGE)
|
|
51
|
+
|
|
52
|
+
def clear_cache(self) -> None:
|
|
53
|
+
self.loaders.clear()
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def _build_pipeline_loader() -> "PipelineLoader":
|
|
57
|
+
if PipelineLoader is None:
|
|
58
|
+
return _MissingDocprocLoader()
|
|
59
|
+
return PipelineLoader() # type: ignore[misc]
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
DOCPROC_AVAILABLE = PipelineLoader is not None
|
|
63
|
+
|
|
24
64
|
|
|
25
65
|
class BaseDocumentConfig(BaseModel):
|
|
26
66
|
"""Base tool configuration schema for document processing with batching functionality.
|
|
@@ -78,7 +118,7 @@ class BaseDocumentReaderTool(BaseTool, ABC):
|
|
|
78
118
|
description: str = "Read a document file and extract its text content."
|
|
79
119
|
args_schema: type[BaseModel] = DocumentReaderInput
|
|
80
120
|
tool_config_schema: type[BaseModel] = BaseDocumentConfig
|
|
81
|
-
loader:
|
|
121
|
+
loader: PipelineLoaderType = Field(default_factory=_build_pipeline_loader)
|
|
82
122
|
|
|
83
123
|
def __init__(self):
|
|
84
124
|
"""Initialize the base document reader tool."""
|
|
@@ -8,9 +8,19 @@ References:
|
|
|
8
8
|
reader/docx_reader_tool.py
|
|
9
9
|
"""
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
try:
|
|
12
|
+
from gllm_docproc.loader.docx import DOCX2PythonLoader, PythonDOCXTableLoader
|
|
13
|
+
except ImportError as exc:
|
|
14
|
+
DOCX2PythonLoader = None # type: ignore[assignment]
|
|
15
|
+
PythonDOCXTableLoader = None # type: ignore[assignment]
|
|
16
|
+
_DOCPROC_IMPORT_ERROR: Exception | None = exc
|
|
17
|
+
else:
|
|
18
|
+
_DOCPROC_IMPORT_ERROR = None
|
|
12
19
|
|
|
13
|
-
from aip_agents.tools.document_loader.base_reader import BaseDocumentReaderTool
|
|
20
|
+
from aip_agents.tools.document_loader.base_reader import DOCPROC_MISSING_MESSAGE, BaseDocumentReaderTool
|
|
21
|
+
from aip_agents.utils.logger import get_logger
|
|
22
|
+
|
|
23
|
+
logger = get_logger(__name__)
|
|
14
24
|
|
|
15
25
|
|
|
16
26
|
class DocxReaderTool(BaseDocumentReaderTool):
|
|
@@ -20,6 +30,11 @@ class DocxReaderTool(BaseDocumentReaderTool):
|
|
|
20
30
|
description: str = "Read a Word document and extract its text content. Input should be the path to the Word file."
|
|
21
31
|
|
|
22
32
|
def _setup_loader(self):
|
|
33
|
+
if DOCX2PythonLoader is None or PythonDOCXTableLoader is None:
|
|
34
|
+
logger.warning(DOCPROC_MISSING_MESSAGE)
|
|
35
|
+
if _DOCPROC_IMPORT_ERROR is not None:
|
|
36
|
+
logger.debug("gllm_docproc import failed: %s", _DOCPROC_IMPORT_ERROR)
|
|
37
|
+
return
|
|
23
38
|
self.loader.add_loader(DOCX2PythonLoader())
|
|
24
39
|
self.loader.add_loader(PythonDOCXTableLoader())
|
|
25
40
|
|
|
@@ -10,9 +10,15 @@ Authors:
|
|
|
10
10
|
import zipfile
|
|
11
11
|
from pathlib import Path
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
try:
|
|
14
|
+
from gllm_docproc.loader.xlsx import OpenpyxlLoader
|
|
15
|
+
except ImportError as exc:
|
|
16
|
+
OpenpyxlLoader = None # type: ignore[assignment]
|
|
17
|
+
_DOCPROC_IMPORT_ERROR: Exception | None = exc
|
|
18
|
+
else:
|
|
19
|
+
_DOCPROC_IMPORT_ERROR = None
|
|
20
|
+
|
|
21
|
+
from aip_agents.tools.document_loader.base_reader import DOCPROC_MISSING_MESSAGE, BaseDocumentReaderTool
|
|
16
22
|
from aip_agents.utils.logger import get_logger
|
|
17
23
|
|
|
18
24
|
logger = get_logger(__name__)
|
|
@@ -50,6 +56,11 @@ class ExcelReaderTool(BaseDocumentReaderTool):
|
|
|
50
56
|
This method initializes the OpenpyxlLoader which handles extraction
|
|
51
57
|
of content from Excel files and formatting as Markdown tables.
|
|
52
58
|
"""
|
|
59
|
+
if OpenpyxlLoader is None:
|
|
60
|
+
logger.warning(DOCPROC_MISSING_MESSAGE)
|
|
61
|
+
if _DOCPROC_IMPORT_ERROR is not None:
|
|
62
|
+
logger.debug("gllm_docproc import failed: %s", _DOCPROC_IMPORT_ERROR)
|
|
63
|
+
return
|
|
53
64
|
self.loader.add_loader(OpenpyxlLoader())
|
|
54
65
|
|
|
55
66
|
def _run_with_batching(self, file_path: str, batch_size: int) -> str:
|
|
@@ -8,9 +8,16 @@ References:
|
|
|
8
8
|
reader/pdf_reader_tool.py
|
|
9
9
|
"""
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
try:
|
|
12
|
+
from gllm_docproc.loader.pdf import PDFPlumberLoader, PyMuPDFLoader
|
|
13
|
+
except ImportError as exc:
|
|
14
|
+
PDFPlumberLoader = None # type: ignore[assignment]
|
|
15
|
+
PyMuPDFLoader = None # type: ignore[assignment]
|
|
16
|
+
_DOCPROC_IMPORT_ERROR: Exception | None = exc
|
|
17
|
+
else:
|
|
18
|
+
_DOCPROC_IMPORT_ERROR = None
|
|
19
|
+
|
|
20
|
+
from aip_agents.tools.document_loader.base_reader import DOCPROC_MISSING_MESSAGE, BaseDocumentReaderTool
|
|
14
21
|
from aip_agents.tools.document_loader.pdf_splitter import PDFSplitter
|
|
15
22
|
from aip_agents.utils.logger import get_logger
|
|
16
23
|
|
|
@@ -24,6 +31,11 @@ class PDFReaderTool(BaseDocumentReaderTool):
|
|
|
24
31
|
description: str = "Read a PDF file and extract its text content. Input should be the path to the PDF file."
|
|
25
32
|
|
|
26
33
|
def _setup_loader(self):
|
|
34
|
+
if PDFPlumberLoader is None or PyMuPDFLoader is None:
|
|
35
|
+
logger.warning(DOCPROC_MISSING_MESSAGE)
|
|
36
|
+
if _DOCPROC_IMPORT_ERROR is not None:
|
|
37
|
+
logger.debug("gllm_docproc import failed: %s", _DOCPROC_IMPORT_ERROR)
|
|
38
|
+
return
|
|
27
39
|
self.loader.add_loader(PyMuPDFLoader())
|
|
28
40
|
self.loader.add_loader(PDFPlumberLoader())
|
|
29
41
|
|
|
@@ -43,7 +55,7 @@ class PDFReaderTool(BaseDocumentReaderTool):
|
|
|
43
55
|
Raises:
|
|
44
56
|
FileNotFoundError: If the input PDF file doesn't exist
|
|
45
57
|
ValueError: If batch_size is invalid or PDF processing fails
|
|
46
|
-
|
|
58
|
+
RuntimeError: For other unexpected errors during PDF splitting
|
|
47
59
|
"""
|
|
48
60
|
logger.info(f"Splitting PDF file '{file_path}' with batch_size={batch_size}")
|
|
49
61
|
|
|
@@ -64,4 +76,4 @@ class PDFReaderTool(BaseDocumentReaderTool):
|
|
|
64
76
|
raise
|
|
65
77
|
except Exception as e:
|
|
66
78
|
logger.error(f"Unexpected error splitting PDF '{file_path}': {str(e)}")
|
|
67
|
-
raise
|
|
79
|
+
raise RuntimeError(f"Failed to split PDF file: {str(e)}") from e
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aip-agents-binary
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.17
|
|
4
4
|
Summary: A library for managing agents in Gen AI applications.
|
|
5
5
|
Author-email: Raymond Christopher <raymond.christopher@gdplabs.id>
|
|
6
6
|
Requires-Python: <3.13,>=3.11
|
|
@@ -38,7 +38,6 @@ Requires-Dist: browser-use==0.5.9; extra == "browser-use-tool"
|
|
|
38
38
|
Requires-Dist: steel-sdk>=0.7.0; extra == "browser-use-tool"
|
|
39
39
|
Requires-Dist: json-repair>=0.52.3; extra == "browser-use-tool"
|
|
40
40
|
Provides-Extra: document-loader
|
|
41
|
-
Requires-Dist: gllm-docproc-binary[docx,pdf,xlsx]<0.8.0,>=0.7.20; extra == "document-loader"
|
|
42
41
|
Requires-Dist: PyPDF2<4.0.0,>=3.0.0; extra == "document-loader"
|
|
43
42
|
Requires-Dist: unidecode<2.0.0,>=1.3.0; extra == "document-loader"
|
|
44
43
|
Provides-Extra: gl-connector
|
|
@@ -50,9 +49,8 @@ Requires-Dist: steel-sdk>=0.7.0; extra == "local"
|
|
|
50
49
|
Requires-Dist: json-repair>=0.52.3; extra == "local"
|
|
51
50
|
Requires-Dist: PyPDF2<4.0.0,>=3.0.0; extra == "local"
|
|
52
51
|
Requires-Dist: unidecode<2.0.0,>=1.3.0; extra == "local"
|
|
52
|
+
Requires-Dist: gllm-docproc-binary<0.8.0,>=0.7.20; extra == "local"
|
|
53
53
|
Requires-Dist: bosa-connectors-binary<0.4.0,>=0.3.1; extra == "local"
|
|
54
|
-
Requires-Dist: gllm-docproc-binary[docx,pdf,xlsx]<0.8.0,>=0.7.20; extra == "local"
|
|
55
|
-
Requires-Dist: gllm-datastore-binary[chroma,elasticsearch]==0.5.40; extra == "local"
|
|
56
54
|
Provides-Extra: dev
|
|
57
55
|
Requires-Dist: coverage<8.0.0,>=7.4.4; extra == "dev"
|
|
58
56
|
Requires-Dist: mypy<2.0.0,>=1.15.0; extra == "dev"
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
aip_agents/__init__.py,sha256=N1ZKw9RkLUoqgk1uORU7sBmT7btEgrgOkBdAtKTGQZQ,1343
|
|
2
|
+
aip_agents/constants.py,sha256=3v7W754-chL6KxcyY3PPGC93V0zcYNby5kewNNDixzs,815
|
|
3
|
+
aip_agents/a2a/__init__.py,sha256=Vam2pTa_4B2iYY8lT23Z1pa7U29F_6XFpu-0C0guC68,408
|
|
4
|
+
aip_agents/a2a/types.py,sha256=Q1Hx1_nwEyYSwpmnQWUdPCibDhyBsHdb-Y404DdYKOM,7379
|
|
5
|
+
aip_agents/a2a/server/__init__.py,sha256=rua3Vgxe_8429KkDG7cCuqI8zDxnfkmQ1Hh8IljnU7A,339
|
|
6
|
+
aip_agents/a2a/server/base_executor.py,sha256=O77YjsxQdqZiaR6t0eoTyfpAKJve-Vpopp8ZBLKxAMA,45516
|
|
7
|
+
aip_agents/a2a/server/google_adk_executor.py,sha256=slKvyS9cYfZpRMasqi4UcpV3EfKAi5a_s4w6F0TTQII,8661
|
|
8
|
+
aip_agents/a2a/server/langflow_executor.py,sha256=F8SRIzRGT3tNFVQf-dJMFZYsg0zb3D6FJa_1cNUey9E,6826
|
|
9
|
+
aip_agents/a2a/server/langgraph_executor.py,sha256=2gAznxCyI72PXP7Co8nlU-2BKJXqMn8IIKgFrw4kJ8E,11035
|
|
10
|
+
aip_agents/agent/__init__.py,sha256=noyxX-rddnulFTp9CLOPmlpsysteku3Q2r_nBbfECvc,919
|
|
11
|
+
aip_agents/agent/base_agent.py,sha256=-8TyVGRUqPBwREoDoU14UbSJ3qdtfQ_a6VxdU8P4BCM,40639
|
|
12
|
+
aip_agents/agent/base_langgraph_agent.py,sha256=lswmMlDIN38k169adthVL1dk-O836nuCCI76JXr_Tsw,122672
|
|
13
|
+
aip_agents/agent/google_adk_agent.py,sha256=8zNLEnWlvwh0qxY65bZKuxBipsTFT-sbmb6zD12cMDA,38062
|
|
14
|
+
aip_agents/agent/google_adk_constants.py,sha256=kU-zSncuifqO6UWtpG9QG15MeQZiK5bVwf9iSpj9SyY,216
|
|
15
|
+
aip_agents/agent/interface.py,sha256=Ov-z_ijN7WhWeTDShs9aGXYmshR8rvGI6B64PnktoYo,4612
|
|
16
|
+
aip_agents/agent/interfaces.py,sha256=y7LADUBbhd3kDm9aMNdLK3IYIGx6Gu2Ur5GQUYGyFvw,2036
|
|
17
|
+
aip_agents/agent/langflow_agent.py,sha256=3KjB4ZBAIAqPKK5pML3DuiQ_yixx2L4dTQSW2pY6EKY,17903
|
|
18
|
+
aip_agents/agent/langgraph_memory_enhancer_agent.py,sha256=1AvvqvFfeLf80Jw2W2Mm7TdpwO3o_OC7r-30M4EIWeU,17859
|
|
19
|
+
aip_agents/agent/langgraph_react_agent.py,sha256=gIggzMsDoYfDY1KBoEX1O399Xghcul0cAeQ4KjhI9PY,104907
|
|
20
|
+
aip_agents/agent/system_instruction_context.py,sha256=6lQAJ6DJv1aF8wjalxdsNWqEDZmomHwnhnPikLCfzj4,1220
|
|
21
|
+
aip_agents/agent/hitl/__init__.py,sha256=qyxPIfSJ08MrvkE1qBZxdiom4VxSJSGEkrjqUZY2kNg,850
|
|
22
|
+
aip_agents/agent/hitl/config.py,sha256=36EmK2mck9viMYYgBQLK7SCi49HtK1aFxN7G8cV8YSg,817
|
|
23
|
+
aip_agents/agent/hitl/langgraph_hitl_mixin.py,sha256=4ZHHq7G1nRYsYa0QTODAuLtElpYN-mcQr_kCxLPjjGs,19569
|
|
24
|
+
aip_agents/agent/hitl/manager.py,sha256=m9oNEcgFsMgHNDCpUTelgsEDg_TeG5JURHYJKJXVqMc,20913
|
|
25
|
+
aip_agents/agent/hitl/models.py,sha256=knnFAGsHfazFKpJ_b_isUSMCb7ijvoQRnEyUS1dYzIs,387
|
|
26
|
+
aip_agents/agent/hitl/registry.py,sha256=im8_4ClCd51YJp8KMk8lutMDsuB84swYASzp5fU9rR4,5539
|
|
27
|
+
aip_agents/agent/hitl/prompt/__init__.py,sha256=kHNhvaFUSe0MzZgn3SXj1RKGo7KPaqQb53W7M2LjVbA,272
|
|
28
|
+
aip_agents/agent/hitl/prompt/base.py,sha256=JM8qqwZhHFk-uhWNaX3jobrPjV0OjGVkW1jCH2DjXEA,1512
|
|
29
|
+
aip_agents/agent/hitl/prompt/deferred.py,sha256=GZ3xtWU6-O6axq3oOuh9xyQasXA1z8WiIrADrgRbdyo,2661
|
|
30
|
+
aip_agents/clients/__init__.py,sha256=KsT7urSsHYgWgMv-g_WgZZvYQ8U35v1EJM8gi767SKI,317
|
|
31
|
+
aip_agents/clients/langflow/__init__.py,sha256=3HpnJdNLyF1Lf-1vzrEIpdUn2WiAUB89YMaGtGZu7HM,433
|
|
32
|
+
aip_agents/clients/langflow/client.py,sha256=m1WLchggcp9F09yqtN_tfhYMs1ZyQf25RNiJD6mFKsM,17836
|
|
33
|
+
aip_agents/clients/langflow/types.py,sha256=Uz15DH72TF5kfHY0KOI2SN23gETX_H5ayIbLMbn-Wvs,475
|
|
34
|
+
aip_agents/credentials/manager.py,sha256=IFJBiF-3LFkzLWz9xcNI1c5IxUriQjt5J_xATA9WMQU,4840
|
|
35
|
+
aip_agents/examples/__init__.py,sha256=KDL2do9_iDjXNbrLPOzxegQPEQLm0tTMVNo5Uq2BpRA,188
|
|
36
|
+
aip_agents/examples/compare_streaming_client.py,sha256=kzF_xdsxCvCe27N18ec0-oJ0zhdJZQOiwFnuDzF0X4M,34339
|
|
37
|
+
aip_agents/examples/compare_streaming_server.py,sha256=49YlFviQhhSGUFbCmlqn4-LijAlPKyEu5NNNTEzQt50,5776
|
|
38
|
+
aip_agents/examples/demo_memory_recall.py,sha256=ZTQGgYeSRL0XXA50426Xqh6J7zhJULfVsZ7vobH3smg,15914
|
|
39
|
+
aip_agents/examples/hello_world_a2a_google_adk_client.py,sha256=I60rLhRv9ACwf0JMn9xZL7CKTp2qOWJZzCRK61zugwk,1707
|
|
40
|
+
aip_agents/examples/hello_world_a2a_google_adk_client_agent.py,sha256=R2UPGN-L-myHECKdePDWF-FH1JuJQLX8M3znyiS93DE,1601
|
|
41
|
+
aip_agents/examples/hello_world_a2a_google_adk_client_streaming.py,sha256=qsW5O3yXPPkD7tLZYlT5TmsakHZabtu7RObemUUJbSg,2088
|
|
42
|
+
aip_agents/examples/hello_world_a2a_google_adk_server.py,sha256=BFLa9nZM_Em9rFuArygAqOjjVWn8LiGx__M7Rxx8ncc,2792
|
|
43
|
+
aip_agents/examples/hello_world_a2a_langchain_client.py,sha256=c9t-Hed-IsKOkgvLjNKFHWk0O0KRmx3W25Q7EStTscg,1364
|
|
44
|
+
aip_agents/examples/hello_world_a2a_langchain_client_agent.py,sha256=GD6iUa2OAkaVN-ASgp24DTCjqMu_h7KtIOX9usyI1G0,1341
|
|
45
|
+
aip_agents/examples/hello_world_a2a_langchain_client_lm_invoker.py,sha256=uLJXBcqClJ9Hq3xTGzgYrmgjAujIGoUtjXuIEFfTqEk,1294
|
|
46
|
+
aip_agents/examples/hello_world_a2a_langchain_client_streaming.py,sha256=lZJszAiDpSsUpoqSTmbSlQ3xo9jGIE9Mb7q4Ui7EoEc,1435
|
|
47
|
+
aip_agents/examples/hello_world_a2a_langchain_reference_client_streaming.py,sha256=9DtNg8oc0cmfWU-98VdXuLnYRM5Yhl9i6-02jDjYSX0,2164
|
|
48
|
+
aip_agents/examples/hello_world_a2a_langchain_reference_server.py,sha256=xN4nF_XFY6762AGuVS5I7uqauUYfc6cdXlcGA_YW5NI,4070
|
|
49
|
+
aip_agents/examples/hello_world_a2a_langchain_server.py,sha256=KER6MZzchUwRKan6pEGMAnK917vUg8QcYXwDpxu2Jpo,2625
|
|
50
|
+
aip_agents/examples/hello_world_a2a_langchain_server_lm_invoker.py,sha256=_t2Ltkl55c92F7qnDBegreEqqigZUJVXl5G7mgomXeM,2551
|
|
51
|
+
aip_agents/examples/hello_world_a2a_langflow_client.py,sha256=eKIZ5p-FoKh84V7kKt5t_ZwFnpOS0gK4I4q49cFi56k,2835
|
|
52
|
+
aip_agents/examples/hello_world_a2a_langflow_server.py,sha256=3_FoKgT3G_aIP_bJ3cLT-R-dGBq4yIkeBUIuVfveDz8,2703
|
|
53
|
+
aip_agents/examples/hello_world_a2a_langgraph_artifact_client.py,sha256=LlqL6oprZAEOpHzzSxsgNFgTcb4dOL2SsCq6U210S2k,2732
|
|
54
|
+
aip_agents/examples/hello_world_a2a_langgraph_artifact_client_streaming.py,sha256=n4uKXB6bFk4ffnkicm1WPIfSbCamFQjz82gpwCGXAQg,2944
|
|
55
|
+
aip_agents/examples/hello_world_a2a_langgraph_artifact_server.py,sha256=IjxfOqe4PSm_Gb0Q2UJNpftRu4DSUH1gXCcePcTjXoc,3512
|
|
56
|
+
aip_agents/examples/hello_world_a2a_langgraph_client.py,sha256=JaFPdBNVXAXBJ0mZT6MyvllJMCL_lZ7y7pAfbaD9JS4,1754
|
|
57
|
+
aip_agents/examples/hello_world_a2a_langgraph_client_agent.py,sha256=hpAjag9yOIoku-TD2xItK5EGQJnWWd6hWiSDv14dDKM,1723
|
|
58
|
+
aip_agents/examples/hello_world_a2a_langgraph_client_agent_lm_invoker.py,sha256=xtfUdt2u09pTMkKXnz9rMq5lGmTrWyYRVwCtZ65GJm0,1221
|
|
59
|
+
aip_agents/examples/hello_world_a2a_langgraph_client_streaming.py,sha256=RvUOTeHnKPDEmvkbZIEb0nEhDUJtJUseRFRVTCLup0M,1694
|
|
60
|
+
aip_agents/examples/hello_world_a2a_langgraph_client_streaming_lm_invoker.py,sha256=yZ11ypFifQg7uYgRdRgC3MaIMCXxVBSLgHLBZM1QpOY,1481
|
|
61
|
+
aip_agents/examples/hello_world_a2a_langgraph_client_streaming_tool_streaming.py,sha256=s5SAJ8r2hiJ1O8cp1MjOnfG6WfIs66LXaYceRn9fOJ0,3705
|
|
62
|
+
aip_agents/examples/hello_world_a2a_langgraph_server.py,sha256=jyEi-4935vSzHel0wGUxq-pUhcGE8tGBtOQOoM-ffv0,2832
|
|
63
|
+
aip_agents/examples/hello_world_a2a_langgraph_server_lm_invoker.py,sha256=9iATa-p__BWZNkI2DBWz0JwXVpnrGfqPj3Si_yS1QfE,2621
|
|
64
|
+
aip_agents/examples/hello_world_a2a_langgraph_server_tool_streaming.py,sha256=u85JoO-S3M2uP38k_GtSxFrRepme1sFgztvCz4Z2m68,4981
|
|
65
|
+
aip_agents/examples/hello_world_a2a_mcp_langgraph.py,sha256=4LK1j-lL-TOIr30fM4Agp75mGAdaDiNgcJ9DW942iTw,6882
|
|
66
|
+
aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_client.py,sha256=Ythx_qjLNYYQN8k6r6DFazTAOAUTQ9bKVFMCiZnKr5E,9466
|
|
67
|
+
aip_agents/examples/hello_world_a2a_three_level_agent_hierarchy_server.py,sha256=yk7-QaUu-DTPpFE099XmLcMldmb6YoWnCoDjdfXo0Hc,10524
|
|
68
|
+
aip_agents/examples/hello_world_a2a_with_metadata_langchain_client.py,sha256=jOgmACSom_YQ2XP2adBUQvdD2LWpWBxl6cNKip79Bfc,2069
|
|
69
|
+
aip_agents/examples/hello_world_a2a_with_metadata_langchain_server_lm_invoker.py,sha256=o1jtGGvPLf-H-QYivhRCY2mRhm9rHt1XQR7XS1Ag2Cs,2799
|
|
70
|
+
aip_agents/examples/hello_world_google_adk.py,sha256=ORMe7ZhFKAmAFUXmpZHz97DLj6pmnXju6MQYdV0kqWg,1546
|
|
71
|
+
aip_agents/examples/hello_world_google_adk_mcp_http.py,sha256=BYlmTJD1f0FNd124GX3ou5NJTeLd0AqnKanVjaRsIMo,1312
|
|
72
|
+
aip_agents/examples/hello_world_google_adk_mcp_http_stream.py,sha256=wu5F9aVAVBuSZT9V2PD8qUBQ_ofCcEI-KB29RA-KUDQ,1473
|
|
73
|
+
aip_agents/examples/hello_world_google_adk_mcp_sse.py,sha256=owAdppvYBz9vvUxHD7vE_6bJQWaBK3UeUax16Zc0_ek,1559
|
|
74
|
+
aip_agents/examples/hello_world_google_adk_mcp_sse_stream.py,sha256=anC9xRzNUOE6aIpjSZgNwbwgF4TlP0tlej0MelJNsXA,1695
|
|
75
|
+
aip_agents/examples/hello_world_google_adk_mcp_stdio.py,sha256=Fw5emBTKoKqCT99yNOwOEzJzap532k_4Kj9OWHQCIqA,1484
|
|
76
|
+
aip_agents/examples/hello_world_google_adk_mcp_stdio_stream.py,sha256=qzmM48dNvXFAJJSOZx633FyV4Qd87KyaC6ZBbHj0OvU,1678
|
|
77
|
+
aip_agents/examples/hello_world_google_adk_stream.py,sha256=Jf28F5TlqeFdDccekii3c6ARNAX30vn20AOJDM6ypyU,1605
|
|
78
|
+
aip_agents/examples/hello_world_langchain.py,sha256=RXFk04ELbkzcp6r046p32fnU7YxBrur2QA9Y85SXVDM,932
|
|
79
|
+
aip_agents/examples/hello_world_langchain_lm_invoker.py,sha256=L_4o9mPYN1T2nwI2UsaNVpNGP9sPDuW5K3cb4hYLL8o,600
|
|
80
|
+
aip_agents/examples/hello_world_langchain_mcp_http.py,sha256=vCuy3zyIwEtoIDRRdmzzl7HMNgqr-P_xb5kg0WAc7aU,1158
|
|
81
|
+
aip_agents/examples/hello_world_langchain_mcp_http_interactive.py,sha256=CTXXI7sOU9t47jef3uD_Uh1uxFlqDYn7kV0KuYGEmm8,4267
|
|
82
|
+
aip_agents/examples/hello_world_langchain_mcp_http_stream.py,sha256=34O2YJ0uqQWcH2Zc81R6-l8sH4HLFIRAK0qyMWCJkeI,1453
|
|
83
|
+
aip_agents/examples/hello_world_langchain_mcp_multi_server.py,sha256=C0b7kOmCiESp19995_V011PMxasXK9DQ0p7aQEf4mfs,5828
|
|
84
|
+
aip_agents/examples/hello_world_langchain_mcp_sse.py,sha256=CJAQOLidLKbgrwxfz_ekSuKJoe3PsRbLAag-GTFvLq0,1125
|
|
85
|
+
aip_agents/examples/hello_world_langchain_mcp_sse_stream.py,sha256=ofXuunIx44hWsd9HgsggohpMx0jil3myexVszvcWfAc,1359
|
|
86
|
+
aip_agents/examples/hello_world_langchain_mcp_stdio.py,sha256=NPp6VgyOBuxXj2MfnIfyhNwV63SxECCAwLNd-rdOqF8,977
|
|
87
|
+
aip_agents/examples/hello_world_langchain_mcp_stdio_stream.py,sha256=ih_Qlldr5XwpfaWtHpp0x7H7o4WaD8JGOzXGIBhtqyY,1390
|
|
88
|
+
aip_agents/examples/hello_world_langchain_stream.py,sha256=sFNIfwFBgQhrE8Or2endw3k71tgIgYJZN1PxwfmIfHM,1185
|
|
89
|
+
aip_agents/examples/hello_world_langchain_stream_lm_invoker.py,sha256=gVfphFYkgG_1jWZ_p7tHuNEsMbmfAYrZGm5l5OUASKc,1303
|
|
90
|
+
aip_agents/examples/hello_world_langflow_agent.py,sha256=pkchyUiTM2VlWUcW2TDZLzoliy1QLjZU73DvSgp-7vk,5139
|
|
91
|
+
aip_agents/examples/hello_world_langgraph.py,sha256=uTsZ7X5up_BmQqKTKh0F1fsvkXpm9puOANXd33-pb9g,1287
|
|
92
|
+
aip_agents/examples/hello_world_langgraph_bosa_twitter.py,sha256=S0_5s3EB9cPDMW9N_o344tpwcxl_G-8GLjp2qYj_V_Y,1265
|
|
93
|
+
aip_agents/examples/hello_world_langgraph_mcp_http.py,sha256=8Vu3Q_RChDlBgPcbh9h7U4Cy7x4SakRGttOtQeHluyI,1039
|
|
94
|
+
aip_agents/examples/hello_world_langgraph_mcp_http_stream.py,sha256=-g7YmaFtBSdxcJ6ZQplcP4OB26M_8UV4ZImDxmk5owI,1163
|
|
95
|
+
aip_agents/examples/hello_world_langgraph_mcp_sse.py,sha256=Qcf615tpUBIcTGjpItOI2Ss-M4ZI8iXtw4QeubBhnTo,1122
|
|
96
|
+
aip_agents/examples/hello_world_langgraph_mcp_sse_stream.py,sha256=DGU-_FeUW0rW9jl6mO9fTXctrF6NMNlzjn3RAoWjrw0,1708
|
|
97
|
+
aip_agents/examples/hello_world_langgraph_mcp_stdio.py,sha256=8gzbI7b-klU0SUFwp9QfqaHJJt4-OSy7AC2hzgsF1YU,1150
|
|
98
|
+
aip_agents/examples/hello_world_langgraph_mcp_stdio_stream.py,sha256=WLHseefDbahHXf4SdU4xvliUBVv7bqaNx8us7vIKS8I,1723
|
|
99
|
+
aip_agents/examples/hello_world_langgraph_stream.py,sha256=oxwCd5s6YBJdJTt46EBpzKqW_f9v7ATiqTOJOCAI7oc,1542
|
|
100
|
+
aip_agents/examples/hello_world_langgraph_stream_lm_invoker.py,sha256=5X74IB15lggAPLzTLRa3edCAUaamumfIXCh3s8c83UI,1145
|
|
101
|
+
aip_agents/examples/hello_world_model_switch_cli.py,sha256=3jmqhnLaw64ACLrOJbXiSLyHVcHqK3EXc20W0EptNV4,8406
|
|
102
|
+
aip_agents/examples/hello_world_multi_agent_adk.py,sha256=0PYOuqwG6mHdiX2ffpbX8x1qCuA7LprscLcB4Uoe5-4,2845
|
|
103
|
+
aip_agents/examples/hello_world_multi_agent_langchain.py,sha256=sdotxFI_3H4ArrzNVkCUlX_CkMYFS9D_AnHRbuadnIg,1934
|
|
104
|
+
aip_agents/examples/hello_world_multi_agent_langgraph.py,sha256=fs0qwhZoh451hYxXwRiir7A5u0OkulMdXJA10bAxLqI,2491
|
|
105
|
+
aip_agents/examples/hello_world_multi_agent_langgraph_lm_invoker.py,sha256=B0I92NrLSw-ZPfYP_Zl0JTaQUSVf1McQ42Pos9OU6JU,2531
|
|
106
|
+
aip_agents/examples/hello_world_pii_logger.py,sha256=xH4PNGetuZv1TJj5Y1fqvm1Vto0pp1u5ju-ORccEFwo,605
|
|
107
|
+
aip_agents/examples/hello_world_sentry.py,sha256=2I7xUGGptGJoZgxmDj-FERwaAu-MRlTqDHLYPH6bAiI,4091
|
|
108
|
+
aip_agents/examples/hello_world_step_limits.py,sha256=0f02AFrpfAertnjSHxQiU6uAyIWt0ovQ3aQ5QCJPSx4,10082
|
|
109
|
+
aip_agents/examples/hello_world_stock_a2a_server.py,sha256=LQUtBl5ibW4P1o6qHAnBsySg9DK2ffOthgxyPgmo53g,3536
|
|
110
|
+
aip_agents/examples/hello_world_tool_output_client.py,sha256=qFKvC4xbFNXdNbmsaNL_vS50TCNCX7yFnhAaxu09jo8,1369
|
|
111
|
+
aip_agents/examples/hello_world_tool_output_server.py,sha256=Q2vYQZVTUW9zeaIk7CHXNWdsI_xHKES3jkt_luA4vSU,4153
|
|
112
|
+
aip_agents/examples/hitl_demo.py,sha256=yILZHWdGCH_ICy2yIusk0EOHzCMmIg2usQRu-OWP-qM,26291
|
|
113
|
+
aip_agents/examples/pii_demo_langgraph_client.py,sha256=eNWQTeegtuIXYICSl4PgBs3WvjntUXFezYdFAT36rgc,2194
|
|
114
|
+
aip_agents/examples/pii_demo_langgraph_server.py,sha256=Ze0l2kBsdFbu9akFvQkEdKlRZ3wlm5Lf9fs8y9_k4cg,4863
|
|
115
|
+
aip_agents/examples/pii_demo_multi_agent_client.py,sha256=la7LyDoCNYi4dipBRlo0oSwYN_ljmIXzOGeDiJKagrQ,2644
|
|
116
|
+
aip_agents/examples/pii_demo_multi_agent_server.py,sha256=2-dbylX8T4Raten84myUGc5uFkyKDTiXSgM05bTLIbo,9606
|
|
117
|
+
aip_agents/examples/todolist_planning_a2a_langchain_client.py,sha256=zze0K8OhXrl-9oupd9Qk5r6h7uu_zrEsN85dW1G__oM,2641
|
|
118
|
+
aip_agents/examples/todolist_planning_a2a_langgraph_server.py,sha256=9urX1m5f7gFH_5mUzr58Twl-LHshefjbY9OWeZHbync,3103
|
|
119
|
+
aip_agents/examples/mcp_configs/configs.py,sha256=7ZhCRiHLCyolhmUxnwfqHihLc2-r0Paa-qr_LpZ7saY,1678
|
|
120
|
+
aip_agents/examples/mcp_servers/common.py,sha256=G_f75ahqIDKLEnWltpH-jTkMbTTYcVeW_hIMY3dfDiM,2608
|
|
121
|
+
aip_agents/examples/mcp_servers/mcp_name.py,sha256=QcloxrmULjBs_t1u4Jc6lVsZ7z0OmqfvBMwH1IiwSUI,658
|
|
122
|
+
aip_agents/examples/mcp_servers/mcp_server_http.py,sha256=fv73iuTh63kSe51ohmNGp7g7qORo3PB3zAzFvdBmKqM,779
|
|
123
|
+
aip_agents/examples/mcp_servers/mcp_server_sse.py,sha256=dqDCLgazK_89q73FauU951ni7D_AKl4oJL5HtXEuUJE,725
|
|
124
|
+
aip_agents/examples/mcp_servers/mcp_server_stdio.py,sha256=nKCulr6hc9_Rx4_ci1NEdqq3wz0dSTi7fNYf12BZGDM,734
|
|
125
|
+
aip_agents/examples/mcp_servers/mcp_time.py,sha256=aceYnL_F7g6wk0eWjV0HZlyHTdpVNp4s9XVBd2UvzIY,285
|
|
126
|
+
aip_agents/examples/tools/__init__.py,sha256=Co2B08AdsxxmstDxxBBw9ukJv2z8yQaVindkm86cFDY,1008
|
|
127
|
+
aip_agents/examples/tools/adk_arithmetic_tools.py,sha256=TsNEci4-LfX2uZi0D8FST4LbKIrHbwHJKl2l893G_IM,1020
|
|
128
|
+
aip_agents/examples/tools/adk_weather_tool.py,sha256=gBKQwOAAu5dTRumE697ZrrF4Un0bA-E3yFWqHJD2C38,2361
|
|
129
|
+
aip_agents/examples/tools/data_generator_tool.py,sha256=MfvMQXr9PQE06ZM2qSKrpcF4UA1GXCR1V7EyUxCZxdg,3312
|
|
130
|
+
aip_agents/examples/tools/data_visualization_tool.py,sha256=MQ5HRsYq-ouq3DzKWYo6Um3PdWYQZJ0yg-kCnKfXE0I,11026
|
|
131
|
+
aip_agents/examples/tools/image_artifact_tool.py,sha256=OaQOy_Dju46bgE-9GwUNg_h2qpIo7SMY6TA5cuDjeDI,5140
|
|
132
|
+
aip_agents/examples/tools/langchain_arithmetic_tools.py,sha256=dRFuLH6TwcmgogxvTwzFCfGW9WrFLkqlFIWFuLZIPhA,696
|
|
133
|
+
aip_agents/examples/tools/langchain_currency_exchange_tool.py,sha256=IjKg4jaRQabFRujonjPe6sSPNe3S53tf0lxIFb47ZYA,3530
|
|
134
|
+
aip_agents/examples/tools/langchain_graph_artifact_tool.py,sha256=_0LrCqKPVmb_Llh4JAce1WLcyX9gHO8DxSbc7hn35q4,6386
|
|
135
|
+
aip_agents/examples/tools/langchain_weather_tool.py,sha256=lXw3WcgpLn7hD1ka2cEC5qRQk7-cjECUupm77KuWbuA,1296
|
|
136
|
+
aip_agents/examples/tools/langgraph_streaming_tool.py,sha256=ZMIZ2UNxSIeuXkKdMwv18xc-mWsfQp57_Ao5zeYLsc4,4779
|
|
137
|
+
aip_agents/examples/tools/mock_retrieval_tool.py,sha256=XTJlvDyObmmJuajKRC0SmoV0KJboAtdldeRZJZX-EIM,1900
|
|
138
|
+
aip_agents/examples/tools/pii_demo_tools.py,sha256=68x-lEWg-4NgSsybhRH1f4ZCdbDDnK-S7s9OmoV_gPU,5960
|
|
139
|
+
aip_agents/examples/tools/random_chart_tool.py,sha256=QVS0jju1sfw1bTj-vSo7GdO0WbpaI900J6oy6F52hlc,5125
|
|
140
|
+
aip_agents/examples/tools/serper_tool.py,sha256=cW8uQQAyiiTg5uz7nq5BZe4f1jUkSZzv11rWpRWysWk,9211
|
|
141
|
+
aip_agents/examples/tools/stock_tools.py,sha256=N2xeCTYc7MKRTxskp0Tm7_qA7K-1G9xPISFbl69Vzds,2789
|
|
142
|
+
aip_agents/examples/tools/table_generator_tool.py,sha256=jGszvqm-kWdL7OD9uKBamYAkhjAxYfP2YG4qHY31pVc,6407
|
|
143
|
+
aip_agents/examples/tools/time_tool.py,sha256=BxhgmDFwW_m4wBdhf3UwpSMYEZtec6wu5xRg7Ga8w3g,2483
|
|
144
|
+
aip_agents/examples/tools/weather_forecast_tool.py,sha256=woFXShDC3vw2lzW6Yu3jGVLsfaIPTwKZXwGfdXnRh1g,1450
|
|
145
|
+
aip_agents/executor/agent_executor.py,sha256=glEhBLj12lkfJZ0BkWim6DM0hwnrt4XbLgjeBv_h-Sc,18735
|
|
146
|
+
aip_agents/executor/base.py,sha256=8DJpBjMeyA5MrgSdPnIkDSEbxDSK8PHsDstuRKxP3Kw,1584
|
|
147
|
+
aip_agents/mcp/__init__.py,sha256=n9E7iz5diKd_yKkPZfATHkfKy0Hdm40NYjDMWPmWImU,61
|
|
148
|
+
aip_agents/mcp/client/__init__.py,sha256=Kp0iOfmk2Vdo9wwKu3plcxmJT6HlWvpXiTm9MTXaODU,507
|
|
149
|
+
aip_agents/mcp/client/base_mcp_client.py,sha256=0S10MIi5rSlL350b9MiNLVPe8Tj3ytaG_Y3OpUb1NK4,14342
|
|
150
|
+
aip_agents/mcp/client/connection_manager.py,sha256=MwhJF5yyzQFWSkVPGnQ1OcMr0GTnBQFr5A4pU4zCNuU,7680
|
|
151
|
+
aip_agents/mcp/client/persistent_session.py,sha256=x7YUX3EwIg4Ixs0D7Sb7-SyYxNYljSA3Y5qLhhfRy_I,14565
|
|
152
|
+
aip_agents/mcp/client/session_pool.py,sha256=qYxtalGyT1Z4a5LIDe2X9QinduOz4f_U9yDzBH_qjKI,12968
|
|
153
|
+
aip_agents/mcp/client/transports.py,sha256=YF9ZwnVH1G4z6Wiv3IcFptq3D37bqlfjvF5s_rP0hnI,8387
|
|
154
|
+
aip_agents/mcp/client/google_adk/__init__.py,sha256=mbVak_4MCHVNkgm6EQhkrR1HDAPo1Q7cP3nk55TPtu4,291
|
|
155
|
+
aip_agents/mcp/client/google_adk/client.py,sha256=Q7nInxbOdCdy4ZCNvqtoqtlyzOd1teiq60JzbQZCjtI,16361
|
|
156
|
+
aip_agents/mcp/client/langchain/__init__.py,sha256=ZH4pVRewSMMZb4E2zjWNLkH65HyaSaxEIunPa3jfLX8,280
|
|
157
|
+
aip_agents/mcp/client/langchain/client.py,sha256=XZcPeGL5tKwK2tGXvYHqWvAwFwIIeHNDUnrsoiWact8,10465
|
|
158
|
+
aip_agents/mcp/utils/__init__.py,sha256=rMzMkRkMy4-YSpX396LKwEQ-671ICPuef6OnGQ_SITc,122
|
|
159
|
+
aip_agents/mcp/utils/config_validator.py,sha256=RMuiQWva1l4ZkjPryugrTwNid6ahHbrsH8ja8uHUSNE,5457
|
|
160
|
+
aip_agents/memory/__init__.py,sha256=99bBp2pFRfhlrcxkGxqGi9Q4gRJ4CnBTLShylM9EZAE,456
|
|
161
|
+
aip_agents/memory/base.py,sha256=9nUC0PG0N3-c9Pemq1frlX3GWox-Scnpgqz-YL2eDlQ,2770
|
|
162
|
+
aip_agents/memory/constants.py,sha256=axZH6k78rXPgwBkMu4z0_e_kuk1jhv_o82z62_uFnQ0,1518
|
|
163
|
+
aip_agents/memory/factory.py,sha256=8Y0yDatQ5XxunFr6I8etvo0GncviNHKa-5eGQS5NhKc,2879
|
|
164
|
+
aip_agents/memory/guidance.py,sha256=1EoepGG4Y2NMEizan6VtSV8RTG6Uy5CR7v5523B0z90,951
|
|
165
|
+
aip_agents/memory/simple_memory.py,sha256=pXLCmCS1Nc08I-K4Nf559e-n0V6-npFodU4TB-fU9Ao,1794
|
|
166
|
+
aip_agents/memory/adapters/__init__.py,sha256=VHqDe2tpZNDQBBGPFDtol5WKHMxjfv-YtplEomxY7nA,289
|
|
167
|
+
aip_agents/memory/adapters/base_adapter.py,sha256=T-le8K_LxC1JSeZR9bQleIssUTTQJV_NYW2JC2VLuRA,26232
|
|
168
|
+
aip_agents/memory/adapters/mem0.py,sha256=eGVPvqF2TFx-_gmxpfC08n5FZZW_BDKIKOwCO4yjAaY,3039
|
|
169
|
+
aip_agents/middleware/__init__.py,sha256=VqqQmOQKyYwV9bUNTB2ZN-_IpBRevQaWp4Q2sTe2LHA,502
|
|
170
|
+
aip_agents/middleware/base.py,sha256=s0s4_JL5nkyOYnB0CGlc7rT5SWNGf0Cq2N7TDhthpPc,3358
|
|
171
|
+
aip_agents/middleware/manager.py,sha256=kWEN5zZHiehP6jxrSSXhWAb6wqh0LG0zHxZyhbeJsiQ,4513
|
|
172
|
+
aip_agents/middleware/todolist.py,sha256=YxE1kcaP6Ov1WnfxM5z8cv5cNsJViG0NRPpbAGfpeMQ,10788
|
|
173
|
+
aip_agents/schema/__init__.py,sha256=Pxqd6kvSJkKHpmkBjy3N9ncxK7aEyYFf60STfNuHgkQ,1767
|
|
174
|
+
aip_agents/schema/a2a.py,sha256=00MZ4aTHGhd4j6kjUDzULhMqUpyOrCupVyRfK1aTuY4,1424
|
|
175
|
+
aip_agents/schema/agent.py,sha256=SFOPdiGoh34S6yYNePUPfT12K1EZB-6GTa6P3atZwx4,3122
|
|
176
|
+
aip_agents/schema/hitl.py,sha256=7jm6d2zDyN2qbESYwMkadql5Ub0ENRhkDVRXDxo12Zk,4899
|
|
177
|
+
aip_agents/schema/langgraph.py,sha256=ny4DKu0NuytUnR8tAqLhyNPrFBO58gxREGUREnVsTkI,1013
|
|
178
|
+
aip_agents/schema/model_id.py,sha256=HDMiteuhAeFltqvwxFJvavbZ99RMLcvYlm0Fve0vf1o,3159
|
|
179
|
+
aip_agents/schema/step_limit.py,sha256=ETQPjLl1W8feoqjYjFZA55GRPXoOdeko1M0hC_LH-8o,3742
|
|
180
|
+
aip_agents/schema/storage.py,sha256=sH2VP0BE6-SNVb4YFs6QJdtKU_Cg9DQ2wmtMgnHpISA,1330
|
|
181
|
+
aip_agents/sentry/__init__.py,sha256=AfUfS9T0nTWRoHubwHtXJB6_vkyp7b6l4U_FcI33K2I,263
|
|
182
|
+
aip_agents/sentry/sentry.py,sha256=0DZfB0MgUm508GO9LRpe0ts20YjrTOiyMyaa7OIO-c0,4652
|
|
183
|
+
aip_agents/storage/__init__.py,sha256=GIdxlSMf59hPPeurfnJpqh70JnF3LbEWH7tYFAO1tjI,1260
|
|
184
|
+
aip_agents/storage/base.py,sha256=-adphvyI8awPPFF2ptHpx5_6PGoRl2Z59USCTOXEL2k,2498
|
|
185
|
+
aip_agents/storage/config.py,sha256=pDlWpQ3660vmnqmkUYa19Dbe5uMGIa_EHdq9HrfRg0c,2761
|
|
186
|
+
aip_agents/storage/clients/__init__.py,sha256=5vZ3K0_RFeRxm7sa-oS5ZEEUU9t-QhaYbi_TLHnQV5c,369
|
|
187
|
+
aip_agents/storage/clients/minio_client.py,sha256=7X6pHWcOz_1AT8VkAMp3WkbTtH2-8R9_TfcZyyaejAI,11988
|
|
188
|
+
aip_agents/storage/providers/__init__.py,sha256=T1G0QHQATJGxGh9U7WUa1tlc4mnh3SLQWuFwbu4ryMo,665
|
|
189
|
+
aip_agents/storage/providers/base.py,sha256=yABLl2WiFLJik9a_YHFpVovY6hF4C5DsVEEL_LLALXI,2686
|
|
190
|
+
aip_agents/storage/providers/memory.py,sha256=Zd7QwYacEfaHLCpjvV3XaHSRulhfS464U0qIJrr4rxI,3072
|
|
191
|
+
aip_agents/storage/providers/object_storage.py,sha256=RlhXdaL1YTH9oqf7crvftsicHRxJlaLO3UgLPRCWlfg,6627
|
|
192
|
+
aip_agents/tools/__init__.py,sha256=1-kGfOGy-z1k_FHcCT9UOTDGGhM6ik2W72dkGYdcpPk,227
|
|
193
|
+
aip_agents/tools/bosa_tools.py,sha256=Zu5hhHx2LCBtvw9A30wYf1x5v4DQiB6MxePh12J77a4,3516
|
|
194
|
+
aip_agents/tools/constants.py,sha256=YZJFHKJvU9XkRKG_9hOpZ9ZreMoMoBXjF3SNsN51WhI,5439
|
|
195
|
+
aip_agents/tools/memory_search_tool.py,sha256=ClXW6BEjZNHb6NHe44KxbwZ6GSGo7v7AUzaV99LMouc,679
|
|
196
|
+
aip_agents/tools/tool_config_injector.py,sha256=gEOzukaC3KzU00IVCKyhjJUKy6o59ple2PXiwiib5Rw,10859
|
|
197
|
+
aip_agents/tools/browser_use/__init__.py,sha256=d96GqCEJeNmXZRGFvIbDPyGm40XjkmtV4MgtIY3Gnwo,2211
|
|
198
|
+
aip_agents/tools/browser_use/action_parser.py,sha256=Yoleq0S8iDehXvo-AvOFur6zbPOOoQFTh9rnYluN5ec,3469
|
|
199
|
+
aip_agents/tools/browser_use/browser_use_tool.py,sha256=XIPjXVEg8TJrU8crJ23m6Mhiy4oTRpX5O92R9hAFBYg,45668
|
|
200
|
+
aip_agents/tools/browser_use/llm_config.py,sha256=8rC6ui12K5PQ4sl4OLYLbssN5ktgBUc9rWqQdqqjThw,3820
|
|
201
|
+
aip_agents/tools/browser_use/minio_storage.py,sha256=bnIzIxqGjwESdcxe7jfC-zWCVMpKnpaE6lRn6LDAJkM,7786
|
|
202
|
+
aip_agents/tools/browser_use/schemas.py,sha256=58E75ahqxBmDA4g2wTuLTe0n8Rct5X2iewPqPpIM2X8,4299
|
|
203
|
+
aip_agents/tools/browser_use/session.py,sha256=2ERduZxVspg8G29hVkMH10RPi8fJmqhMHG-tIqmKlHE,3319
|
|
204
|
+
aip_agents/tools/browser_use/session_errors.py,sha256=rVXn0LbWllcASNQs2CbYCWX2K58cyWmiLYgY4Z80K00,3759
|
|
205
|
+
aip_agents/tools/browser_use/steel_session_recording.py,sha256=cG47Dy5BcqmRfJeNf2SK-1rxOiBE5DDBDDqaNodif48,11971
|
|
206
|
+
aip_agents/tools/browser_use/streaming.py,sha256=QWNSMKUCPZHDR7p0xZNJQxI-3vfqiQQJZLo3glMutKM,28525
|
|
207
|
+
aip_agents/tools/browser_use/structured_data_parser.py,sha256=xJfdrZMMdUh3FSTPIz0MfZKebHQNkQKcUFutcHlif8M,8629
|
|
208
|
+
aip_agents/tools/browser_use/structured_data_recovery.py,sha256=jWN-R1gOhtDc-TiUyYNcIXzGbc-58L0SjKchHAduR1g,6297
|
|
209
|
+
aip_agents/tools/browser_use/types.py,sha256=ITomgi4uwP3YMzpDcJABUzB7QiN3oZSd-XBI1X-FBQY,1858
|
|
210
|
+
aip_agents/tools/code_sandbox/__init__.py,sha256=uo5gAGheFMYbRM2YGYZ7V6n8Rh3OSalymy1a6m1lJGg,651
|
|
211
|
+
aip_agents/tools/code_sandbox/constant.py,sha256=pfDb03wmFcVh0uggWA_0bj6CWeUSHC7ZikVKokeFcRQ,692
|
|
212
|
+
aip_agents/tools/code_sandbox/e2b_cloud_sandbox_extended.py,sha256=mBX9Om3sQgXelgU2IeBSl1ZqIAkiR8e0UTw0JITvpLg,10078
|
|
213
|
+
aip_agents/tools/code_sandbox/e2b_sandbox_tool.py,sha256=S5-THddk2cgEWISXcx8ETJ5Ad9LKfzvlDRn7QLounaY,17365
|
|
214
|
+
aip_agents/tools/document_loader/__init__.py,sha256=D-NVmHr7hb21ctpFrpAoj5QaC0JBNYekNZ3zV6Zn4lE,1419
|
|
215
|
+
aip_agents/tools/document_loader/base_reader.py,sha256=M6h06mOagXayK2RwLlSYqmWzdMswTPKQLIxY4tcinM4,10643
|
|
216
|
+
aip_agents/tools/document_loader/docx_reader_tool.py,sha256=KA9V4PWfvYcXP94hNjrd9QM_CG72LUbtrZobu_f8uwE,2724
|
|
217
|
+
aip_agents/tools/document_loader/excel_reader_tool.py,sha256=ehlnpqaKN2qcvfrByRzwQyxirMIXG-AKY6f__K7m6t4,6770
|
|
218
|
+
aip_agents/tools/document_loader/pdf_reader_tool.py,sha256=4JUMv6ITyCBBoA4otKjwCmasT-yHZp2urKIaP8Dc884,3188
|
|
219
|
+
aip_agents/tools/document_loader/pdf_splitter.py,sha256=-phEFl9DBoG3epUmc9ajtZ57gKCPyApSX3fjyTWOuKA,5921
|
|
220
|
+
aip_agents/tools/gl_connector/__init__.py,sha256=gGH4VY5BhETm474oAx8gU0vpAdt9CYM9433YwaK_d2I,141
|
|
221
|
+
aip_agents/tools/gl_connector/tool.py,sha256=cDzrG-jquc4gIEQiFkvc7PVenM4DAV6t_9u32t5-v4A,12350
|
|
222
|
+
aip_agents/tools/memory_search/__init__.py,sha256=jonWk8gERcM-f0l_xBIzNyHqvKXSNWXBDUdtkCbvZ48,630
|
|
223
|
+
aip_agents/tools/memory_search/base.py,sha256=JUr6WWv92DGHtjbs7BJc-xr0peQkt2TJr_tah2AvqB4,7533
|
|
224
|
+
aip_agents/tools/memory_search/mem0.py,sha256=r368pt1ZDUXHSpY3iS5ipYwXZLvGwhdLwCFwQSZn9lA,9795
|
|
225
|
+
aip_agents/tools/memory_search/schema.py,sha256=JY7ZoUKnhipjLVvQ8zkngkeJmafOOA5v67gkmgCAsHQ,1704
|
|
226
|
+
aip_agents/tools/web_search/__init__.py,sha256=1RrElM_Fz7rfn7Os2-4Sonk3-QGTnIiBUCC3cF5wg9w,515
|
|
227
|
+
aip_agents/tools/web_search/serper_tool.py,sha256=yiBk2tqnu630tokmqD-j9AakIg78-NSs8V0OqhdOb5Y,7013
|
|
228
|
+
aip_agents/types/__init__.py,sha256=WKyLhhxcreyFeeylO1LUuKjCT8Pk0gut_aMuhm2MJHI,1637
|
|
229
|
+
aip_agents/types/a2a_events.py,sha256=G5M4MFCnhu4EhkzyMyFILn-8ANZf90nwE1FhoGKwPSY,325
|
|
230
|
+
aip_agents/utils/__init__.py,sha256=vQ33EZjYw_IWL_fG-77Josz78_bt1Apu62VXfpBbo7o,2373
|
|
231
|
+
aip_agents/utils/a2a_connector.py,sha256=3kSUYOdocN3ASvwmFNufrKlZGEmWT_PX9fm4FJNDzFU,72360
|
|
232
|
+
aip_agents/utils/artifact_helpers.py,sha256=TmuCzvb81sPnaxj_AgKFZt98YB3HODfpgtQC4xbvJZg,18942
|
|
233
|
+
aip_agents/utils/constants.py,sha256=BY_6nNxHTCt2xUexLe8sc4c5745_eyXFNjMwBiFpdaI,561
|
|
234
|
+
aip_agents/utils/env_loader.py,sha256=usAIG8ICtR5vYY6s3Us3a6iOOUR2FSBBB1FVYV0XayM,994
|
|
235
|
+
aip_agents/utils/event_handler_registry.py,sha256=xEcqFGSifIvzZGMMUBIgyRdOxyZ7cFlc2Oz8Oft0peQ,2204
|
|
236
|
+
aip_agents/utils/file_prompt_utils.py,sha256=iC518JB5m6HhJCR9dRKdLHS3X4Et2-d6AgCtjeaj--0,5683
|
|
237
|
+
aip_agents/utils/final_response_builder.py,sha256=50YBwXDFOy4H32jK9Fm0ABIFHHiDbwzGZboJYXagWRE,7438
|
|
238
|
+
aip_agents/utils/formatter_llm_client.py,sha256=0XYg_uFlKmghx_KXWW-R1lunp8BjrdxmRqHXu0vg6G8,8032
|
|
239
|
+
aip_agents/utils/logger.py,sha256=6bQrAgU16wnCN_v20oSAAiGblBDPHfLii_cNB2JUMRQ,5774
|
|
240
|
+
aip_agents/utils/metadata_helper.py,sha256=9MYjyDfzPM2RFcP1bJDHSlN1DHRLSEDzSTRodm3rrvE,12888
|
|
241
|
+
aip_agents/utils/reference_helper.py,sha256=SpertteBIVj0BGI13r2r3tn5XXi-ezp0R16cByghzII,9170
|
|
242
|
+
aip_agents/utils/sse_chunk_transformer.py,sha256=b12yTQW4a2qFyy9mh2gslaI7cnHHf6d-IVVbkmUWX7s,33326
|
|
243
|
+
aip_agents/utils/step_limit_manager.py,sha256=xr-hIR_GDK4gUsqlYJzjyW5vb9mXMSBZjUsFkdIack8,11110
|
|
244
|
+
aip_agents/utils/token_usage_helper.py,sha256=JSYMvboCTWhpgvzUBAW1FdmUV9z-1iAEFDTwBJQ7WF0,5378
|
|
245
|
+
aip_agents/utils/datetime/__init__.py,sha256=cjXfj-Su5NB3iyAbWfizrnkxRYPJjEHbZ255qAWX49I,1152
|
|
246
|
+
aip_agents/utils/datetime/normalization.py,sha256=3iarJ5YVtK1RhKu0jicmpnlWXskF8q33iqPbxWLR5rw,7496
|
|
247
|
+
aip_agents/utils/datetime/timezone.py,sha256=xGGPmzbx064Xk5seZXj1eFRDXXwM7hYraV3_wPltY68,7445
|
|
248
|
+
aip_agents/utils/langgraph/__init__.py,sha256=HtMR15klo5h2KBhG8uFIIurW3BLR5ibwXl3_n0X1i8U,613
|
|
249
|
+
aip_agents/utils/langgraph/converter.py,sha256=xxHpolY7RTJuNDtdkPhKRct3ranvSd1G02GFcx79bNc,5048
|
|
250
|
+
aip_agents/utils/langgraph/tool_output_management.py,sha256=VS1JKRAAseA6rvsC63MdCnb529787QgNiTfnm59SVu0,40197
|
|
251
|
+
aip_agents/utils/langgraph/tool_managers/__init__.py,sha256=Lwy2EIBaBj61TxapY16XfiQzry2EjfLN6QxPz3l6bUw,702
|
|
252
|
+
aip_agents/utils/langgraph/tool_managers/a2a_tool_manager.py,sha256=_iQJUEPhnw0xDGSReJmZ5aiIWIJAqSL76704NhZv3K8,3913
|
|
253
|
+
aip_agents/utils/langgraph/tool_managers/base_tool_manager.py,sha256=Ud64XEr1gJG3RFcrO7L9a5_MhMHmF2BN4RHMm7VTMDw,2092
|
|
254
|
+
aip_agents/utils/langgraph/tool_managers/delegation_tool_manager.py,sha256=wnPqfIbv6pZHhIO5N_uihlV2kvJwdZ9G_KHY_TyOC1g,44055
|
|
255
|
+
aip_agents/utils/metadata/__init__.py,sha256=D9RwBkLNejVvKHwzauXZACECTt2wN4qTQvJLUEoWhlE,749
|
|
256
|
+
aip_agents/utils/metadata/activity_metadata_helper.py,sha256=K9X14RZKXDA0t5575zi23fvXZkYmGPghGkJ6bh9wuCc,14949
|
|
257
|
+
aip_agents/utils/metadata/thinking_metadata_helper.py,sha256=3wNyajskZH0-1XDjOo8uVdyUhDuN1nGvnV7gB2zEXK4,1237
|
|
258
|
+
aip_agents/utils/metadata/activity_narrative/__init__.py,sha256=c5wpDQthv9iB5w_r0uFX36wHR9QDRMi5SOwBWm9kyMo,1175
|
|
259
|
+
aip_agents/utils/metadata/activity_narrative/builder.py,sha256=0jbHd3QLg4GGG_VtwL-4jG1MO5jUVhOZFJLskuD6Sbs,33242
|
|
260
|
+
aip_agents/utils/metadata/activity_narrative/constants.py,sha256=p33eHCNM0wOZsWyW04SMauBlJ45Bt-sFyriI8weCL84,2001
|
|
261
|
+
aip_agents/utils/metadata/activity_narrative/context.py,sha256=dmp6Wu5FgMljxTNpZ_kkBK54XdU859O0tsCOOCgEt40,1359
|
|
262
|
+
aip_agents/utils/metadata/activity_narrative/formatters.py,sha256=Yy_OTzHlGXb7H4ws4s0N7kLVHKOGxnYWG6RhqSa3Eps,7559
|
|
263
|
+
aip_agents/utils/metadata/activity_narrative/utils.py,sha256=B8esMGXGm4SPNQK1rH1KgYUe2KGdJK5OWWDkRSeYEZQ,1145
|
|
264
|
+
aip_agents/utils/metadata/schemas/__init__.py,sha256=WOrGHpWZ0Z38yrFYC8f-YT4CQukQbc2smxOKFgfCJvQ,406
|
|
265
|
+
aip_agents/utils/metadata/schemas/activity_schema.py,sha256=nc0co3MCzmBtEo5oow5PXW4mT2Yl16z2XnMcxpIl764,680
|
|
266
|
+
aip_agents/utils/metadata/schemas/thinking_schema.py,sha256=ik7TlE9XnYZ2fvXnbVBCnF4GhLLaKWOSsreKlSgOT9s,753
|
|
267
|
+
aip_agents/utils/name_preprocessor/__init__.py,sha256=LaZVHLILLb864omCXVCxxmJ-M62AjwQyTAoivrUHp0M,632
|
|
268
|
+
aip_agents/utils/name_preprocessor/base_name_preprocessor.py,sha256=KJpLPyVPl902848pi2xkbYgPVQ5sC0qbIpdddU9hjGg,2098
|
|
269
|
+
aip_agents/utils/name_preprocessor/google_name_preprocessor.py,sha256=mUAGSmDlMxMCqambM4grmzddwT1tDCvcImBiv6VeyXo,3790
|
|
270
|
+
aip_agents/utils/name_preprocessor/name_preprocessor.py,sha256=80kcXzQpUwAFRAYRXXqh1Srr--qzuDSHMeDjgm856xg,3146
|
|
271
|
+
aip_agents/utils/name_preprocessor/openai_name_preprocessor.py,sha256=rcXVLJc1hAZISg-PyR2dUJT3CKw-4T9DK8Ae8T7m6tQ,1571
|
|
272
|
+
aip_agents/utils/pii/__init__.py,sha256=rt-zu1GFpi23nWQf6VBWPPN9OiWZx0cdJcHox7_VSBM,778
|
|
273
|
+
aip_agents/utils/pii/pii_handler.py,sha256=VNcnm3rrCMKKRxKCBaJ7xpqBP5aqmC9UwNLNUjc9dWs,15598
|
|
274
|
+
aip_agents/utils/pii/pii_helper.py,sha256=8QGVC9lb7dic_vSfLDUaDvqm45BUbYyPeQTVva9DsA4,6919
|
|
275
|
+
aip_agents/utils/pii/uuid_deanonymizer_mapping.py,sha256=X9zeX1bhb3rlCc8P5QnbHCILx2AIhGmZwjsjh_2G4ZQ,7543
|
|
276
|
+
aip_agents_binary-0.5.17.dist-info/METADATA,sha256=Q6NN2Up3XQVr2j2OUB-wKQLEQX-2NhscVnSYRRk16GU,23282
|
|
277
|
+
aip_agents_binary-0.5.17.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
278
|
+
aip_agents_binary-0.5.17.dist-info/top_level.txt,sha256=PEz8vcwC1bH4UrkhF0LkIYCNfXGWZUHdSklbvkBe25E,11
|
|
279
|
+
aip_agents_binary-0.5.17.dist-info/RECORD,,
|
aip_agents/__init__.pyi
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
__all__ = ['a2a', 'agent', 'clients', 'constants', 'credentials', 'executor', 'memory', 'mcp', 'schema', 'sentry', 'storage', 'tools', 'types', 'utils', '__version__']
|
|
2
|
-
|
|
3
|
-
__version__: str
|
|
4
|
-
|
|
5
|
-
# Names in __all__ with no definition:
|
|
6
|
-
# a2a
|
|
7
|
-
# agent
|
|
8
|
-
# clients
|
|
9
|
-
# constants
|
|
10
|
-
# credentials
|
|
11
|
-
# executor
|
|
12
|
-
# mcp
|
|
13
|
-
# memory
|
|
14
|
-
# schema
|
|
15
|
-
# sentry
|
|
16
|
-
# storage
|
|
17
|
-
# tools
|
|
18
|
-
# types
|
|
19
|
-
# utils
|
aip_agents/a2a/__init__.pyi
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
from aip_agents.a2a.types import ArtifactType as ArtifactType, MimeType as MimeType, get_extension_from_mime_type as get_extension_from_mime_type, get_mime_type_from_filename as get_mime_type_from_filename
|
|
2
|
-
|
|
3
|
-
__all__ = ['ArtifactType', 'MimeType', 'get_mime_type_from_filename', 'get_extension_from_mime_type']
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
from _typeshed import Incomplete
|
|
2
|
-
from a2a.server.agent_execution import AgentExecutor as A2ASDKExecutor, RequestContext
|
|
3
|
-
from a2a.server.events.event_queue import EventQueue
|
|
4
|
-
from abc import ABC, abstractmethod
|
|
5
|
-
from aip_agents.types import A2AEvent as A2AEvent, A2AStreamEventType as A2AStreamEventType
|
|
6
|
-
from aip_agents.utils import serialize_references_for_metadata as serialize_references_for_metadata
|
|
7
|
-
from aip_agents.utils.artifact_helpers import ArtifactHandler as ArtifactHandler
|
|
8
|
-
from aip_agents.utils.logger import get_logger as get_logger
|
|
9
|
-
from aip_agents.utils.metadata_helper import MetadataFieldKeys as MetadataFieldKeys
|
|
10
|
-
from collections.abc import Callable as Callable
|
|
11
|
-
from dataclasses import dataclass
|
|
12
|
-
from typing import Any
|
|
13
|
-
|
|
14
|
-
logger: Incomplete
|
|
15
|
-
|
|
16
|
-
@dataclass
|
|
17
|
-
class StatusUpdateParams:
|
|
18
|
-
"""Parameters for status updates."""
|
|
19
|
-
metadata: dict[str, Any] | None = ...
|
|
20
|
-
final: bool = ...
|
|
21
|
-
task_id: str | None = ...
|
|
22
|
-
context_id: str | None = ...
|
|
23
|
-
|
|
24
|
-
class BaseA2AExecutor(A2ASDKExecutor, ABC):
|
|
25
|
-
"""Abstract base class for GLLM Agent framework's A2A server-side executors.
|
|
26
|
-
|
|
27
|
-
This class extends the A2A SDK's `AgentExecutor`. It serves as a common
|
|
28
|
-
foundation for specific executors tailored to different agent types within the
|
|
29
|
-
`aip-agents` framework, such as `LangGraphA2AExecutor` or
|
|
30
|
-
`GoogleADKA2AExecutor`.
|
|
31
|
-
|
|
32
|
-
Subclasses are required to implement the `execute` method to handle A2A
|
|
33
|
-
requests. The `cancel` method has a common implementation.
|
|
34
|
-
|
|
35
|
-
Attributes:
|
|
36
|
-
_active_tasks (dict[str, asyncio.Task]): A dictionary mapping task IDs to
|
|
37
|
-
their corresponding asyncio.Task instances for active agent executions.
|
|
38
|
-
"""
|
|
39
|
-
def __init__(self) -> None:
|
|
40
|
-
"""Initializes the BaseA2AExecutor."""
|
|
41
|
-
@abstractmethod
|
|
42
|
-
async def execute(self, context: RequestContext, event_queue: EventQueue) -> None:
|
|
43
|
-
"""Processes an incoming agent request and manages its execution.
|
|
44
|
-
|
|
45
|
-
Implementations should interact with the underlying agent (e.g., a LangGraph
|
|
46
|
-
or Google ADK agent) based on the provided `context`. All communications
|
|
47
|
-
regarding task status, artifacts, and completion must be sent through
|
|
48
|
-
the `event_queue`.
|
|
49
|
-
|
|
50
|
-
This method typically involves:
|
|
51
|
-
1. Calling `_handle_initial_execute_checks` for validation and setup.
|
|
52
|
-
2. Defining an agent-specific coroutine for processing (e.g., `_process_stream`).
|
|
53
|
-
3. Calling `_execute_agent_processing` to manage the lifecycle of this coroutine.
|
|
54
|
-
|
|
55
|
-
Args:
|
|
56
|
-
context (RequestContext): The request context containing information about the incoming
|
|
57
|
-
message, task, and other relevant data.
|
|
58
|
-
event_queue (EventQueue): The queue used to send events (e.g., task status updates,
|
|
59
|
-
artifacts) back to the A2A server infrastructure.
|
|
60
|
-
"""
|
|
61
|
-
async def cancel(self, context: RequestContext, event_queue: EventQueue) -> None:
|
|
62
|
-
"""Handles a request to cancel an ongoing agent task.
|
|
63
|
-
|
|
64
|
-
This method attempts to cancel an active asyncio.Task associated with the
|
|
65
|
-
given `context.task_id`. It waits for a short period for the task to handle
|
|
66
|
-
the cancellation gracefully. The `event_queue` is used to report the
|
|
67
|
-
outcome of the cancellation attempt (e.g., success, error during cleanup).
|
|
68
|
-
|
|
69
|
-
Args:
|
|
70
|
-
context (RequestContext): The request context for the task to be cancelled,
|
|
71
|
-
primarily used to get the `task_id` and `context_id`.
|
|
72
|
-
event_queue (EventQueue): The queue for sending cancellation status events.
|
|
73
|
-
"""
|