Skip to content

Add agent-generated artifacts beside Diff #23

Open

Description

@domenkozar

Goal

Add an Artifacts button beside Diff, opening a panel where users can browse and preview outputs generated by any supported agent, similar to Claude’s artifacts.

Intended behavior

  • Provide a shared MCP tool for agents to create and update artifacts.
  • Associate artifacts with their conversation and persist them across restarts.
  • Support Markdown, images, SVG, code, and interactive HTML/JavaScript apps. Other file types remain downloadable.
  • Allow internet access in interactive previews.
  • Start with local agent sessions; SSH support follows separately.
  • Keep initial app execution limited to browser code, without backend processes or dependency installation.

Storage and preview dependencies

  • Casita is the intended artifact store. Local storage could serve as an interim implementation.
  • Embedded interactive previews need webview support. GPUI Kit’s Linux integration is currently unfinished: https://gpui-kit.com/docs/webview/
  • Decide between browser previews as an interim solution and completing embedded webview support before shipping.

Acceptance criteria

  • Multiple agent harnesses can create and update artifacts through the same tool.
  • Artifacts appear in the conversation’s panel and survive application restarts.
  • Supported content renders correctly, with source and download actions.
  • Preview content cannot access Agentaps internals or unrelated local files.

Next step

Resolve the Casita integration and Linux preview approach before implementation.

Activity

  1. added
    enhancement
    on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions