The start page of an AI workspace: one tab per agent, a greeting with what needs you this week, the composer, quick asks, previous chats and suggested apps. A question opens the chat, where the agent asks which customer you meant, reads the records in a thinking panel, answers with sources and hands back the PDF it wrote.
This page holds the props and the code. See the template, its screens and a live preview.
- AI workspace start page
- Agent chat with a pick
- Generated report in chat
- Several agents, one per tab
Examples
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- defaultView
"home"|"chat"- Default
"home" - The screen it opens on.
- defaultStage
"ask"|"thinking"|"answer"|"done"- Default
"ask" - Where the chat opens: waiting for the pick, reading, writing, or done with the file.
- defaultAgent
string- Default
"wren" - The agent tab picked first.
- installed
ModuleId[]- Default
this module - Modules whose screen you installed. They are links in the sidebar; the rest are dimmed with a dashed mark.
- hrefs
Partial<Record<ModuleId, string>>- Default
"#/<id>" - The URL of each installed module.
- onNavigate
(id: ModuleId) => void- A sidebar row was picked. With it, hash links stay in the page (the bundle switches screens this way).
- layout
"page"|"fill"- Default
"page" - page: the window scrolls and the sidebar and topbar stick. fill: the page fills its parent and the main column scrolls.
- embedded
boolean- Default
false - For a page shown inside another page: no second main or aside landmark.
- labelPrefix
string- Prefixes the shell's landmark names so several previews on one page stay unique.
- className
string- On the outer box, for example a height with layout fill.
- Data
ai-workspace-data- Fernhill Supply Co., a made-up company: people, four agents, customers, contracts, leads, invoices and workspaces, dated to November 21, 2026. Every template reads it, so installed screens agree. Replace it with your own queries.
| Prop | Type | Default | Description |
|---|---|---|---|
| defaultView | "home" | "chat" | "home" | The screen it opens on. |
| defaultStage | "ask" | "thinking" | "answer" | "done" | "ask" | Where the chat opens: waiting for the pick, reading, writing, or done with the file. |
| defaultAgent | string | "wren" | The agent tab picked first. |
| installed | ModuleId[] | this module | Modules whose screen you installed. They are links in the sidebar; the rest are dimmed with a dashed mark. |
| hrefs | Partial<Record<ModuleId, string>> | "#/<id>" | The URL of each installed module. |
| onNavigate | (id: ModuleId) => void | - | A sidebar row was picked. With it, hash links stay in the page (the bundle switches screens this way). |
| layout | "page" | "fill" | "page" | page: the window scrolls and the sidebar and topbar stick. fill: the page fills its parent and the main column scrolls. |
| embedded | boolean | false | For a page shown inside another page: no second main or aside landmark. |
| labelPrefix | string | - | Prefixes the shell's landmark names so several previews on one page stay unique. |
| className | string | - | On the outer box, for example a height with layout fill. |
| Data | ai-workspace-data | - | Fernhill Supply Co., a made-up company: people, four agents, customers, contracts, leads, invoices and workspaces, dated to November 21, 2026. Every template reads it, so installed screens agree. Replace it with your own queries. |
Accessibility
- The sidebar is the App Shell's: a navigation landmark with groups. A module that is not installed is a disabled row, so it is announced but cannot be followed.
- Quick chat in the topbar opens a dialog sheet named after the agent, with the screen's context as its description. Focus moves into it and returns to the button on close.
- The agents are a tab list; each tab carries the agent's mark and name.
- In the chat, Clarify Choice is a radio group with number keys, Thinking State announces its steps, and File Result is a group named by the file.
What it handles
- 01Lays out the agents screen on the App Shell with every module in the sidebar; only installed screens are links, the rest are dimmed and marked.
- 02Shows one tab per agent with its mark, a greeting that counts renewals and late invoices from the shared data, and the composer with model and mic.
- 03Lists quick asks, previous chats with their agents and suggested apps on cards that reflow from one to four columns.
- 04Opens the chat on a question: the agent asks which of two customers you meant with Clarify Choice, then reads the records in Thinking State.
- 05Answers with sources in an AI Answer and hands back the brief it wrote as a File Result that turns ready a moment later.
- 06Scripts the run from the shared dataset in one function you replace with your agent; defaultView and defaultStage open it on any step.
States
- First render
- Home or the chat at the step you asked for; nothing moves
- none
- Pick a customer
- The steps arrive one by one, then the answer and the file
- none
- File generating
- A thin bar runs along the card until it is ready
- none
- Reduced motion
- The answer shows at once
- none
| State | What moves | Timing |
|---|---|---|
| First render | Home or the chat at the step you asked for; nothing moves | none |
| Pick a customer | The steps arrive one by one, then the answer and the file | none |
| File generating | A thin bar runs along the card until it is ready | none |
| Reduced motion | The answer shows at once | none |
Works with
When to use
When to use
- The first screen of an AI workspace: pick an agent, ask, and pick up previous chats.
- A chat where the agent asks back, shows its steps, answers with sources and hands back a file.
When not to use
- A bare chat app with conversations and a composer: use Chat App.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Agent Home to my app and wire it to my own data.
- I need the first screen of an AI workspace: pick an agent, ask, and pick up previous chats. Set that up with the Knowns UI Agent Home.
- Which Agent Home props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "template-agent-home" }) and search_docs({ query: "agent home" }). Pro props, full examples and source come back once your license key is in the MCP config.