Skip to content

feat: report agent framework from integration factories [PC-5233] - #375

Merged
tudormatei1 merged 3 commits into
mainfrom
feat/report-agent-framework
Oct 20, 2026
Merged

tudormatei1 merged 3 commits into
mainfrom
feat/report-agent-framework

Conversation

@tudormatei1

@tudormatei1 tudormatei1 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

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_coded and 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 of unknown.

The uipath pin 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 pulls uipath-runtime to 0.13.5 and moves a few transitive deps in the lock files. The uipath new scaffolds 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 AgentFramework to the events; the uipath floor is 2.14.41, the release that carries it.

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.
@tudormatei1
tudormatei1 marked this pull request as ready for review October 19, 2026 15:27
Copilot AI balanced review requested due to automatic review settings October 19, 2026 15:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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_coded and 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.
@sonarqubecloud

Copy link
Copy Markdown

@tudormatei1
tudormatei1 merged commit adf17a4 into main Oct 20, 2026
92 of 95 checks passed
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.

3 participants