All blocks

App template

Personal assistant

Assistants that each own task threads: describe a problem, watch the plan tick while the assistant works in its browser, and approve the outcome.

Alder Supply says 4410 is paid

  1. Accounts

    You created this conversation

  2. alder supply says they paid 4410 weeks ago but it still shows overdue?? final notice goes out friday, can you figure out what happened
  3. Accounts

    I'll check the invoice, then what Alder says they sent, then whether the money ever arrived.

    • Open invoice 4410
    • Read what Alder sent
    • Look for the money
    • Match it to the invoice
    Looking for the money…

Use this template

Installs the whole app into your project: its pages, routes, services with sample data, agent tools and the browser entry. Every file is yours to edit.

npx shadcn@latest add checkfu/uicontext/personal-assistant
  1. Run itLoad from your page’s script. It builds the app with createApp: the browser’s router, the agent tools, an offline notice, and sign-in when you turn it on. Inside an app that already routes, render PersonalAssistant, which brings its own in-memory router.
  2. Connect your backendEvery read and write goes through Assistants in . Implement it over your API and point AssistantsLive at your Layer.
  3. Make it yoursPages are one file per route. Delete the ones you don’t need, and the sample data in .

Screens

  • Workspace

    /

    Assistants with their tasks, starred first, beside the newest task. On a phone, the assistants.

  • Assistant

    /assistants/:assistant

    One assistant's tasks; on a wide screen, its newest task.

  • Task

    /tasks/:task

    The request, the plan as a live checklist, the outcome and approvals, beside the browser and files.

  • New task

    /new

    Pick an assistant and describe the problem; it restates the job and starts.

Where your backend plugs in

Pages never call a backend. They read through the queries in queries/ and write through Commands kept beside the component that runs them; both capture the Assistants service. Implement its interface in over HTTP, a sync engine or a database client, then change one line:

export const AssistantsLive = Assistants.sample
// becomes your Layer, such as
export const AssistantsLive = Layer.effect(Assistants, makeHttpAssistants)

The root provides it once, so every page shares one instance. Sign-in is one line: delete auth: false in once your backend serves the session routes, and the sidebar shows who signed in.

What to delete

  • services/seed.ts, and Assistants.sample in services/Assistants.ts
  • components/SamplePage.ts, which draws the sample sites (a real backend shows the live page)

To drop a screen, delete its file in pages/ and its route in ; TypeScript points at every link that still prints it. The agent tools are in .