Vercel CLI for Marketplace integrations optimized for agents
Source: Vercel Blog
Overview
AI agents can now autonomously discover, install, and retrieve setup instructions for Vercel Marketplace integrations using the Vercel CLI. This enables agents to configure databases, authentication, logging, and other services end‑to‑end in a single workflow.
Discovering integrations
The new discover command provides a list of available integrations. Using the --format=json flag returns non‑interactive JSON output, which is useful for automation, custom scripts, and CI/CD pipelines.
vercel integration discover --format=json
Adding an integration and fetching guides
After selecting an integration, agents can add it and retrieve a getting‑started guide with the guide command.
vercel integration add neon --format=json
vercel integration guide neon
The Vercel CLI returns the setup documentation in an agent‑friendly Markdown format, making it easy to parse, generate integration code, and configure the project autonomously.
Handling required metadata
For integrations that require additional metadata fields, the help command shows the necessary inputs. These can then be passed as options to the add command.
vercel integration add upstash/upstash-redis --help
vercel integration add upstash/upstash-redis -m primaryRegion=iad1 --format=json
Human‑in‑the‑loop decisions
The CLI allows pausing the process for human decisions, such as accepting terms of service. Agents can prompt developers for confirmation, enabling hybrid workflows that combine autonomous actions with human oversight.
Updating the Vercel CLI
Ensure you are using the latest version of the Vercel CLI to access these features:
pnpm i -g vercel@latest
For more details, see the official Vercel CLI integration documentation.