中文
← Back to news
ToolsJun 19, 2026

Claude Code Launches Artifacts Feature: Turn Terminal Work into Interactive Web Pages in Real Time

Anthropic today released the Artifacts feature (Beta) for Claude Code, allowing users to transform terminal session outputs—such as code reviews, data visualizations, and architecture diagrams—into self-contained, interactive HTML pages in real time, with private sharing links for team collaboration. Pages update automatically with the session, support version rollback, and do not call external APIs or backends, ensuring privacy. The feature is available to Claude Team and Enterprise users via CLI or desktop client.

Core Mechanism

  • Self-contained pages: Generated HTML inlines all CSS, JavaScript, and images (data URI), with strict CSP policies blocking external requests, achieving zero deployment and zero security risk.
  • Real-time sync: Pages auto-refresh with terminal sessions; each publish saves a history version for rollback.
  • Private sharing: Links are visible only to authenticated users within the same organization, with one-click sharing.

Typical Use Cases

  • Code review: Generate PR walkthrough pages with diff annotations and severity color coding.
  • Design comparison: Display multiple design or implementation variants in a grid on the same page, with trade-off explanations.
  • Interactive parameter tuning: Add sliders, toggles, etc., to adjust animations, layouts, and other parameters in real time.
  • Result feedback: Include a "Copy as prompt" button to paste interactive results (e.g., a drag-sorted list) back into the terminal.
  • Task tracking: Convert long tasks like migration plans into dynamic checklists that auto-check and add notes as progress updates.

Multi-Role Applicability

  • Legal/Compliance: Automatically audit dependency licenses and flag Copyleft licenses.
  • Privacy teams: Draw data flow diagrams to trace personal data collection and storage paths.
  • Security operations: Link vulnerabilities directly to code lines and generate audit result pages.
  • Architects: Generate service topology diagrams based on code import relationships.
  • Engineering managers: Auto-summarize team weekly reports from merged PRs.

Industry Comparison

  • About two weeks after OpenAI launched Sites, an enterprise hosting feature for Codex, both focus on enterprise collaboration.
  • OpenAI follows a PaaS route, generating directly deployable full-stack apps (e.g., Cloudflare Workers); Anthropic positions Artifacts as a "stateless inspiration canvas," deliberately avoiding backends and emphasizing recording and sharing.

Availability

  • Currently in Beta, limited to Claude Team and Enterprise organization users.
  • Supports Claude Code CLI and desktop client; generated pages can be viewed in any browser.

Also available in 中文.

Claude Code Launches Artifacts Feature: Turn Terminal Work into Interactive Web Pages in Real Time | AI Skill Navigation | AI Skill Navigation