Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

Add compressed CSS file for chat assets

nirholasb818d70b4151
diff --git a/chat/src/App.svelte b/chat/src/App.svelte
index 0ad03769b..2fe71b13f 100644
--- a/chat/src/App.svelte
+++ b/chat/src/App.svelte
@@ -27,6 +27,7 @@
import Pricing from './manus/pages/Pricing.svelte';
import MarketingPage from './manus/pages/MarketingPage.svelte';
import ResourcePage from './manus/pages/ResourcePage.svelte';
+ import FeaturePage from './manus/pages/FeaturePage.svelte';
import SettingsModal from './SettingsModal.svelte';
import ToolcallButton from './ToolcallButton.svelte';
import MessageContent from './MessageContent.svelte';
@@ -71,6 +72,7 @@
import AnnouncementBanner from './manus/AnnouncementBanner.svelte';
import TopNav from './manus/TopNav.svelte';
import WebsiteFlow from './manus/flows/WebsiteFlow.svelte';
+ import DesktopFlow from './manus/flows/DesktopFlow.svelte';
marked.use(
markedKatex({
@@ -1275,6 +1277,11 @@
<div class="sticky top-0 z-[110]"><AnnouncementBanner /><TopNav /></div>
<ResourcePage slug={$route.slice('resources/'.length)} />
</div>
+{:else if $route.startsWith('features/')}
+ <div class="min-h-dvh bg-paper overflow-y-auto">
+ <div class="sticky top-0 z-[110]"><AnnouncementBanner /><TopNav /></div>
+ <FeaturePage slug={$route.slice('features/'.length)} />
+ </div>
{:else}
<main class="flex h-dvh w-screen flex-col">
<div class="sticky top-0 z-[110]">
@@ -1487,6 +1494,8 @@
<svelte:fragment slot="chips">
{#if $mode === 'website'}
<WebsiteFlow />
+ {:else if $mode === 'desktop'}
+ <DesktopFlow />
{:else}
<SuggestionChips />
{/if}
diff --git a/chat/src/Input.svelte b/chat/src/Input.svelte
index c1d279439..6189a1364 100644
--- a/chat/src/Input.svelte
+++ b/chat/src/Input.svelte
@@ -13,18 +13,20 @@
feFolder,
feLayout,
feChevronDown,
+ feSmartphone,
} from './feather.js';
import { afterUpdate, onDestroy, tick } from 'svelte';
import { get } from 'svelte/store';
import { v4 as uuidv4 } from 'uuid';
import { readFileAsDataURL } from './util.js';
- import { anthropicAPIKey, controller, params, remoteServer, brandConfig, mode, composerFill } from './stores.js';
+ import { anthropicAPIKey, controller, params, remoteServer, brandConfig, mode, composerFill, appPlatforms, designModel } from './stores.js';
import ToolPill from './ToolPill.svelte';
import ToolDropdown from './ToolDropdown.svelte';
import ModelSelector from './ModelSelector.svelte';
import ReasoningEffortRangeDropdown from './ReasoningEffortRangeDropdown.svelte';
import FilesDropdown from '$src/FilesDropdown.svelte';
import FilePill from '$src/FilePill.svelte';
+ import DesignModelPicker from './manus/DesignModelPicker.svelte';
const imageUrlRegex = /https?:\/\/[^\s]+?\.(png|jpe?g)(?=\s|$)/gi;
@@ -53,13 +55,30 @@
? 'Describe the website you want to build'
: $mode === 'slides'
? 'Describe your presentation topic'
- : 'Send a message…';
+ : $mode === 'desktop'
+ ? 'Describe the app you want to build'
+ : $mode === 'design'
+ ? 'Describe what you want to design'
+ : 'Send a message…';
+
+ let designModelPickerOpen = false;
+
+ const DESIGN_MODEL_LABELS = {
+ 'gpt-image-2': 'GPT Image 2',
+ 'sdxl': 'Stable Diffusion XL',
+ 'flux-1': 'Flux 1',
+ 'banana': 'Banana 🍌',
+ };
let toneOpen = false;
let imgModelOpen = false;
let selectedTone = 'Professional';
const tones = ['Professional', 'Casual', 'Academic', 'Playful', 'Minimal'];
+ let platformsOpen = false;
+ const desktopPlatformOptions = ['macOS', 'Windows', 'Linux', 'iOS', 'Android', 'Tauri', 'Electron', 'PWA'];
+ $: platformsSummary = $appPlatforms.size === 0 ? 'macOS' : [...$appPlatforms].join(', ');
+
const unsubFill = composerFill.subscribe((fill) => {
if (!fill) return;
composerFill.set(null);
@@ -504,6 +523,49 @@ ${file.contents}
Website
</button>
{/if}
+ {#if $mode === 'desktop'}
+ <button
+ class="manus-chip manus-chip-selected h-7 px-3 text-xs inline-flex items-center gap-1.5"
+ on:click={() => mode.set(null)}
+ >
+ <Icon icon={feSmartphone} class="w-3.5 h-3.5" />
+ Develop apps
+ </button>
+ <div class="relative">
+ <button
+ class="manus-chip h-7 px-3 text-xs inline-flex items-center gap-1.5"
+ on:click={() => { platformsOpen = !platformsOpen; }}
+ >
+ {platformsSummary}
+ <Icon icon={feChevronDown} class="w-3 h-3" />
+ </button>
+ {#if platformsOpen}
+ <div class="absolute left-0 bottom-full mb-2 bg-white border border-[#E5E3DC] rounded-xl shadow-pop z-10 min-w-[160px] py-1">
+ {#each desktopPlatformOptions as p}
+ <label class="flex items-center gap-2 w-full px-3 py-1.5 text-sm text-[#1A1A1A] hover:bg-[#F5F4EF] cursor-pointer">
+ <input
+ type="checkbox"
+ class="accent-blue-500"
+ checked={$appPlatforms.has(p)}
+ on:change={() => {
+ appPlatforms.update((set) => {
+ const next = new Set(set);
+ if (next.has(p)) {
+ if (next.size > 1) next.delete(p);
+ } else {
+ next.add(p);
+ }
+ return next;
+ });
+ }}
+ />
+ {p}
+ </label>
+ {/each}
+ </div>
+ {/if}
+ </div>
+ {/if}
{#if $mode === 'slides'}
<button
class="manus-chip manus-chip-selected h-7 px-3 text-xs inline-flex items-center gap-1.5"
@@ -557,6 +619,28 @@ ${file.contents}
{/if}
</div>
{/if}
+ {#if $mode === 'design'}
+ <button
+ class="manus-chip manus-chip-selected h-7 px-3 text-xs inline-flex items-center gap-1.5"
+ on:click={() => mode.set(null)}
+ >
+ <Icon icon={feZap} class="w-3.5 h-3.5" />
+ Design
+ </button>
+ <div class="relative">
+ <button
+ class="inline-flex items-center gap-2 h-8 px-2 pr-1 rounded-full border border-[#E5E3DC] bg-white text-sm hover:bg-[#F5F4EF] transition-colors"
+ on:click={() => (designModelPickerOpen = !designModelPickerOpen)}
+ >
+ <span class="w-4 h-4 rounded-full bg-gray-900 shrink-0 inline-block"></span>
+ <span>{DESIGN_MODEL_LABELS[$designModel] ?? $designModel}</span>
+ <Icon icon={feChevronDown} class="w-3.5 h-3.5 text-[#6B6B6B]" />
+ </button>
+ {#if designModelPickerOpen}
+ <DesignModelPicker on:close={() => (designModelPickerOpen = false)} />
+ {/if}
+ </div>
+ {/if}
<div id="tool-dropdown" class="contents">
<ToolPill icon={feTool} selected={toolsOpen} on:click={() => (toolsOpen = !toolsOpen)}>
Tools
diff --git a/chat/src/Message.svelte b/chat/src/Message.svelte
index 1e9ef7e36..3005156ad 100644
--- a/chat/src/Message.svelte
+++ b/chat/src/Message.svelte
@@ -124,14 +124,7 @@
<!-- svelte-ignore a11y-click-events-have-key-events a11y-no-noninteractive-element-interactions -->
<li
data-role={message.role}
- class="{!message.generated &&
- !message.submitted &&
- message.role !== 'system' &&
- message.role !== 'tool'
- ? 'bg-yellow-50/40'
- : message.role === 'assistant'
- ? 'bg-slate-50/30'
- : ''} group relative px-5 pb-10 pt-6 ld:px-8"
+ class="group relative flex {message.role === 'user' ? 'justify-end' : 'justify-start'} py-4"
style="z-index: {convo.messages.length - i};"
on:touchstart={(event) => {
// Make click trigger hover on mobile:
@@ -161,8 +154,11 @@
</Button>
{/if}
<div
- class="relative mx-auto flex w-full max-w-[680px] gap-x-3.5 self-start md:gap-x-5 ld:max-w-[768px]"
+ class="{message.role === 'user'
+ ? 'bg-[#EBE8E0] text-[#1A1A1A] rounded-2xl px-4 py-3 max-w-[78%] relative'
+ : 'relative flex w-full gap-x-3.5 self-start'}"
>
+ {#if message.role !== 'user'}
<button
disabled={message.role === 'system'}
on:click={() => {
@@ -176,11 +172,9 @@
class="flex h-8 w-8 shrink-0 rounded-md md:h-9 md:w-9 md:rounded-[6px] {message.role ===
'system'
? 'border border-teal-200 bg-teal-100'
- : message.role === 'user'
- ? 'border border-slate-200 bg-white'
- : message.role === 'assistant' && !hasLogo
- ? 'border border-teal-200 bg-teal-100 pb-px'
- : ''}"
+ : message.role === 'assistant' && !hasLogo
+ ? 'border border-teal-200 bg-teal-100 pb-px'
+ : ''}"
>
{#if isLastAssistant && effectiveAgentId}
<!-- svelte-ignore custom-element-no-implicit-ns -->
@@ -206,6 +200,7 @@
</span>
{/if}
</button>
+ {/if}
<!-- svelte-ignore a11y-no-static-element-interactions -->
{#if message.editing}
@@ -281,7 +276,7 @@
<div
class="{generating
? 'animate-pulse'
- : ''} flex items-center gap-x-1.5 self-start rounded-full bg-gray-200 px-3.5 py-2 text-left text-xs transition-colors hover:bg-gray-300"
+ : ''} flex items-center gap-x-1.5 self-start rounded-full bg-paper-deep px-3.5 py-2 text-left text-xs text-[#9C9A93] transition-colors hover:bg-[#E0DDD5]"
>
{generating ? 'Searching' : 'Searched'} the web
</div>
@@ -290,7 +285,7 @@
<button
class="{message.thinking
? 'animate-pulse'
- : ''} flex items-center gap-x-1.5 self-start rounded-full bg-gray-200 px-3.5 py-2 text-left text-xs transition-colors hover:bg-gray-300"
+ : ''} flex items-center gap-x-1.5 self-start rounded-full bg-paper-deep px-3.5 py-2 text-left text-xs text-[#9C9A93] transition-colors hover:bg-[#E0DDD5]"
on:click={() => {
message.thoughtsExpanded = !message.thoughtsExpanded;
saveMessage(message);
@@ -306,7 +301,7 @@
icon={feChevronDown}
class="{message.thoughtsExpanded
? 'rotate-180'
- : ''} h-4 w-4 transition-transform"
+ : ''} h-4 w-4 text-[#9C9A93] transition-transform"
/>
{/if}
</button>
@@ -322,7 +317,7 @@
/>
{#if contentHeight > 400}
<button
- class="sticky z-10 bottom-2 left-1/2 flex translate-x-[calc(-50%+40px)] items-center gap-x-1.5 self-start rounded-full bg-gray-200 px-3.5 py-2 text-left text-xs transition-colors hover:bg-gray-300"
+ class="sticky z-10 bottom-2 left-1/2 flex translate-x-[calc(-50%+40px)] items-center gap-x-1.5 self-start rounded-full bg-paper-deep px-3.5 py-2 text-left text-xs text-[#9C9A93] transition-colors hover:bg-[#E0DDD5]"
on:click={() => {
message.thoughtsExpanded = !message.thoughtsExpanded;
saveMessage(message);
@@ -450,7 +445,7 @@
{/if}
{#if !message.editing}
<div
- class="absolute bottom-[-32px] left-11 flex items-center gap-x-4 md:bottom-[-28px] md:left-14"
+ class="absolute bottom-[-32px] md:bottom-[-28px] {message.role === 'user' ? 'left-0' : 'left-11 md:left-14'} flex items-center gap-x-4"
>
{#if message.role === 'user' && convo.versions?.[message.vid]}
{@const versions = convo.versions[message.vid]}
diff --git a/chat/src/manus/Composer.svelte b/chat/src/manus/Composer.svelte
index d5d0add4f..fddffcd2c 100644
--- a/chat/src/manus/Composer.svelte
+++ b/chat/src/manus/Composer.svelte
@@ -1,5 +1,5 @@
<script>
- import { afterUpdate, tick } from 'svelte';
+ import { afterUpdate, onDestroy, tick } from 'svelte';
import { v4 as uuidv4 } from 'uuid';
import Icon from '../Icon.svelte';
import {
@@ -13,7 +13,7 @@
feFolder,
} from '../feather.js';
import { readFileAsDataURL } from '../util.js';
- import { params, remoteServer, brandConfig } from '../stores.js';
+ import { params, remoteServer, brandConfig, composerFill } from '../stores.js';
import ToolPill from '../ToolPill.svelte';
import ToolDropdown from '../ToolDropdown.svelte';
import ReasoningEffortRangeDropdown from '../ReasoningEffortRangeDropdown.svelte';
@@ -48,6 +48,20 @@
let filesOpen = false;
let reasoningEffortDropdownOpen = false;
+ const unsubFill = composerFill.subscribe((fill) => {
+ if (!fill) return;
+ composerFill.set(null);
+ const shouldFill = !fill.ifEmpty || !content;
+ if (shouldFill) {
+ content = fill.text;
+ tick().then(() => {
+ autoresizeTextarea();
+ if (fill.submit) sendMessage();
+ });
+ }
+ });
+ onDestroy(unsubFill);
+
$: isMultimodal = convo.models[0].modality === 'text+image->text';
$: canSend = content.trim().length > 0 || pendingImages.length > 0 || pendingFiles.length > 0;
$: isGenerating = generating && convo.messages.filter((msg) => msg.generated).length > 0;
diff --git a/chat/src/manus/DesignModelPicker.svelte b/chat/src/manus/DesignModelPicker.svelte
new file mode 100644
index 000000000..54fd535c5
--- /dev/null
+++ b/chat/src/manus/DesignModelPicker.svelte
@@ -0,0 +1,50 @@
+<script>
+ import { createEventDispatcher } from 'svelte';
+ import { designModel } from '../stores.js';
+ import Icon from '../Icon.svelte';
+ import { feCheck } from '../feather.js';
+
+ const dispatch = createEventDispatcher();
+
+ const models = [
+ { id: 'gpt-image-2', label: 'GPT Image 2', badge: '⊕' },
+ { id: 'sdxl', label: 'Stable Diffusion XL' },
+ { id: 'flux-1', label: 'Flux 1' },
+ { id: 'banana', label: 'Banana 🍌' },
+ ];
+
+ function pick(model) {
+ designModel.set(model.id);
+ dispatch('close');
+ }
+
+ function onKey(e) {
+ if (e.key === 'Escape') dispatch('close');
+ }
+</script>
+
+<svelte:window on:keydown={onKey} />
+
+<button
+ class="fixed inset-0 z-20 cursor-default"
+ aria-hidden="true"
+ tabindex="-1"
+ on:click={() => dispatch('close')}
+/>
+
+<div class="absolute bottom-full mb-2 left-0 z-30 bg-white border border-[#E5E3DC] rounded-2xl shadow-pop p-2 w-[220px]">
+ {#each models as model}
+ <button
+ class="flex items-center gap-3 w-full px-3 h-10 rounded-lg text-sm font-medium text-[#1A1A1A] hover:bg-[#F5F4EF]"
+ on:click={() => pick(model)}
+ >
+ <span class="w-5 h-5 shrink-0 flex items-center justify-center text-base leading-none">
+ {model.badge ?? ''}
+ </span>
+ <span class="flex-1 text-left">{model.label}</span>
+ {#if $designModel === model.id}
+ <Icon icon={feCheck} class="h-3.5 w-3.5 shrink-0 text-blue-600" />
+ {/if}
+ </button>
+ {/each}
+</div>
diff --git a/chat/src/manus/EmptyState.svelte b/chat/src/manus/EmptyState.svelte
index 6f8ddad19..da4cd1b98 100644
--- a/chat/src/manus/EmptyState.svelte
+++ b/chat/src/manus/EmptyState.svelte
@@ -1,6 +1,7 @@
<script>
import { mode } from '../stores.js';
import SlidesFlow from './flows/SlidesFlow.svelte';
+ import DesignFlow from './flows/DesignFlow.svelte';
</script>
<section class="w-full flex flex-col items-center px-6 pt-[18vh] md:pt-[22vh]">
@@ -13,5 +14,7 @@
</div>
{#if $mode === 'slides'}
<SlidesFlow />
+ {:else if $mode === 'design'}
+ <DesignFlow />
{/if}
</section>
diff --git a/chat/src/manus/MoreDropdown.svelte b/chat/src/manus/MoreDropdown.svelte
index 44b045504..4bac6784b 100644
--- a/chat/src/manus/MoreDropdown.svelte
+++ b/chat/src/manus/MoreDropdown.svelte
@@ -4,12 +4,13 @@
import { mode } from '../stores.js';
import {
feSmartphone, feCalendar, feGlobe, feGrid, feBarChart2,
- fePlay, feActivity, feMessageSquare, feBookOpen, feExternalLink,
+ fePlay, feActivity, feMessageSquare, feBookOpen, feZap,
} from '../feather.js';
const dispatch = createEventDispatcher();
const items = [
+ { id: 'design', label: 'Design', icon: feZap },
{ id: 'desktop', label: 'Develop apps', icon: feSmartphone },
{ id: 'schedule', label: 'Schedule task', icon: feCalendar },
{ id: 'research', label: 'Wide Research', icon: feGlobe },
@@ -18,15 +19,11 @@
{ id: 'video', label: 'Video', icon: fePlay },
{ id: 'audio', label: 'Audio', icon: feActivity },
{ id: 'chat', label: 'Chat mode', icon: feMessageSquare },
- { id: 'playbook', label: 'Playbook', icon: feBookOpen, external: true },
+ { id: 'playbook', label: 'Playbook', icon: feBookOpen },
];
function pick(item) {
- if (item.external) {
- window.open('/playbook', '_blank');
- } else {
- mode.set(item.id);
- }
+ mode.set(item.id);
dispatch('close');
}
@@ -54,11 +51,6 @@
>
<Icon icon={item.icon} class="h-4 w-4 shrink-0" />
<span>{item.label}</span>
- {#if item.external}
- <span class="ml-auto text-[#9C9A93]">
- <Icon icon={feExternalLink} class="h-3.5 w-3.5" />
- </span>
- {/if}
</button>
{/each}
</div>
diff --git a/chat/src/manus/flows/DesignFlow.svelte b/chat/src/manus/flows/DesignFlow.svelte
new file mode 100644
index 000000000..90f248b9d
--- /dev/null
+++ b/chat/src/manus/flows/DesignFlow.svelte
@@ -0,0 +1,67 @@
+<script>
+ import { composerFill } from '../../stores.js';
+ import Icon from '../../Icon.svelte';
+ import {
+ feBarChart2, feBookOpen, feActivity, feLayout, feMonitor, feCoffee, feChevronRight,
+ } from '../../feather.js';
+
+ const cards = [
+ {
+ title: 'Create data infographic on coffee trends',
+ description: 'Convert the key data from an article on "Global Coffee Consumption…" into a visual infographic.',
+ icon: feBarChart2,
+ },
+ {
+ title: 'Design Japanese restaurant menu',
+ description: 'Design a menu for my high-end Japanese restaurant, "Sakura House."',
+ icon: feBookOpen,
+ },
+ {
+ title: 'Design smart bracelet and packaging',
+ description: 'Design the product concept and packaging for my health-monitoring smart bracelet.',
+ icon: feActivity,
+ },
+ {
+ title: 'Design SaaS product launch posters',
+ description: 'Design a set of product launch promotional posters for my project management SaaS.',
+ icon: feLayout,
+ },
+ {
+ title: 'Design interactive tech expo booth',
+ description: "Design a 36-square-meter tech expo booth for my AI company's product showcase.",
+ icon: feMonitor,
+ },
+ {
+ title: 'Design modern coffee brand identity',
+ description: 'Design a modern, minimalist logo and full VI for my specialty coffee brand.',
+ icon: feCoffee,
+ },
+ ];
+
+ function selectCard(description) {
+ composerFill.set({ text: description, submit: true, ifEmpty: false });
+ }
+</script>
+
+<div class="w-full pb-12">
+ <p class="text-[#1A1A1A] font-medium mb-4 mt-10 max-w-[1100px] mx-auto px-6">Get started with</p>
+ <div class="grid md:grid-cols-2 xl:grid-cols-3 gap-4 max-w-[1100px] mx-auto px-6">
+ {#each cards as card}
+ <button
+ class="bg-white border border-[#E5E3DC] rounded-2xl p-5 flex gap-4 hover:bg-[#F5F4EF] transition-colors text-left w-full"
+ on:click={() => selectCard(card.description)}
+ >
+ <div class="flex-1 min-w-0">
+ <div class="flex items-center justify-between text-[#1A1A1A] font-semibold text-sm">
+ <span class="text-ellipsis overflow-hidden whitespace-nowrap mr-2">{card.title}</span>
+ <Icon icon={feChevronRight} class="h-4 w-4 shrink-0 text-[#9C9A93]" />
+ </div>
+ <p class="text-xs text-[#6B6B6B] mt-1.5 line-clamp-2">{card.description}</p>
+ </div>
+ <div class="w-24 h-24 shrink-0 rounded-lg bg-[#EFECE3] flex items-center justify-center">
+ <Icon icon={card.icon} class="h-8 w-8 text-[#9C9A93]" />
+ </div>
+ </button>
+ {/each}
+ </div>
+</div>
diff --git a/chat/src/manus/flows/DesktopFlow.svelte b/chat/src/manus/flows/DesktopFlow.svelte
index 73c7adbdc..22c159afa 100644
--- a/chat/src/manus/flows/DesktopFlow.svelte
+++ b/chat/src/manus/flows/DesktopFlow.svelte
@@ -16,14 +16,14 @@
];
const platforms = [
- { id: 'macos', label: 'Native macOS', icon: feMonitor },
- { id: 'windows', label: 'Native Windows', icon: feMonitor },
- { id: 'linux', label: 'Native Linux', icon: feMonitor },
- { id: 'ios', label: 'iOS', icon: feSmartphone },
- { id: 'android', label: 'Android', icon: feSmartphone },
- { id: 'tauri', label: 'Cross-platform (Tauri)', icon: feMonitor },
- { id: 'electron', label: 'Cross-platform (Electron)', icon: feMonitor },
- { id: 'pwa', label: 'PWA', icon: feGlobe },
+ { id: 'macOS', label: 'Native macOS', icon: feMonitor },
+ { id: 'Windows', label: 'Native Windows', icon: feMonitor },
+ { id: 'Linux', label: 'Native Linux', icon: feMonitor },
+ { id: 'iOS', label: 'iOS', icon: feSmartphone },
+ { id: 'Android', label: 'Android', icon: feSmartphone },
+ { id: 'Tauri', label: 'Cross-platform (Tauri)', icon: feMonitor },
+ { id: 'Electron', label: 'Cross-platform (Electron)', icon: feMonitor },
+ { id: 'PWA', label: 'PWA', icon: feGlobe },
];
const ideas = [
@@ -41,13 +41,13 @@
'Trip itinerary builder',
];
- function togglePlatform(label) {
+ function togglePlatform(id) {
appPlatforms.update((set) => {
const next = new Set(set);
- if (next.has(label)) {
- if (next.size > 1) next.delete(label);
+ if (next.has(id)) {
+ if (next.size > 1) next.delete(id);
} else {
- next.add(label);
+ next.add(id);
}
return next;
});
@@ -82,8 +82,8 @@
<div class="flex flex-wrap gap-2">
{#each platforms as p}
<button
- class="manus-chip {$appPlatforms.has(p.label) ? 'manus-chip-selected' : ''}"
- on:click={() => togglePlatform(p.label)}
+ class="manus-chip {$appPlatforms.has(p.id) ? 'manus-chip-selected' : ''}"
+ on:click={() => togglePlatform(p.id)}
>
<Icon icon={p.icon} size={16} />
{p.label}
diff --git a/chat/src/manus/flows/SamplePromptGrid.svelte b/chat/src/manus/flows/SamplePromptGrid.svelte
new file mode 100644
index 000000000..dbc1d4246
--- /dev/null
+++ b/chat/src/manus/flows/SamplePromptGrid.svelte
@@ -0,0 +1,26 @@
+<script>
+ import Icon from '../../Icon.svelte';
+ import { feArrowUpLeft } from '../../feather.js';
+ import { composerFill } from '../../stores.js';
+
+ export let title;
+ export let prompts;
+</script>
+
+<div>
+ <p class="text-sm font-semibold mt-10 mb-3">{title}</p>
+ <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-3">
+ {#each prompts as prompt}
+ <button
+ class="relative bg-white border border-[#E5E3DC] rounded-xl p-4 h-[96px] text-left text-sm hover:bg-[#F5F4EF] transition-colors overflow-hidden"
+ on:click={() => composerFill.set(prompt)}
+ >
+ <span class="line-clamp-3 block pr-5">{prompt}</span>
+ <Icon
+ icon={feArrowUpLeft}
+ class="absolute bottom-3 right-3 h-3.5 w-3.5 text-[#9C9A93]"
+ />
+ </button>
+ {/each}
+ </div>
+</div>
diff --git a/chat/src/manus/flows/UtilityFlows.svelte b/chat/src/manus/flows/UtilityFlows.svelte
new file mode 100644
index 000000000..55323660c
--- /dev/null
+++ b/chat/src/manus/flows/UtilityFlows.svelte
@@ -0,0 +1,33 @@
+<script>
+ import { mode } from '../../stores.js';
+ import SamplePromptGrid from './SamplePromptGrid.svelte';
+ import {
+ schedulePrompts,
+ researchPrompts,
+ spreadsheetPrompts,
+ visualizationPrompts,
+ videoPrompts,
+ audioPrompts,
+ playbookPrompts,
+ } from './utilityFlowData.js';
+</script>
+
+{#if $mode === 'schedule'}
+ <SamplePromptGrid title="Schedule examples" prompts={schedulePrompts} />
+{:else if $mode === 'research'}
+ <SamplePromptGrid title="Research examples" prompts={researchPrompts} />
+{:else if $mode === 'spreadsheet'}
+ <SamplePromptGrid title="Spreadsheet templates" prompts={spreadsheetPrompts} />
+{:else if $mode === 'visualization'}
+ <SamplePromptGrid title="Visualization examples" prompts={visualizationPrompts} />
+{:else if $mode === 'video'}
+ <SamplePromptGrid title="Video examples" prompts={videoPrompts} />
+{:else if $mode === 'audio'}
+ <SamplePromptGrid title="Audio examples" prompts={audioPrompts} />
+{:else if $mode === 'chat'}
+ <p class="text-xs text-[#6B6B6B] mt-4 text-center">
+ Tools and agents are off. Plain chat with the model.
+ </p>
+{:else if $mode === 'playbook'}
+ <SamplePromptGrid title="Playbook examples" prompts={playbookPrompts} />
+{/if}
diff --git a/chat/src/manus/flows/utilityFlowData.js b/chat/src/manus/flows/utilityFlowData.js
new file mode 100644
index 000000000..0d2ca8d8a
--- /dev/null
+++ b/chat/src/manus/flows/utilityFlowData.js
@@ -0,0 +1,118 @@
+import {
+ feCalendar, feTarget, feGrid, feBarChart2,
+ fePlay, feActivity, feMessageSquare, feBookOpen,
+} from '../../feather.js';
+
+export const modeConfig = {
+ schedule: {
+ label: 'Schedule task',
+ icon: feCalendar,
+ placeholder: 'What should we run on a schedule?',
+ secondary: { prefix: 'Cadence', default: 'Daily', options: ['Hourly', 'Daily', 'Weekly', 'Custom cron'] },
+ },
+ research: {
+ label: 'Wide Research',
+ icon: feTarget,
+ placeholder: 'What should we research, in parallel?',
+ secondary: { prefix: 'Sources', default: 'Web', options: ['Web', 'Web + Docs', 'Web + Code', 'Custom URLs'] },
+ },
+ spreadsheet: {
+ label: 'Spreadsheet',
+ icon: feGrid,
+ placeholder: 'Describe the spreadsheet you want to build',
+ secondary: { prefix: 'Format', default: 'Google Sheets', options: ['Google Sheets', 'Excel', 'CSV', 'Numbers'] },
+ },
+ visualization: {
+ label: 'Visualization',
+ icon: feBarChart2,
+ placeholder: 'Describe the chart or dashboard you want',
+ secondary: { prefix: 'Style', default: 'Minimal', options: ['Minimal', 'Editorial', 'Dark', 'Print'] },
+ },
+ video: {
+ label: 'Video',
+ icon: fePlay,
+ placeholder: 'Describe the video you want to create',
+ secondary: { prefix: 'Aspect', default: '16:9', options: ['16:9', '9:16', '1:1', '4:5'] },
+ },
+ audio: {
+ label: 'Audio',
+ icon: feActivity,
+ placeholder: 'Describe the audio you want',
+ secondary: { prefix: 'Voice', default: 'Auto', options: ['Auto', 'Specific voices', 'Multi-host'] },
+ },
+ chat: {
+ label: 'Chat mode',
+ icon: feMessageSquare,
+ placeholder: 'Just chat — no tools, no agents.',
+ secondary: null,
+ },
+ playbook: {
+ label: 'Playbook',
+ icon: feBookOpen,
+ placeholder: 'Describe a multi-step playbook to run',
+ secondary: { prefix: 'Tools', default: 'Default', options: ['Default', 'Web only', 'Code only', 'No tools'] },
+ },
+};
+
+export const schedulePrompts = [
+ 'Every weekday at 9am, summarize new GitHub issues in repo X',
+ 'Each Monday, draft a weekly status report from Linear',
+ 'Every hour, check for new Stripe disputes and email me',
+ 'Daily at 7pm, post a digest of unread Slack mentions',
+ 'Weekly on Friday, generate sales pipeline snapshot from CRM',
+ 'Every 15 minutes, poll uptime for our 3 critical services',
+];
+
+export const researchPrompts = [
+ 'Compare the top 10 vector databases on price, latency, scale',
+ 'Find every YC W24 company in dev tools with public pricing',
+ 'Summarize recent papers on LLM evaluation from 2024–2026',
+ 'List all Series A AI infra startups with announced rounds in Q1',
+ 'Extract feature parity matrix for Cursor, Claude Code, and Manus',
+ 'Find hiring pages of top 50 robotics startups; pull JD for SWE',
+];
+
+export const spreadsheetPrompts = [
+ 'Sales pipeline tracker with weighted forecast',
+ 'Personal monthly budget with category rollups',
+ 'Hiring funnel: candidates × stages × dropoff',
+ 'OKR tracker with quarterly progress',
+ 'Inventory tracker with reorder points',
+ 'SaaS metrics dashboard (ARR, MRR, churn)',
+];
+
+export const visualizationPrompts = [
+ 'Stacked bar chart of revenue by region by quarter',
+ 'Time-series of weekly active users with annotations',
+ 'Funnel chart for the signup-to-activation flow',
+ 'Geo heatmap of customer concentration',
+ 'Cohort retention grid (week-over-week)',
+ 'Sankey diagram of traffic source → conversion',
+];
+
+export const videoPrompts = [
+ '30-second product launch teaser with motion graphics',
+ '60-second explainer for a B2B SaaS feature',
+ 'Customer story with overlaid quotes',
+ 'Conference talk highlight reel',
+ 'Loop of a UI walkthrough with captions',
+ 'Short-form vertical reel for Instagram',
+];
+
+export const audioPrompts = [
+ 'Two-host podcast episode (15 min) on agentic coding',
+ 'Voiceover for a 60-second product demo, calm tone',
+ 'Soundtrack for a 30-second ad, upbeat and modern',
+ 'Audio summary of a long article, conversational',
+ 'Meditation guided session, 10 minutes',
+ 'Phone IVR greeting in 5 languages',
+];
+
+export const playbookPrompts = [
+ 'Onboard a new SDR: pull rep, send welcome email, schedule training',
+ 'Triage inbound bug report: dedupe, label, assign, draft reply',
+ 'Run a weekly RevOps review across CRM, Stripe, and Mixpanel',
+ 'Migrate a Notion doc tree into a Manus skill',
+ 'Audit GitHub repos for missing CI on default branch',
+ 'End-of-quarter portfolio review for a VC firm',
+];
diff --git a/chat/src/stores.js b/chat/src/stores.js
index 24aa9ab12..506c7d7ee 100644
--- a/chat/src/stores.js
+++ b/chat/src/stores.js
@@ -80,5 +80,6 @@ if (typeof window !== 'undefined') {
export const mode = writable(null);
export const websiteCategory = writable(null);
export const composerFill = writable(null);
+export const flowSecondary = persisted('flowSecondary', {});
export const appPlatforms = writable(new Set(['macOS']));
export const designModel = writable('gpt-image-2');
diff --git a/public/chat/index.html b/public/chat/index.html
index e283bd98d..86a388557 100644
--- a/public/chat/index.html
+++ b/public/chat/index.html
@@ -34,8 +34,8 @@
crossorigin="anonymous"
/>
<title>three.ws chat</title>
- <script type="module" crossorigin src="/chat/assets/index-LN0y1JWU.js"></script>
- <link rel="stylesheet" crossorigin href="/chat/assets/index-DWNAnUyF.css">
+ <script type="module" crossorigin src="/chat/assets/index-qGh5zb5D.js"></script>
+ <link rel="stylesheet" crossorigin href="/chat/assets/index-BBu-jFVK.css">
</head>
<body>
<div id="app"></div>