Repository navigation
Conversation
Draft proposal for letting agents create sub-agent and tool sandboxes through a gateway-hosted MCP endpoint, with user-set grants, lineage, prover-checked ceilings and a supervisor door. RFC number to be assigned from the originating issue. Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
…olicy as a maximum; host callers act as the user; MCP on by default Also adds sandboxes-from-sandboxes use cases (RL environments) and future work on returning results and agent-to-agent communication. Signed-off-by: patkraw <pkrawczuk@nvidia.com>
…/2 proxy, or gRPC-Web/Connect) Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
… heading Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
…nt profiles as future work Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
…e 2, grant tools and token audience Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
…lags; grant get Signed-off-by: patkraw <pkrawczuk@nvidia.com>
…esult collection - grant create replaces a revoked or expired grant for the running tree. - Grant listing and changes are limited to the grant's user or a Workspace Admin, checked before any change. - request_id is scoped to the parent and reserved with the slot; duplicates get IN_PROGRESS; limits are charged atomically. - The walkthrough collects a result with an explicit done signal. - The proof-of-concept paragraph points to the commit-specific result. Signed-off-by: patkraw <pkrawczuk@nvidia.com>
…nters, revocation and production gaps Signed-off-by: patkraw <pkrawczuk@nvidia.com>
Signed-off-by: patkraw <pkrawczuk@nvidia.com>
|
All contributors have signed the DCO ✍️ ✅ |
Author
|
I have read the DCO document and I hereby sign the DCO. |
…r and why tool sandboxes skip depth Signed-off-by: patkraw <pkrawczuk@nvidia.com>
This branch has not been deployed
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
RFC 0021 proposes letting an agent inside a sandbox create child sandboxes (sub-agents and tool sandboxes) through an MCP endpoint served by the gateway, within a grant the user sets. Every child's policy is proved to fit inside its parent's, depth, breadth and total limits hold across the tree, the agent holds no credential, and stopping a parent stops its children first.
Related Issue
Closes #4574
Maintainers accepted the issue and assigned RFC 0021. If you'd prefer a separate RFC tracking issue (as with #4610), I'll switch the link.
Changes
rfc/0021-gateway-mcp-sandbox-creation/README.mdindraftstate.Implementation
A proof of concept is on
patkraw/OpenShellbranchgateway-mcp-poc, with hands-on tutorials for the CLI, the SDKs and MCP. Its end-to-end checks (74/74) run against a dev gateway with the Docker driver. Feedback is especially welcome on the grant model, the policy boundary, the API, and the name ("gateway MCP" may be confused with MCP gateways such as agentgateway).Testing
Checklist