BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/ai-interface-pack

AI Interface Pack

motiq/ai-interface-pack
FreeBlock

The complete AI Interface Pack — installs the AI Agent Workspace block and its four components (AI Response Stream, Tool Call Activity, Source Citation Rail, Agent Run Timeline) as editable source, deduping shared utilities.

Install it

npx shadcn@latest add https://www.motiq.dev/r/ai-interface-pack.json

Source

registry/blocks/ai-agent-workspace.tsxwww.motiq.dev/r/ai-interface-pack.json · first 6 KB
1"use client";
2
3import * as React from "react";
4
5import { cn } from "@/lib/utils";
6import {
7 getStatusMeta,
8 statusVars,
9 useControllableState,
10 type StatusTone,
11} from "@/lib/motiq";
12import {
13 AgentRunTimeline,
14 type AgentRun,
15 type RunStep,
16 type RunStage,
17 type StepStatus,
18} from "@/components/motiq/agent-run-timeline";
19import {
20 ToolCallActivity,
21 type ToolCall,
22 type ToolCallStatus,
23} from "@/components/motiq/tool-call-activity";
24import {
25 AiResponseStream,
26 type ResponseSegment,
27 type StreamState,
28 type StreamSource,
29} from "@/components/motiq/ai-response-stream";
30import {
31 SourceCitationRail,
32 CitationMarker,
33 type CitationSource,
34} from "@/components/motiq/source-citation-rail";
35
36/**
37 * AiAgentWorkspace — a composed, full-page AI agent workspace built from four
38 * released Motiq components:
39 * • AgentRunTimeline — the run, step-by-step, with approval + retry controls
40 * • ToolCallActivity — the same run seen as a live tool-call inspector
41 * • AiResponseStream — the streamed answer, with inline citations
42 * • SourceCitationRail — interactive, claim-level source attribution
43 *
44 * It is strictly a *presentation* composition. It never talks to a model, never
45 * executes an agent, never retrieves anything, and never fabricates a result.
46 * The application owns the workspace state end to end; this block simply renders
47 * whatever `phase` + `dataset` it is given and reports user intent
48 * (approve / reject / retry / cancel / stop) back by moving the phase. It ships
49 * with clearly-fictional inline demo data so it renders standalone, and every
50 * override is a prop so a host app can drive the exact same UI from real state.
51 *
52 * The demo state machine has six required states — Idle · Running · Waiting for
53 * approval · Completed · Failed · Cancelled — each of which fully determines the
54 * state of all four child components. Callbacks transition between phases:
55 * approve → completed reject → cancelled
56 * retry → running cancel → cancelled stop → cancelled
57 *
58 * Hydration-safe: there is no `Date.now()` / `Math.random()` / `new Date()` at
59 * module scope, during render, or in a state initializer — every timestamp is a
60 * fixed epoch constant, so the server and client render identical markup.
61 * Reduced-motion, forced-colors, and dark mode are all inherited from the
62 * children. Clean-room original.
63 */
64
65// … truncated

What it pulls in

npm packages

  • motion

Other registry items

  • https://motiq.dev/r/agent-run-timeline.json
  • https://motiq.dev/r/tool-call-activity.json
  • https://motiq.dev/r/ai-response-stream.json
  • https://motiq.dev/r/source-citation-rail.json
  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/blocks/ai-agent-workspace.tsx

Facts

Registry
motiq
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-12
Last confirmed
today

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Agent Operations Heroagent-operations-heromotiqBlocksFree1 dep
AI Agent Workspaceai-agent-workspacemotiqBlocksFree1 dep
Collaboration Packcollaboration-packmotiqBlocksFree1 dep
Collaborative Launch Herocollaborative-launch-heromotiqBlocksFree1 dep
Collaborative Review Workspacecollaborative-review-workspacemotiqBlocksFree1 dep
Data Motion Packdata-motion-packmotiqBlocksFree1 dep
Deployment Command Centerdeployment-command-centermotiqBlocksFree1 dep
Deployment Control Herodeployment-control-heromotiqBlocksFree1 dep
BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex

BlockDex

Built by

Kynth Studios

the studio behind StoreReady, ToolDrift and BreachProbe

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product.

BlockDex