-
Notifications
You must be signed in to change notification settings - Fork 96
feat(consumption): Add Invoke Nested Agent operation for Consumption Logic Apps #8660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
✅ Contributors
✅ Screenshots/Videos
Summary Table
Final message: This PR passes the PR body/title checklist. The advised risk level is
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds the "Invoke Nested Agent" operation for Consumption Logic Apps, enabling users to send tasks to nested agent workflows. Previously, this functionality was only available for Standard Logic Apps via backend manifests. The implementation creates a static manifest for the operation and integrates it with the Azure Logic Apps connector group, including workflow filtering to display only Logic Apps with A2A Request (Agent) triggers.
Key Changes:
- Created static manifest for
invokeNestedAgentoperation with taskMessage input and standard workflow outputs - Added
getAgentWorkflows()method to filter workflows bytrigger.kind === 'agent' - Integrated Azure Resource Selection UI in both designer v1 and v2 for agent workflow picker
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Upgraded turbo from 2.3.0 to 2.6.3 and reformatted lint-staged config (unrelated changes) |
| pnpm-lock.yaml | Lock file updates corresponding to turbo version upgrade |
| libs/logic-apps-shared/src/designer-client-services/lib/search.ts | Added getAgentWorkflows() method signature to ISearchService interface |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/search.ts | Registered invokeNestedAgentOperation in built-in operations list |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/operations/invokeWorkflow.ts | Defined invokeNestedAgentOperation with NestedAgent type and azureResourceSelection capability |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/operationmanifest.ts | Added nestedagent type mapping and manifest registration |
| libs/logic-apps-shared/src/designer-client-services/lib/consumption/manifests/invokeNestedAgent.ts | Created manifest with taskMessage input, workflow host requirements, and standard outputs |
| libs/logic-apps-shared/src/designer-client-services/lib/base/search.ts | Implemented getAgentWorkflows() with client-side filtering for agent-kind triggers |
| libs/logic-apps-shared/src/designer-client-services/lib/test/mocks/builtInOperationResponse.ts | Added mock data for invokeNestedAgent operation in test fixtures |
| libs/designer/src/lib/ui/panel/recommendation/azureResourceSelection.tsx | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION case with agentWorkflow resource type |
| libs/designer/src/lib/common/constants.ts | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION constant |
| libs/designer-v2/src/lib/ui/panel/recommendation/azureResourceSelection.tsx | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION case (mirroring v1 implementation) |
| libs/designer-v2/src/lib/common/constants.ts | Added SELECT_NESTED_AGENT_WORKFLOW_ACTION constant |
| apps/Standalone/src/templates/app/TemplatesConsumption.tsx | Registered invokenestedagent in clientSupportedOperations |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/laDesignerConsumptionV2.tsx | Registered invokenestedagent in clientSupportedOperations |
| apps/Standalone/src/designer/app/AzureLogicAppsDesigner/laDesignerConsumption.tsx | Registered invokenestedagent in clientSupportedOperations |
| Localize/lang/strings.json | Added localization string "Select workflow with an Agent loop" (ID: QMuDPI) |
Commit Type
Risk Level
What & Why
This PR adds the Invoke Nested Agent operation for Consumption Logic Apps, enabling users to send tasks to nested agent workflows from within their Logic App workflows. Previously, the nested agent functionality was only available for Standard Logic Apps (fetched from backend). This change implements the same capability for Consumption Logic Apps by:
invokeNestedAgentoperationinvokeWorkflow)azureResourceSelectioncapability for workflow picker UIThis allows Consumption Logic App users to invoke agent workflows as nested operations, enabling more complex AI agent orchestration scenarios.
Impact of Change
InvokeNestedAgentManifestextendedazureResourceSelectionfor nested agent selection and addedgetAgentWorkflows()toSearchServicefor filtering agent-enabled workflows.Test Plan
Contributors
@Bhavd13
Screenshots/Videos
nestedagent.recording.mp4