Skip to content

fix(examples): declare local SDK workspace deps#222

Merged
abhinav-galileo merged 2 commits into
mainfrom
abhi/example-telemetry-dep
May 14, 2026
Merged

fix(examples): declare local SDK workspace deps#222
abhinav-galileo merged 2 commits into
mainfrom
abhi/example-telemetry-dep

Conversation

@abhinav-galileo
Copy link
Copy Markdown
Collaborator

@abhinav-galileo abhinav-galileo commented May 13, 2026

Summary

Fix example projects that install agent-control-sdk from the local workspace path.

Published SDK wheels bundle the SDK's internal sibling packages where appropriate, but local path installs bypass that wheel bundling. These examples therefore need to declare the sibling workspace packages they import through the SDK.

Changes

  • Adds agent-control-telemetry to examples that already use local agent-control-sdk path sources.
  • Makes examples/strands_agents consistent with the other local SDK examples by declaring the local agent-control-engine, agent-control-evaluators, agent-control-models, and agent-control-telemetry sources.

Verification

  • git diff --check
  • From examples/strands_agents:
uv run python -c "import agent_control; from agent_control_telemetry.trace_context import TraceContext; print('ok')"

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).
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@abhinav-galileo abhinav-galileo changed the title fix(examples): add missing agent-control-telemetry dep fix(examples): declare local SDK workspace deps May 13, 2026
@abhinav-galileo abhinav-galileo merged commit d22aa1d into main May 14, 2026
7 checks passed
@abhinav-galileo abhinav-galileo deleted the abhi/example-telemetry-dep branch May 14, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants