---
agent:
  instructions: "Search goop.so for Goop's components, templates, design skill, docs, pricing and terms. Ask in keywords or a plain question, such as \"date picker props\" or \"is the design skill free\"; the answer is the matching page sections in Markdown, each with its address."
  endpoint: "https://goop.so/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# AI chat UI template

Goop Pro. An AI research assistant, running live: a chat that answers across interview transcripts and shows its sources, saved answers to share, and the sources it reads. The example is a design team's assistant.

Built from Goop's parts for your AI coding agent: Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf, Cline, the Claude app ([how each connects](/docs/works-with.md)).

[Get Goop Pro](/account) · [Start free](/docs/install.md). The free plan connects Goop to your agent, and Trail's everyday parts install free; the chat, the citations and the tool calls here are Goop Pro parts.

The app runs live, with sample data, on [its page](/themes/trail/apps/research-assistant).

## Build one like it

1. Connect Goop to your agent: one line, free ([how to connect](/docs/install.md)).
2. Ask for the app, as in the prompt below. Start from this prompt. With [Goop Pro connected to your coding agent](/docs/install), it has this app's parts and page templates.
3. What Goop Pro does with it: Your agent plans each screen's layout for an assistant app in Trail's look (`goop_plan_app`), installs the parts it needs, the chat, the citations and the tool calls included (`goop_install`), and checks each screen in light, dark and at phone width before it says it is done.

Try it with Goop Pro:

```text
Build a research assistant for my team: we ask questions across our interview transcripts, each answer shows who said what, and good answers can be saved and shared.
```

## How this app was made

We built this app ourselves from Trail's parts, over several rounds of building and looking, so no single prompt made it. It was planned from the brief below.

### The brief we planned it from

```text
Build an AI research assistant for a team that runs customer interviews. I want a chat where I ask questions across our interview notes and each answer shows which interviews it came from, a list of past conversations, a page of saved answers, a list of the interviews it can search, and settings for answer length and tone. Don't call a real AI service: use realistic canned answers so the whole app works. Light and dark mode, and it must work on a phone.
```

## Its screens

1. Chat: the [Chat template](/themes/trail/layouts/chat.md)
2. Saved answers: a list page
3. Sources: a list page
4. Activity: the [Notifications template](/themes/trail/layouts/notifications.md)
5. Search: a search page
6. Settings: the [Settings template](/themes/trail/layouts/settings.md)
7. Profile: the [Profile template](/themes/trail/layouts/profile.md)
8. Sign in: the [Sign in template](/themes/trail/layouts/sign-in.md)

## Built from

- [AppFrame](/themes/trail/components/app-frame.md) (Free)
- [PageBody](/themes/trail/components/page-body.md) (Free)
- [AuthPage](/themes/trail/components/auth-page.md) (Pro)
- [SettingsPage](/themes/trail/components/settings-page.md) (Pro)
- [ListPage](/themes/trail/components/list-page.md) (Pro)
- [InviteDialog](/themes/trail/components/invite-dialog.md) (Pro)
- [RecordPeek](/themes/trail/components/record-peek.md) (Pro)
- [Button](/themes/trail/components/button.md) (Free)
- [Empty](/themes/trail/components/empty.md) (Free)
- [Toast](/themes/trail/components/toast.md) (Free)
- [AccountMenu](/themes/trail/components/account-menu.md) (Pro)
- [Alert](/themes/trail/components/alert.md) (Pro)
- [Avatar](/themes/trail/components/avatar.md) (Free)
- [Card](/themes/trail/components/card.md) (Free)
- [DropdownMenu](/themes/trail/components/dropdown-menu.md) (Free)
- [Field](/themes/trail/components/field.md) (Free)
- [FieldError](/themes/trail/components/field-error.md) (Free)
- [PageHeader](/themes/trail/components/page-header.md) (Pro)
- [PasswordField](/themes/trail/components/password-field.md) (Pro)
- [Select](/themes/trail/components/select.md) (Free)
- [TextInput](/themes/trail/components/text-input.md) (Free)
- [ActivityItem](/themes/trail/components/activity-item.md) (Pro)
- [Badge](/themes/trail/components/badge.md) (Free)
- [Link](/themes/trail/components/link.md) (Free)
- [SectionHeader](/themes/trail/components/section-header.md) (Pro)
- [SegmentedControl](/themes/trail/components/segmented-control.md) (Pro)
- [ApprovalRequest](/themes/trail/components/approval-request.md) (Pro)
- [AttachmentList](/themes/trail/components/attachment-list.md) (Pro)
- [ChatMessage](/themes/trail/components/chat-message.md) (Pro)
- [Citation](/themes/trail/components/citation.md) (Pro)
- [CodeBlock](/themes/trail/components/code-block.md) (Pro)
- [Composer](/themes/trail/components/composer.md) (Pro)
- [MessageList](/themes/trail/components/message-list.md) (Pro)
- [ReplyActions](/themes/trail/components/reply-actions.md) (Pro)
- [ReplyStatus](/themes/trail/components/reply-status.md) (Pro)
- [ToolCall](/themes/trail/components/tool-call.md) (Pro)
- [ColorModeToggle](/themes/trail/components/color-mode-toggle.md) (Pro)
- [Command](/themes/trail/components/command.md) (Free)
- [CommandPalette](/themes/trail/components/command-palette.md) (Pro)
- [IconButton](/themes/trail/components/icon-button.md) (Free)
- [Sidebar](/themes/trail/components/sidebar.md) (Free)
- [SidebarGroup](/themes/trail/components/sidebar-group.md) (Pro)
- [SidebarMenuButton](/themes/trail/components/sidebar-menu-button.md) (Pro)
- [TopBar](/themes/trail/components/top-bar.md) (Free)
- [CardGrid](/themes/trail/components/card-grid.md) (Pro)
- [CopyButton](/themes/trail/components/copy-button.md) (Pro)
- [Prose](/themes/trail/components/prose.md) (Pro)
- [SearchInput](/themes/trail/components/search-input.md) (Free)
- [CardList](/themes/trail/components/card-list.md) (Free)
- [Identity](/themes/trail/components/identity.md) (Pro)
- [Item](/themes/trail/components/item.md) (Free)
- [RadioGroup](/themes/trail/components/radio-group.md) (Free)
- [Switch](/themes/trail/components/switch.md) (Free)
- [Table](/themes/trail/components/table.md) (Pro)
- [TableCell](/themes/trail/components/table-cell.md) (Pro)
- [MetaFacts](/themes/trail/components/meta-facts.md) (Pro)
- [Pagination](/themes/trail/components/pagination.md) (Pro)
- [StatusMark](/themes/trail/components/status-mark.md) (Pro)
- [Tabs](/themes/trail/components/tabs.md) (Free)
- [TableSelection](/themes/trail/components/table-selection.md) (Pro)

## Questions

### How do I build an AI chat app with an AI coding agent?

Connect Goop to your coding agent, then ask for an AI chat app in your own words, like the prompt on this page. With Goop Pro your agent plans each screen for an assistant app in Trail's look, installs the parts it needs and checks every screen in light, dark and at phone width. [How to connect](/docs/install)

### Do I need Goop Pro for it?

Yes, for the chat, the citations and the tool calls: they are Goop Pro parts. Trail's tokens, everyday parts, app frame and page body install free. [Plans](/pricing)

### Does it show where an answer came from?

Yes. Answers carry citations to their sources, and an agent's tool calls and its request for approval show in the thread.

### Can it use my own model?

Yes. The chat parts draw messages, citations and tool calls from plain data. Your agent connects them to your model's API; the sample answers are made up.
