Skip to content

[sandbox-cli] Add managed AI Gateway agent setup - #386

Open
erulkey wants to merge 1 commit into
mainfrom
elisabeth/gateway-1-managed-cli-20261014
Open

erulkey wants to merge 1 commit into
mainfrom
elisabeth/gateway-1-managed-cli-20261014

Conversation

@erulkey

@erulkey erulkey commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

Let users launch a coding agent with sandbox create --ai codex using their Vercel login to authorize a managed Gateway session key. Bare --ai prepares all four agents on the universal image; a custom image receives Gateway access without changes to its agent configuration.

The SDK forwards enableAiGateway. Agent configuration uses placeholder credentials; the backend injects the real key through the external firewall. Reconnect restores configuration, and successful setup prints the credential mode unless --silent is set. This layer always requests managed credentials and does not read local Gateway keys.

The managed backend rollout is a release dependency. The intermediate CLI passes 273 tests and builds; those local checks do not establish deployed issuance or cleanup.

Split from vercel/sandbox#382. Managed backend: vercel/api#98665.

@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sandbox-sdk-ai-example Ready Ready Preview Oct 14, 2026 7:35pm UTC
workflow-code-runner Ready Ready Preview Oct 14, 2026 7:35pm UTC

Request Review

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​smol-toml@​1.4.21008210090100

View full report

This branch was successfully deployed

2 active deployments
Preview – sandbox-sdk-ai-example — 37b7f9e0 Deployed Oct 14, 2026 by vercel[bot]
Preview – workflow-code-runner — 37b7f9e0 Deployed Oct 14, 2026 by vercel[bot]
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.

1 participant