Tracking and personalizing AI agents with Snowplow and the Vercel AI SDK

workshop

Jordan Peck James Borlase

About the event

AI agents usually rely on the conversation as their main source of context.

But users also interact with the rest of the product. They open pages, change filters, compare options, and take actions before asking the agent a question.

This creates two practical challenges:

  1. The agent may respond without important context from the current user session.
  2. The engineering team may have limited visibility into what the user did, what the application recorded, and how the agent responded.

In this hands-on workshop, we will show how to address both problems using a Next.js travel chatbot example.

We will use data from three layers: client-side user activity, server-side application events, agent actions and decisions to compute live session attributes and pass them into the agent's system prompt.

During the workshop, you'll learn how to:

  • Set up a pipeline
  • Validate events against schemas in real time
  • Track user, application, and agent activity
  • Capture agent actions and decisions as structured events
  • Compute live session attributes from a behavioral event stream
  • Add those attributes to the agent's system prompt
  • Adapt responses based on what the user is doing in the product

You'll understand:

  • How behavioral data can improve agent responses
  • How to add observability beyond basic chat logs
  • How to connect product analytics with agent traces
  • How to structure events so they can support debugging, evaluation, and personalization
  • How to implement real-time context without building the entire data pipeline from scratch

By the end of the workshop, you will have a practical example of how to connect behavioral tracking, agent observability, and real-time personalization in one application.

This workshop is hosted by DataTalks.Club with support from Snowplow (opens in a new tab).

About the speakers

Jordan Peck Director of Field Engineering at Snowplow

Jordan Peck is Director of Field Engineering at Snowplow, where he works with the company's most complex and strategic customers to solve behavioral data challenges. His role bridges engineering and data teams: he helps them get Snowplow pipelines into production and extract value from event streams to power real-time analytics and agentic AI use cases.

Working at the intersection of event data infrastructure and customer outcomes, Jordan brings deep practical knowledge of what it takes to run behavioral data in production, from tracking design to scaling event streams for machine learning and real-time applications. He also writes about data and engineering on Medium, sharing lessons from his work with teams building on behavioral data.

James Borlase Senior Product Manager at Snowplow

James Borlase is a Senior Product Manager at Snowplow, where he specializes in event tracking, data strategy, and advanced analytics. His work centers on helping organizations collect high-quality behavioral data and turn it into insight, the foundation for everything from experimentation to personalization.

James brings a strong analytics leadership background to product management, having worked at Sessions, Google, and Serato. Across these roles he has built data-driven solutions spanning machine learning, real-time personalisation, product analytics, and marketing measurement. That combination of hands-on analytics and product ownership gives him an end-to-end view of how modern data teams operate, and of how thoughtful event tracking underpins reliable decision-making.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club