feat(flow): add invocation-scoped external tool registries - #856
Draft
schicaelmott wants to merge 6 commits into
Draft
feat(flow): add invocation-scoped external tool registries#856schicaelmott wants to merge 6 commits into
schicaelmott wants to merge 6 commits into
Conversation
schicaelmott
force-pushed
the
codex/external-tool-registry
branch
from
August 19, 2026 17:44
e585f31 to
47d17ae
Compare
filip131311
added a commit
that referenced
this pull request
Aug 21, 2026
## Summary - add `argent flow run --json-stream` - stream flow progress as JSON lines - finish with a JSON result or error ## Why `--json` prints only after a flow finishes. `--json-stream` lets scripts and CI see live progress. ## Why this is a separate PR This is useful without the custom-tools feature in #856. ## Validation - `npm test -w @argent/cli -- flow.test.ts` — 106 tests passed - `npm run typecheck:tests -w @argent/cli` - `npm run build -w @argent/cli` --------- Co-authored-by: Filip131311 <contact@filipkaminski.com>
Reconciles the branch's NDJSON streaming draft with the version that landed as software-mansion#855: requireLocalToolServer now returns the refusal (with the external registry hint appended) and the --tool-registry pre-flight errors go through fail() so --json-stream emits a structured error event.
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
argent flow run --tool-registry <path>Stack
Stacked on #855 to test custom tools with
--json-stream.Why
Flows can currently call only tools that ship with Argent. This lets projects add local flow steps without changing Argent itself.
Why this is a separate PR
Custom tools need a separate API and safety review. #855 can still merge on its own.
Validation