community-automations/telegram-supabase-memory

営業&CRM

PublicClaude サブエージェント

Telegram + Supabase メモリ

ほとんどのチャットボットは画面がスクロールした瞬間にすべてを忘れてしまうため、ユーザーは何度も同じことを繰り返す羽目になります。このレイヤーは、各メッセージをベクトル化してSupabaseにpgvectorで保存することで、Telegramボットに永続的な記憶を持たせます。

sonnet4日Telegram Bot APISupabasepgvectorClaude
ClaudeClaude
ROI for
README.md

このサブエージェントを選ぶ理由

ほとんどのチャットボットは画面がスクロールした瞬間にすべてを忘れてしまうため、ユーザーは何度も同じことを繰り返す羽目になります。このレイヤーは、各メッセージをベクトル化してSupabaseにpgvectorで保存することで、Telegramボットに永続的な記憶を持たせます。

新しい質問が来ると、最も関連性の高い過去のメッセージを引っ張り出してコンテキストとして渡します。先週伝えたこともちゃんと覚えていて、チャットを重ねるたびに記憶が蓄積され、リセットされることはありません。

動作の流れ

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

出力サンプル

json
// Sample output
// (generated when the pipeline finishes)

Answer using the retrieved memories below; if a memory conflicts with the new message, trust the newest one.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.