community-automations/telegram-supabase-memory

세일즈 및 CRM

PublicClaude 서브에이전트

Telegram + Supabase Memory

대부분의 챗봇은 창을 스크롤하는 순간 모든 걸 잊어버려서, 사용자는 같은 말을 계속 반복하게 됩니다. 이 레이어는 각 메시지를 임베딩하고 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.