feat(cli): add --wait-for-triggers flag for local execution without orchestrator (WIP)#1233
Open
feat(cli): add --wait-for-triggers flag for local execution without orchestrator (WIP)#1233
Conversation
…rchestrator
Add CLI flags to enable polling mode for triggers instead of suspending:
- `--wait-for-triggers`: Poll triggers until completion instead of suspending
- `--trigger-poll-interval`: Configurable poll interval (default: 5.0s)
This enables running agents locally with tool calls (InvokeProcess, CreateTask, etc.)
without requiring serverless/orchestrator infrastructure.
Usage:
uipath run my_agent.main '{"query": "hello"}' --wait-for-triggers
uipath run my_agent.main '{"query": "hello"}' --wait-for-triggers --trigger-poll-interval 10.0
Depends on: UiPath/uipath-runtime-python#74
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Chibionos
reviewed
Jan 29, 2026
| "uipath-runtime>=0.6.2, <0.7.0", | ||
| "uipath-core>=0.2.0, <0.3.0", | ||
| # TODO: Change back to "uipath-runtime>=0.7.0, <0.8.0" once PR #74 is merged and released | ||
| "uipath-runtime @ git+https://github.com/UiPath/uipath-runtime-python.git@feature/wait-for-triggers", |
Chibionos
requested changes
Jan 29, 2026
Contributor
Chibionos
left a comment
There was a problem hiding this comment.
moving this to WIP as we need to ensure we have the runtime change go in before this
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.
Summary
--wait-for-triggersCLI flag to poll triggers until completion instead of suspending--trigger-poll-intervalCLI flag for configurable poll interval (default: 5.0s)pyproject.tomlto referenceuipath-runtimefrom PR cli: runtime fix payload deserialize #74 branchThis enables running agents locally with tool calls (InvokeProcess, CreateTask, etc.) without requiring serverless/orchestrator infrastructure.
Usage
Dependencies
Test plan
uipath runwith--wait-for-triggersflag locally🤖 Generated with Claude Code