From 5536f6163189da0b01856efab4c32e9347f422fb Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Wed, 13 May 2026 14:35:37 +0530 Subject: [PATCH 1/2] fix(examples): add missing agent-control-telemetry dep The SDK imports agent_control_telemetry at module load. Wheel builds vendor telemetry into the SDK package, so PyPI installs work. Examples that override agent-control-sdk with a workspace path source bypass that vendoring and need telemetry declared as a separate workspace package, otherwise importing the SDK fails with ModuleNotFoundError. Add agent-control-telemetry to the affected example pyprojects (deps and uv source path). --- examples/cisco_ai_defense/pyproject.toml | 4 +++- examples/google_adk_callbacks/pyproject.toml | 2 ++ examples/google_adk_decorator/pyproject.toml | 2 ++ examples/google_adk_plugin/pyproject.toml | 2 ++ examples/langchain/pyproject.toml | 2 ++ examples/steer_action_demo/pyproject.toml | 2 ++ examples/strands_agents/pyproject.toml | 2 ++ 7 files changed, 15 insertions(+), 1 deletion(-) diff --git a/examples/cisco_ai_defense/pyproject.toml b/examples/cisco_ai_defense/pyproject.toml index 80d21d5c..95185d18 100644 --- a/examples/cisco_ai_defense/pyproject.toml +++ b/examples/cisco_ai_defense/pyproject.toml @@ -8,10 +8,11 @@ dependencies = [ "httpx>=0.24.0", # Use the local SDK for decorator-based example "agent-control-sdk>=5.2.0", - # When using SDK from path/editable, engine and models are not vendored + # When using SDK from path/editable, engine, models, and telemetry are not vendored "agent-control-engine>=5.2.0", "agent-control-models>=5.2.0", "agent-control-evaluators>=5.2.0", + "agent-control-telemetry>=5.2.0", ] [project.optional-dependencies] @@ -38,3 +39,4 @@ agent-control-sdk = { path = "../../sdks/python", editable = true } agent-control-models = { path = "../../models", editable = true } agent-control-engine = { path = "../../engine", editable = true } agent-control-evaluators = { path = "../../evaluators/builtin", editable = true } +agent-control-telemetry = { path = "../../telemetry", editable = true } diff --git a/examples/google_adk_callbacks/pyproject.toml b/examples/google_adk_callbacks/pyproject.toml index dfd78e1d..a0fd20ff 100644 --- a/examples/google_adk_callbacks/pyproject.toml +++ b/examples/google_adk_callbacks/pyproject.toml @@ -8,6 +8,7 @@ dependencies = [ "agent-control-engine", "agent-control-evaluators", "agent-control-models", + "agent-control-telemetry", "agent-control-sdk", "google-adk>=1.0.0,<2.0.0", "google-genai>=1.0.0", @@ -26,3 +27,4 @@ agent-control-sdk = { path = "../../sdks/python", editable = true } agent-control-models = { path = "../../models", editable = true } agent-control-engine = { path = "../../engine", editable = true } agent-control-evaluators = { path = "../../evaluators/builtin", editable = true } +agent-control-telemetry = { path = "../../telemetry", editable = true } diff --git a/examples/google_adk_decorator/pyproject.toml b/examples/google_adk_decorator/pyproject.toml index 43815f25..b9cc7567 100644 --- a/examples/google_adk_decorator/pyproject.toml +++ b/examples/google_adk_decorator/pyproject.toml @@ -8,6 +8,7 @@ dependencies = [ "agent-control-engine", "agent-control-evaluators", "agent-control-models", + "agent-control-telemetry", "agent-control-sdk", "google-adk>=1.0.0,<2.0.0", "google-genai>=1.0.0", @@ -26,3 +27,4 @@ agent-control-sdk = { path = "../../sdks/python", editable = true } agent-control-models = { path = "../../models", editable = true } agent-control-engine = { path = "../../engine", editable = true } agent-control-evaluators = { path = "../../evaluators/builtin", editable = true } +agent-control-telemetry = { path = "../../telemetry", editable = true } diff --git a/examples/google_adk_plugin/pyproject.toml b/examples/google_adk_plugin/pyproject.toml index 2b5d08fa..88b0ccc6 100644 --- a/examples/google_adk_plugin/pyproject.toml +++ b/examples/google_adk_plugin/pyproject.toml @@ -8,6 +8,7 @@ dependencies = [ "agent-control-engine", "agent-control-evaluators", "agent-control-models", + "agent-control-telemetry", "agent-control-sdk", "google-adk>=1.0.0,<2.0.0", "google-genai>=1.0.0", @@ -26,3 +27,4 @@ agent-control-sdk = { path = "../../sdks/python", editable = true } agent-control-models = { path = "../../models", editable = true } agent-control-engine = { path = "../../engine", editable = true } agent-control-evaluators = { path = "../../evaluators/builtin", editable = true } +agent-control-telemetry = { path = "../../telemetry", editable = true } diff --git a/examples/langchain/pyproject.toml b/examples/langchain/pyproject.toml index bf249abf..b026a27a 100644 --- a/examples/langchain/pyproject.toml +++ b/examples/langchain/pyproject.toml @@ -7,6 +7,7 @@ dependencies = [ "agent-control-engine", "agent-control-models", "agent-control-evaluators", + "agent-control-telemetry", "agent-control-sdk", "langchain>=0.3.0", "langchain-community>=0.3.0", @@ -43,3 +44,4 @@ agent-control-sdk = { path = "../../sdks/python", editable = true } agent-control-models = { path = "../../models", editable = true } agent-control-engine = { path = "../../engine", editable = true } agent-control-evaluators = { path = "../../evaluators/builtin", editable = true } +agent-control-telemetry = { path = "../../telemetry", editable = true } diff --git a/examples/steer_action_demo/pyproject.toml b/examples/steer_action_demo/pyproject.toml index d0dbe41c..9fb3be29 100644 --- a/examples/steer_action_demo/pyproject.toml +++ b/examples/steer_action_demo/pyproject.toml @@ -7,6 +7,7 @@ dependencies = [ "agent-control-engine", "agent-control-models", "agent-control-evaluators", + "agent-control-telemetry", "agent-control-sdk", "langchain>=0.3.0", "langchain-community>=0.3.0", @@ -38,3 +39,4 @@ agent-control-sdk = { path = "../../sdks/python", editable = true } agent-control-models = { path = "../../models", editable = true } agent-control-engine = { path = "../../engine", editable = true } agent-control-evaluators = { path = "../../evaluators/builtin", editable = true } +agent-control-telemetry = { path = "../../telemetry", editable = true } diff --git a/examples/strands_agents/pyproject.toml b/examples/strands_agents/pyproject.toml index 56dcc78f..591aff80 100644 --- a/examples/strands_agents/pyproject.toml +++ b/examples/strands_agents/pyproject.toml @@ -6,6 +6,7 @@ readme = "README.md" requires-python = ">=3.12" dependencies = [ "agent-control-sdk[strands-agents]>=6.3.0", + "agent-control-telemetry>=6.3.0", "openai>=1.0.0", "python-dotenv>=1.0.0", "httpx>=0.24.0", @@ -41,3 +42,4 @@ python_files = ["*_test.py", "test_*.py"] [tool.uv.sources] agent-control-sdk = { path = "../../sdks/python", editable = true } +agent-control-telemetry = { path = "../../telemetry", editable = true } From 6dcc502fa959ac3bfe0ad1c4475dec776c320bd1 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Wed, 13 May 2026 14:57:16 +0530 Subject: [PATCH 2/2] fix(examples): complete strands local SDK deps --- examples/strands_agents/pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/strands_agents/pyproject.toml b/examples/strands_agents/pyproject.toml index 591aff80..5b707f52 100644 --- a/examples/strands_agents/pyproject.toml +++ b/examples/strands_agents/pyproject.toml @@ -6,6 +6,9 @@ readme = "README.md" requires-python = ">=3.12" dependencies = [ "agent-control-sdk[strands-agents]>=6.3.0", + "agent-control-engine>=6.3.0", + "agent-control-evaluators>=6.3.0", + "agent-control-models>=6.3.0", "agent-control-telemetry>=6.3.0", "openai>=1.0.0", "python-dotenv>=1.0.0", @@ -42,4 +45,7 @@ python_files = ["*_test.py", "test_*.py"] [tool.uv.sources] agent-control-sdk = { path = "../../sdks/python", editable = true } +agent-control-models = { path = "../../models", editable = true } +agent-control-engine = { path = "../../engine", editable = true } +agent-control-evaluators = { path = "../../evaluators/builtin", editable = true } agent-control-telemetry = { path = "../../telemetry", editable = true }