Skip to content

Make the whole loop, from asking Cue to seeing the answer, much faster #26

Open

Description

@a-Fig

In the first real Google Meet call (2026-11-13, #4), the time from Tyler asking Cue for something to anything showing up felt slow. #11 covers the Claude call itself. This issue is about the whole loop, from someone speaking to the meeting seeing the result, where the Claude call is only one stage.

The loop today, stage by stage:

  1. Speech to transcript line. Recall's streaming transcription (prioritize_low_latency) has to finish a phrase before app.js gets it. Not measured yet.
  2. Line to think call. maybeThink runs on a 4 s setInterval (TICK_MS in public/app.js). Even after "Cue, …" sets state.addressed, the call waits for the next tick: 0–4 s for nothing.
  3. Think call. Measured in the call on Sonnet 5.5 at medium: 7.4 s to choose a video, 10.1 s and 12.7 s for research. elastic-granola's replay puts quiet ticks at about 1.6 s. This stage is How fast and how cheap does a think call need to be? #11's.
  4. Result to screen. show_research then fetches /api/page and renders, which takes another round trip.
  5. Screen to meeting. Recall streams the page at 15 fps, and Meet adds its own share latency. Not measured.

Ideas, cheapest first:

  • On a wake word, call think at once instead of waiting for the next tick (stage 2).
  • Show something within about a second of "Cue, …": a "looking it up…" state, so people know it heard them, while the real answer loads. That state is cuddly-lobster's (public/ split).
  • Have the page fetch /api/page while the model is still deciding, or have the server return the page text along with the action (stage 4).
  • Results in parts: the caption first, then the page (with How fast and how cheap does a think call need to be? #11).
  • Measure stages 1 and 5 in a real call. Timestamps from the transcript message, the think request and the render, logged together, would give the whole timeline.

Done when: each stage has a measured time from a real call, and from "Cue, …" to something on screen takes under 2 s, with the full answer as fast as #11's budget allows.

Activity

  1. added
    Feature
    priority: now
    PR needed
    from: Tyler
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeaturePR neededfrom: Tylerpriority: now

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions