The interface for your agents

Chat, tool calls, approvals and sign-ins as components you install into your app and own. Connect them with one hook and your agent looks like it belongs in your product.

npx shadcn@latest add https://loom.mkhonta.com/r/thread.json
Browse components

Support

Order #4182 arrived torn. Can I get a refund?

Sorry about that. I found order #4182: a Linen shirt, size M, delivered by UPS. I can refund the full $48.00.

Refund $48.00 to the original card?

Refunds can't be undone.

Waiting for you

The real components with a scripted agent. Approve or deny the refund, or ask it something.

Every part an agent streams

Replies, reasoning, files, tool calls, approvals, questions and sign-ins each have a component. Kinds the kit doesn't know yet still render from the fields every request shares.

Tool calls

Approvals

Delete the 3 draft invoices? This can't be undone.

Questions

Question

Which plan should I move the team to?

Sign-in

Sign in

Connect GitHub so I can open the pull request.

Enter this code
WDJB-MJHT
Sign in to GitHub

Status

Using Search docs, Get invoice

AnsweredArchive

Where your users already are

Four layouts around the same conversation. Open the panel or the widget from any button of your own.

01

Panel

Docked beside your product. The page stays usable while it's open.

<LoomPanel chat={chat} />

02

Widget

A floating window from a launcher or any button of yours. A sheet on phones.

<LoomWidget chat={chat} />

03

Inline

A card inside a page: a help center, a dashboard tile, an onboarding step.

<LoomInline chat={chat} />

04

Page

The agent as the whole page, with room for your own sidebar.

<LoomPage chat={chat} />

Three steps to a working agent

Any app with shadcn and Tailwind v4. The registry lives at loom.mkhonta.com/r.

  1. 1 · Step

    Add the components

    The thread and everything it renders land in your project as files.

    npx shadcn@latest add \
      https://loom.mkhonta.com/r/thread.json https://loom.mkhonta.com/r/eve.json
  2. 2 · Step

    Connect your agent

    useLoomEve works with eve: it takes useEveAgent's options and returns what the kit renders.

    const chat = useLoomEve({ agent: "support" });
    
    return <LoomThread chat={chat} />;
  3. 3 · Step

    Make it yours

    Render any tool as your own UI, or edit the files like the rest of your app.

    <LoomThread
      chat={chat}
      tools={{ get_order: (call) => <Order {...call.output} /> }}
    />

Give your agent a face

Install the thread, connect it with one hook, and change anything you like. It's your code.