Repository navigation
feat: report agent framework from integration factories [PC-5233] - #375
Merged
Merged
Conversation
The llamaindex, openai-agents, google-adk, pydantic-ai and agent-framework factories returned no settings, so coded run telemetry and governance audit events could not tell these frameworks apart. Each factory now reports uipath_coded and its registry name as the framework. They also move to uipath 2.14, the first line that emits CodedAgentRun events. Before this they were pinned below it and sent no run telemetry.
Use the underscore labels uipath-runtime documents for governance (openai_agents, google_adk, agent_framework, and pydantic_ai to match), since the same strings land in App Insights and audit events. The llamaindex, openai-agents, google-adk and pydantic-ai scaffolds still pinned the previous minor line, so projects created with uipath new resolved to versions that report no framework. They now start at the versions in this change, with a test that the range accepts the package's own release.
radu-mocanu
approved these changes
Oct 19, 2026
There was a problem hiding this comment.
🔵 Needs a closer look
End-to-end telemetry needs confirmation against the pending companion SDK change and its final minimum dependency version.
No open issues 🎉
What changed in this PR
Adds framework metadata to five UiPath integration factories for governance reporting and framework-aware telemetry, paired with UiPath/uipath-python#1947.
Changes:
- Returns
uipath_codedand a framework-specific label from each factory. - Updates package versions, SDK/runtime requirements, lock files, and four project scaffolds.
- Adds factory metadata and scaffold compatibility tests.
| File | Description |
|---|---|
| packages/uipath-pydantic-ai/uv.lock | Refreshes locked dependencies. |
| packages/uipath-pydantic-ai/tests/test_factory_runtime.py | Verifies framework settings. |
| packages/uipath-pydantic-ai/tests/test_cli_new.py | Checks scaffold release compatibility. |
| packages/uipath-pydantic-ai/src/uipath_pydantic_ai/runtime/factory.py | Reports pydantic_ai metadata. |
| packages/uipath-pydantic-ai/src/uipath_pydantic_ai/_cli/cli_new.py | Updates scaffold dependency range. |
| packages/uipath-pydantic-ai/pyproject.toml | Bumps release and dependency requirements. |
| packages/uipath-openai-agents/uv.lock | Refreshes locked dependencies. |
| packages/uipath-openai-agents/tests/test_factory.py | Verifies framework settings. |
| packages/uipath-openai-agents/tests/test_cli_new.py | Checks scaffold release compatibility. |
| packages/uipath-openai-agents/src/uipath_openai_agents/runtime/factory.py | Reports openai_agents metadata. |
| packages/uipath-openai-agents/src/uipath_openai_agents/_cli/cli_new.py | Updates scaffold dependency range. |
| packages/uipath-openai-agents/pyproject.toml | Bumps release and dependency requirements. |
| packages/uipath-llamaindex/uv.lock | Refreshes locked dependencies. |
| packages/uipath-llamaindex/tests/runtime/test_factory.py | Verifies framework settings. |
| packages/uipath-llamaindex/tests/cli/test_cli_new.py | Checks scaffold release compatibility. |
| packages/uipath-llamaindex/src/uipath_llamaindex/runtime/factory.py | Reports llamaindex metadata. |
| packages/uipath-llamaindex/src/uipath_llamaindex/_cli/cli_new.py | Updates scaffold dependency range. |
| packages/uipath-llamaindex/pyproject.toml | Bumps release and dependency requirements. |
| packages/uipath-google-adk/uv.lock | Refreshes locked dependencies. |
| packages/uipath-google-adk/tests/test_factory.py | Verifies framework settings. |
| packages/uipath-google-adk/tests/test_cli_new.py | Checks scaffold release compatibility. |
| packages/uipath-google-adk/src/uipath_google_adk/runtime/factory.py | Reports google_adk metadata. |
| packages/uipath-google-adk/src/uipath_google_adk/_cli/cli_new.py | Updates scaffold dependency range. |
| packages/uipath-google-adk/pyproject.toml | Bumps release and dependency requirements. |
| packages/uipath-agent-framework/uv.lock | Refreshes locked dependencies. |
| packages/uipath-agent-framework/tests/test_factory.py | Verifies framework settings. |
| packages/uipath-agent-framework/src/uipath_agent_framework/runtime/factory.py | Reports agent_framework metadata. |
| packages/uipath-agent-framework/pyproject.toml | Bumps release and dependency requirements. |
Review effort: Balanced
2.14.41 is the first release that sends AgentFramework on coded run events, so pinning below it would let these packages install without it.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Coded run telemetry reads the framework from the factory settings, but these five factories returned none, so a llamaindex run and an openai-agents run looked the same in App Insights. Each now reports
uipath_codedand a framework label:llamaindex,openai_agents,google_adk,pydantic_ai,agent_framework. The underscore form follows the list uipath-runtime documents for governance metadata, and governance audit events pick these up too instead ofunknown.The
uipathpin moves from 2.13 to 2.14. The 2.13 line has no coded run events, so these packages sent no run telemetry before this. That pullsuipath-runtimeto 0.13.5 and moves a few transitive deps in the lock files. Theuipath newscaffolds were still pinned to the previous minor line, so new projects would have resolved to versions that report nothing; they now start at the versions in this PR. Every package's tests, mypy and ruff pass on uipath 2.14.41.Pairs with UiPath/uipath-python#1947 (merged), which adds
AgentFrameworkto the events; theuipathfloor is 2.14.41, the release that carries it.