---
title: "Discussion on \"Tutorial: A Customer-Support Agent with Live Context in 120 Lines of SQL\" | Hashnode"
description: "Discussion on \"Tutorial: A Customer-Support Agent with Live Context in 120 Lines of SQL\". Kafka, Postgres CDC, in-stream embeddings and agent memory as materialized views on RisingWave"
url: "https://hashnode.com/posts/ai-agent-live-context-tutorial-sql/6af142fe522f44281a50b1cf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Tutorial: A Customer-Support Agent with Live Context in 120 Lines of SQL](https://risingwave.com/blog/ai-agent-live-context-tutorial-sql?utm_source=hashnode&utm_medium=feed)

Kafka, Postgres CDC, in-stream embeddings and agent memory as materialized views on RisingWave

3d ago · 9 min read · risingwave.com  
Read the article

-   [#ai-agents](https://hashnode.com/tag/ai-agents)
-   [#risingwave](https://hashnode.com/tag/risingwave)
-   [#kafka](https://hashnode.com/tag/kafka)
-   [#vector-search](https://hashnode.com/tag/vector-search)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[RisingWave Labs](https://hashnode.com/@RisingWaveLabs)

@RisingWaveLabs · Bay Area, California

  
[View profile](https://hashnode.com/@RisingWaveLabs)

RisingWave is an open-source real-time event streaming platform.

RisingWave is a real-time event streaming platform designed to offer the simplest and most cost-effective way to process, analyze, and manage real-time event data — with built-in support for the Apache Iceberg™ open table format. It provides both a Postgres-compatible SQL interface and a DataFrame-style Python interface. RisingWave can ingest millions of events per second, continuously join and analyze live streams with historical data, serve ad-hoc queries at low latency, and manage data reliably in Apache Iceberg™ tables.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
