max_on_hn 8 days ago

I don't know of anything off-the-shelf, but you could query analytics tools at runtime (e.g. Mixpanel, PostHog) to gather the raw data, and use a generic summarizer to turn that into behavioral context that's usable downstream.

1
marcospassos 8 days ago

Yeah, exactly. My whole point is to avoid doing all that. It adds up fast. What I really want is something that handles the heavy lifting end-to-end: tracking, interpreting, and outputting a prompt-ready summary like:

"The user landed on the pricing page from a Google ad, clicked to compare plans, then visited the enterprise section before initiating a support chat."

rcarmo 8 days ago

That reads like the kind of session context you’d use for things like breadcrumbs and the like. Just keep a summary going in the user session, re-pack it or summarize it as soon as it gets above a threshold.