โ–ฒStalecollected in 19h

Vercel adds Agent Runs support to MCP and CLI

Vercel adds Agent Runs support to MCP and CLI
PostLinkedIn
โ–ฒRead original on Vercel News

๐Ÿ’กEasily debug your AI agents with native trace inspection and structured logs directly in your terminal.

โšก 30-Second TL;DR

What Changed

Access Agent Run traces including reasoning, tool calls, and token usage via CLI or MCP.

Why It Matters

This update significantly improves the observability of autonomous agents by providing structured, accessible logs. It bridges the gap between agent execution and developer debugging, making it easier to optimize agent performance and reliability.

What To Do Next

Upgrade your Vercel CLI to the latest version and use 'vercel agent-runs trace <runId>' to inspect your agent's reasoning logs.

Who should care:Developers & AI Engineers

Key Points

  • โ€ขAccess Agent Run traces including reasoning, tool calls, and token usage via CLI or MCP.
  • โ€ขNew CLI subcommands allow listing projects, recent runs, and inspecting specific run metadata.
  • โ€ขMachine-readable JSON output for CLI commands enables automated debugging by coding agents.
  • โ€ขSeamless ingestion of traces for agents deployed on the Vercel platform.

๐Ÿง  Deep Insight

AI-generated analysis for this event.

๐Ÿ”‘ Enhanced Key Takeaways

  • โ€ขThe integration leverages the Model Context Protocol (MCP) to standardize how agents interact with Vercel's observability stack, reducing the need for custom API wrappers.
  • โ€ขVercel's implementation includes a new 'Agent-ID' header in trace logs, enabling correlation between specific AI agent sessions and infrastructure-level performance metrics.
  • โ€ขThe CLI update introduces a 'vercel agent logs --follow' command, which streams real-time reasoning tokens to local development environments for immediate feedback loops.
  • โ€ขThis feature is specifically optimized for Vercel's 'AI SDK' ecosystem, providing pre-built adapters for LangChain and LlamaIndex agents to ingest trace data automatically.
  • โ€ขThe update includes a new 'Cost-per-Run' metadata field in the JSON output, allowing developers to track token expenditure and latency costs at the individual agent-task level.
๐Ÿ“Š Competitor Analysisโ–ธ Show
FeatureVercel (Agent Runs)LangSmith (LangChain)Weights & Biases (Prompts)
Primary FocusDeployment/Infra-integratedAgent Lifecycle/TracingExperiment Tracking/LLMOps
PricingUsage-based (Vercel Pro/Ent)Tiered (Free/Pro/Ent)Tiered (Free/Pro/Ent)
IntegrationNative Vercel PlatformFramework AgnosticFramework Agnostic
DebuggingInfrastructure-centricReasoning-centricExperiment-centric

๐Ÿ› ๏ธ Technical Deep Dive

  • The Agent Runs API utilizes a WebSocket-based streaming protocol to deliver trace events with sub-50ms latency.
  • Trace data is structured using a modified OpenTelemetry schema, specifically extended with 'reasoning_step' and 'tool_invocation' attributes.
  • CLI commands utilize a local configuration file (~/.vercel/agent-config.json) to manage authentication tokens and project-specific environment mappings.
  • The JSON output schema supports nested 'thought' blocks, allowing agents to parse multi-step reasoning chains recursively.

๐Ÿ”ฎ Future ImplicationsAI analysis grounded in cited sources

Vercel will release an 'Agent Autopilot' feature that uses these traces to automatically suggest code fixes.
The availability of structured, machine-readable reasoning and tool-usage logs provides the necessary training data for automated remediation models.
The MCP integration will become the industry standard for agent-to-infrastructure communication.
By standardizing trace ingestion via MCP, Vercel is positioning its platform as the primary observability layer for the growing ecosystem of autonomous coding agents.

โณ Timeline

2023-05
Vercel launches the AI SDK to simplify building AI-powered applications.
2024-11
Vercel announces support for the Model Context Protocol (MCP) to improve AI tool connectivity.
2025-03
Vercel introduces 'Vercel AI Observability' to provide insights into LLM performance.
2026-07
Vercel adds native Agent Runs support to MCP and CLI tools.
๐Ÿ“ฐ

Weekly AI Recap

Read this week's curated digest of top AI events โ†’

๐Ÿ‘‰Related Updates

AI-curated news aggregator. All content rights belong to original publishers.
Original source: Vercel News โ†—