All blocks

App template

Bot console

A messaging app where every contact is an agent with a job: status lines, a live screen to take over, routines, and cards that wait for your OK.

Chief of Staff

  1. What's the latest on Halcyon Health?
  2. From Tuesday's call notes, they need SSO and a calendar integration before they'll start a pilot.

    The pilot plan and their account notes in the CRM are up to date.

    Halcyon kickoff agenda.pdf12 pages · 1.2 MB
  3. Good. Post an update in their shared channel, and brief me every morning at 8.
  4. Posted in #halcyon-shared.

  5. Created routineMorning briefing

  6. I'll brief you every day at 8:00 AM, starting tomorrow.

  7. Morning check-in done. All on track, no blockers.

    Inbox has two replies for you, and Recruiting's shortlist is ready.

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/bot-console
  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 BotConsole, which brings its own in-memory router.
  2. Connect your backendEvery read and write goes through Agents in . Implement it over your API and point AgentsLive 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

  • Agents

    /

    Every agent as a conversation with its latest status, beside the newest one. On a phone, pinned faces over the list.

  • Conversation

    /agents/:agent

    Messages, files, events and approval cards, beside the agent's screen, routines, memory and skills.

  • Routine

    /agents/:agent/routines/:routine

    Turn a routine on or off, edit what it does and when, test it and read its runs.

  • Memory

    /agents/:agent/memory

    What the agent remembers, to correct, forget or approve.

  • Skills

    /agents/:agent/skills

    What the agent knows how to do, to turn on, accept or remove.

  • New agent

    /new

    Pick a face and a name, or start from a suggested job.

  • Plugins

    /plugins

    The apps every agent can work in.

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 Agents service. Implement its interface in over HTTP, a sync engine or a database client, then change one line:

export const AgentsLive = Agents.sample
// becomes your Layer, such as
export const AgentsLive = Layer.effect(Agents, makeHttpAgents)

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 Agents.sample in services/Agents.ts
  • domain/screen.ts, which draws the sample screen (real frames arrive as image URLs)

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 .