Skip to content
Get Pro

Research Report

A structured, citation-ready report for research agents and deep-search results.

Agent UI landscape

Executive summary

The strongest product gap is not another set of buttons. It is a coherent interface system for software that thinks and acts over time.

The opportunity

Most libraries stop at chat primitives. Product teams still rebuild approvals, tool execution, recovery, and durable output from scratch.

Tool execution and approvals

A tool call needs to show what will happen, which resources it can access, and whether the user can stop it. Approval belongs beside the proposed action so the decision stays connected to its consequences. Once execution starts, the same surface should show progress and the result. If a call fails, keep the attempted action visible and offer a specific recovery step.

Failure and recovery

Distinguish a temporary connection problem from an action that needs new input. Preserve completed work when retrying, and make it clear which step will run again.

Reports and durable output

Long-form results need a reading surface with stable headings, source links, and navigation. Keep the report readable independently of the conversation that produced it. A compact contents rail lets readers move between findings without keeping a sidebar open. The active section should follow the reader as they scroll.

Context and memory

Readers need to understand which documents, decisions, and preferences informed a result. Show the relevant context beside the work and let people correct an outdated assumption before it shapes the next step.

Context limits

When a conversation grows too long, explain what remains available and what has been summarized. Keep important constraints visible so users can confirm that the agent still understands the task.

Background work

Long-running tasks should remain accessible after the user leaves the conversation. Give each run a stable name, a current state, and a clear place to review its output. Progress updates should describe completed work and the next meaningful step.

Notifications and handoffs

Notify people when a decision is needed or a result is ready. Include enough context to resume the task without rereading the entire conversation, and distinguish requests for input from routine progress updates.

Collaboration and ownership

Shared work needs a visible owner and a record of decisions. Make it clear who requested an action, who approved it, and which version of the result is current. Comments should stay attached to the section or artifact they discuss.

Accessibility and navigation

Every action should be reachable with a keyboard. Long reports need consistent heading levels, visible focus, and a contents menu that can scroll independently. Respect reduced-motion preferences when moving between sections.

Small-screen reading

Keep the reading column comfortable on narrow screens. Navigation can temporarily cover the report, but it should dismiss predictably after selecting a section and leave the reader at the chosen heading.

Evaluating the experience

Test complete tasks rather than isolated controls. Check whether people can identify the current state, find a supporting source, recover from a failed action, and return to a previous result without losing their place.

Recommended direction

Lead with complete agent workflows, keep state legible, and give generated work a durable place in the interface.

Sources

  1. shadcn registry directory
  2. Agent UI component catalog

Installation

Add the component source directly to your project.

pnpm dlx shadcn@latest add https://pastaui.com/r/research-report.json

API reference

Research Report

Research Report properties
PropTypeDefaultDescription
sectionsResearchReportSection[]Provides the report body as named sections.
sourcesResearchReportSource[][]Lists supporting sources.
onOpenSource(id: string) => voidOpens a selected report source.