Vercel AI SDK connects to Provely through the MCP server, the CLI, the SDK, the REST API. The agent does the action. Provely verifies the outcome and signs a receipt. Vercel AI SDK never holds the verifier credentials.

A person verified the Vercel AI SDK capabilities on 2026-10-06. Agent products change monthly. Re-verify before you build.

Source: integration profile vercel-ai · retrieved 2026-10-06

Which surfaces does Vercel AI SDK use?

SurfaceSupportDetail
MCP serverSupportedtransport stdio, http
CLISupportedRuns through the shell tool of the agent.
SDKSupportedlanguages typescript
REST APISupportedAny HTTP call reaches the control plane.

Which guidance files does Vercel AI SDK read?

Provely ships one Agent Skill for this host, so the agent knows to verify an outcome before it claims done. The renderer writes prompt fragment from one source. A new agent needs a profile, not core code.

Explain: each file, its path and its write mode
FormatPathMode
prompt fragmentprovely/prompt-fragment.mdfragment
CI gate workflow.provely/ci/github-actions.ymlfragment

How is a false completion claim blocked?

Guidance asks. A hook and the CI gate enforce. A host with neither still receives the verdict, and a person reads it before the work ships.

Explain: what each control does on this host
EnforcementSupportDetail
Advisory guidanceSupportedThe instruction files state the rules for every agent.
Lifecycle hooksSupportedtool_execute
CI gateSupportedprovely verify --wait fails the pipeline unless the verdict is VERIFIED.

How do I connect Vercel AI SDK?

Connect Vercel AI SDK to Provely

  1. Install the CLI.Run npx provely --version, or download the static binary.
  2. Register the MCP server.Add the Provely server. Use provely mcp for stdio, or the hosted HTTP server with a bearer token. The tools are begin, verify, status, and receipt.
  3. Write the guidance files.Run provely init --agent vercel-ai. It writes provely/prompt-fragment.md (fragment), .provely/ci/github-actions.yml (fragment). The guidance carries one rule: a successful tool call is not completion.
  4. Install the hooks.Enable the tool_execute hooks. A hook calls the CLI and blocks a completion claim while an operation is PENDING.
  5. Add the CI gate.Run provely verify --wait <duration> in the pipeline. The step fails unless the verdict is VERIFIED. Exit codes: 0 VERIFIED, 2 PENDING, 3 FAILED, 4 CONTRADICTED, 5 UNVERIFIABLE, 1 error.
  6. Report the verdict exactly as returned.VERIFIED: "The action is verified complete. Receipt: <id>." PENDING: "The action is accepted but not yet verified. Operation: <id>."

What else does the profile state?

  • Verified 2026-10-06: this repository ships the interception point. import '@provely/instrumentations/register' guards generateText, streamText, and ToolLoopAgent when a file imports them. The guard checks each tool call before execute runs. Source: examples/typescript/vercel-ai/app.ts.
  • The interception point is the register import, not a script. It blocks only when the process loads it before the ai package. A process that never loads it gets advisory guidance and the CI gate.

Vercel AI SDK keeps its action credentials, and no surface returns the verifier credentials to it. Read the credential boundary. An operation outlives the session that opened it. Read the API reference.

Which host versions does the profile cover?

>=7.0.0. The integrations team last verified the profile with ai 7.0.128 and @provely/instrumentations 0.1.0 on 2026-10-06.