Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ CODE_OF_CONDUCT.md
apps/api/models
.superpowers/
.astro/
.hallmark/
*.gen.ts
# HyperFrames-generated HTML is render input; preserve its deterministic markup.
videos/ailoom-tour/assets/workflows/gsap.min.js
videos/ailoom-tour/compositions/workflow-scenes/
videos/ailoom-tour/compositions/workflows/
videos/ailoom-tour/index.html
# Test inputs: kept byte-exact, the way real sites and uploads serve them.
apps/api/test/fixtures/
73 changes: 23 additions & 50 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,65 +25,38 @@
- **Privacy controls:** choose whether email, phone, payment-card, and credential values are redacted from new transcripts and before AI or tool requests.
- **Self-hosted by design:** run on PostgreSQL with pgvector and connect a supported hosted or local model provider.

## See the product
## Feature walkthroughs

Explore the widget, knowledge, handoff, and answer-review workflows. The walkthrough captions explain each step while keeping the answer evidence unobstructed.
Six separate, narrated tours cover the setup and the main customer, agent, and admin workflows. Each is about a minute long, uses the same voice, and includes English captions. Select a poster to play a video.

### 1. Configure the widget and preview it as a customer
| Set up and integrate | Configure the customer experience |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [![Set up AiLoom, add the widget, and connect integrations](docs/assets/workflow-setup-integrations-poster.jpg)](videos/ailoom-tour/renders/workflows/setup-integrations.mp4) | [![Configure cards, quick replies, and a support form](docs/assets/workflow-widget-experience-poster.jpg)](videos/ailoom-tour/renders/workflows/widget-experience.mp4) |
| [Play setup and integration](videos/ailoom-tour/renders/workflows/setup-integrations.mp4) | [Play the widget walkthrough](videos/ailoom-tour/renders/workflows/widget-experience.mp4) |

[![Widget interactions: admin-authored cards, quick replies, and a bounded form, followed by the customer-facing widget](docs/assets/screenshot-showcase-widget-interactions.png)](videos/ailoom-tour/assets/showcase-widget-interactions.mp4)
| Ground answers in knowledge | Bring a person into the conversation |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| [![Add knowledge, test retrieval, and inspect answer evidence](docs/assets/workflow-grounded-answers-poster.jpg)](videos/ailoom-tour/renders/workflows/grounded-answers.mp4) | [![Route a customer handoff to an agent](docs/assets/workflow-human-handoff-poster.jpg)](videos/ailoom-tour/renders/workflows/human-handoff.mp4) |
| [Play the knowledge walkthrough](videos/ailoom-tour/renders/workflows/grounded-answers.mp4) | [Play the handoff walkthrough](videos/ailoom-tour/renders/workflows/human-handoff.mp4) |

[Watch widget setup and visitor preview](videos/ailoom-tour/assets/showcase-widget-interactions.mp4)
| Keep tools inside admin limits | Measure and improve answer quality |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [![Review bounded API and MCP tools and privacy controls](docs/assets/workflow-safe-tools-privacy-poster.jpg)](videos/ailoom-tour/renders/workflows/safe-tools-privacy.mp4) | [![Inspect traces, evaluations, prompt releases, and knowledge gaps](docs/assets/workflow-answer-quality-poster.jpg)](videos/ailoom-tour/renders/workflows/answer-quality.mp4) |
| [Play the tools and privacy walkthrough](videos/ailoom-tour/renders/workflows/safe-tools-privacy.mp4) | [Play the answer quality walkthrough](videos/ailoom-tour/renders/workflows/answer-quality.mp4) |

### 2. Add knowledge and test retrieval

[![Add a knowledge source, then test which passages match a customer question](docs/assets/screenshot-showcase-retrieval.png)](videos/ailoom-tour/assets/showcase-knowledge.mp4)

[Watch the knowledge and retrieval flow](videos/ailoom-tour/assets/showcase-knowledge.mp4)

### 3. Hand off to an agent and reply in the same conversation

[![Customer requests a person, confirms the handoff, shares optional contact details, and receives an agent reply in the same chat](docs/assets/screenshot-showcase-handoff.png)](videos/ailoom-tour/assets/showcase-handoff.mp4)

[Watch the handoff and agent reply](videos/ailoom-tour/assets/showcase-handoff.mp4)

### 4. Inspect the evidence behind an answer

Open a seeded answer trace to review the retrieved source, relevance, model usage, cost, and latency.

[![Answer trace: inspect the source and runtime details behind an assistant response](docs/assets/screenshot-showcase-answer-trace.png)](videos/ailoom-tour/assets/showcase-answer-trace.mp4)

[Watch answer evidence review](videos/ailoom-tour/assets/showcase-answer-trace.mp4)
The demos use synthetic Northwind Outfitters data and a mock AI provider in a local workspace. The answer trace is seeded with retrieved evidence; no shared public sandbox is available.

### Admin and agent screens

Screenshots show the controls and inbox details at a glance. Labels are included inside each image.

| Widget fields and quick-reply result | Routing and agent availability |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [![Admin-configured bounded support form](docs/assets/screenshot-showcase-interaction-form.png)](docs/assets/screenshot-showcase-interaction-form.png) | [![Agent presence, least-loaded assignment, and open-conversation capacity](docs/assets/screenshot-showcase-operations.png)](docs/assets/screenshot-showcase-operations.png) |
| [![A customer selects a suggested delivery question and sends it to the assistant](docs/assets/screenshot-showcase-quick-reply.png)](docs/assets/screenshot-showcase-quick-reply.png) | [![Response and resolution targets for human handoffs](docs/assets/screenshot-showcase-sla.png)](docs/assets/screenshot-showcase-sla.png) |
| Customer handoff in the team inbox | Agent reply in the shared conversation |
| [![The visitor's handoff request appears in the agent inbox](docs/assets/screenshot-showcase-inbox.png)](docs/assets/screenshot-showcase-inbox.png) | [![An agent replies in the shared conversation](docs/assets/screenshot-showcase-agent-reply.png)](docs/assets/screenshot-showcase-agent-reply.png) |
| Usage and cost | Knowledge gaps |
| [![Support volume, feedback, tokens, and cost](docs/assets/screenshot-showcase-usage.png)](docs/assets/screenshot-showcase-usage.png) | [![Repeat unanswered questions to improve source coverage](docs/assets/screenshot-showcase-insights.png)](docs/assets/screenshot-showcase-insights.png) |
| Privacy and data sharing | Read-only API and MCP tools |
| [![Choose categories to redact before provider requests](docs/assets/screenshot-showcase-privacy.png)](docs/assets/screenshot-showcase-privacy.png) | [![Review tool inputs, read-only scope, and output fields](docs/assets/screenshot-showcase-tools.png)](docs/assets/screenshot-showcase-tools.png) |

<details>
<summary>Watch the admin walkthroughs for routing and knowledge gaps</summary>

![Configure availability, automatic assignment, capacity, and service targets](docs/assets/screenshot-showcase-operations.png)

[Watch agent routing and service targets](videos/ailoom-tour/assets/showcase-agent-operations.mp4)

![Review usage trends and find unanswered questions that need better coverage](docs/assets/screenshot-showcase-insights.png)

[Watch usage and knowledge-gap reporting](videos/ailoom-tour/assets/showcase-insights.mp4)

</details>
These labeled screenshots show the controls and inbox details at a glance.

All recordings use synthetic Northwind Outfitters data in a local demo workspace. The answer trace is a seeded conversation with retrieved evidence and a deterministic mock provider. [Watch the sample customer Q&A](videos/ailoom-tour/assets/showcase-answer.mp4). No shared public sandbox is available.
| Widget interactions | Routing and service targets |
| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [![Admin-configured bounded support form](docs/assets/screenshot-showcase-interaction-form.png)](docs/assets/screenshot-showcase-interaction-form.png) | [![Agent presence, least-loaded assignment, and capacity](docs/assets/screenshot-showcase-operations.png)](docs/assets/screenshot-showcase-operations.png) |
| [![Customer quick reply in the widget](docs/assets/screenshot-showcase-quick-reply.png)](docs/assets/screenshot-showcase-quick-reply.png) | [![Response and resolution targets for handoffs](docs/assets/screenshot-showcase-sla.png)](docs/assets/screenshot-showcase-sla.png) |
| [![Visitor handoff request in the team inbox](docs/assets/screenshot-showcase-inbox.png)](docs/assets/screenshot-showcase-inbox.png) | [![Agent reply in the shared conversation](docs/assets/screenshot-showcase-agent-reply.png)](docs/assets/screenshot-showcase-agent-reply.png) |
| [![Support volume, feedback, tokens, and cost](docs/assets/screenshot-showcase-usage.png)](docs/assets/screenshot-showcase-usage.png) | [![Repeated unanswered questions to improve source coverage](docs/assets/screenshot-showcase-insights.png)](docs/assets/screenshot-showcase-insights.png) |
| [![Choose categories to redact before provider requests](docs/assets/screenshot-showcase-privacy.png)](docs/assets/screenshot-showcase-privacy.png) | [![Review tool inputs, scope, and output fields](docs/assets/screenshot-showcase-tools.png)](docs/assets/screenshot-showcase-tools.png) |

To run the seeded demo after starting the local development stack:

Expand Down
14 changes: 10 additions & 4 deletions apps/docs/scripts/copy-assets.mjs
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
// SPDX-License-Identifier: AGPL-3.0-only
// Copies the architecture diagrams from the repository's docs/assets into the docs site,
// so docs/assets stays the single source of truth (run automatically before dev/build).
import { cpSync, copyFileSync, mkdirSync, readdirSync, rmSync } from 'node:fs';
import { cpSync, copyFileSync, mkdirSync, readFileSync, readdirSync, rmSync } from 'node:fs';
import { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';

const here = dirname(fileURLToPath(import.meta.url));
const from = join(here, '../../../docs/assets');
const to = join(here, '../public/assets');
const tour = join(here, '../../../videos/ailoom-tour');
const workflowVideos = join(tour, 'renders/workflows');
const workflowSources = join(tour, 'workflows');
const workflowManifest = JSON.parse(readFileSync(join(workflowSources, 'manifest.json'), 'utf8'));

rmSync(to, { recursive: true, force: true });
mkdirSync(to, { recursive: true });
const svgs = readdirSync(from).filter((f) => f.endsWith('.svg'));
for (const f of svgs) cpSync(join(from, f), join(to, f));
const showcaseFiles = readdirSync(from).filter((f) => /^screenshot-showcase-.*\.png$/.test(f));
for (const f of showcaseFiles) cpSync(join(from, f), join(to, f));
const videos = readdirSync(join(tour, 'assets')).filter((f) => /^showcase-.*\.mp4$/.test(f));
for (const f of videos) copyFileSync(join(tour, 'assets', f), join(to, f));
copyFileSync(join(tour, 'renders', 'ailoom-product-tour.mp4'), join(to, 'ailoom-product-tour.mp4'));
copyFileSync(join(from, 'ailoom-tour-poster.png'), join(to, 'ailoom-tour-poster.png'));
for (const { slug } of workflowManifest.videos) {
copyFileSync(join(workflowVideos, `${slug}.mp4`), join(to, `workflow-${slug}.mp4`));
copyFileSync(join(workflowSources, `${slug}.en.vtt`), join(to, `workflow-${slug}.en.vtt`));
copyFileSync(join(from, `workflow-${slug}-poster.jpg`), join(to, `workflow-${slug}-poster.jpg`));
}
// eslint-disable-next-line no-console
console.log(
`copy-assets: ${svgs.length} diagrams, ${showcaseFiles.length} screenshots, and ${videos.length + 1} videos copied`,
`copy-assets: ${svgs.length} diagrams, ${showcaseFiles.length} screenshots, and ${workflowManifest.videos.length + 1} narrated videos copied`,
);
Loading