community-automations/telegram-supabase-memory

Πωλήσεις & CRM

PublicΥποπράκτορας Claude

Telegram + Μνήμη Supabase

Τα περισσότερα chatbot ξεχνούν τα πάντα μόλις κλείσεις το παράθυρο, κι έτσι οι χρήστες αναγκάζονται να επαναλαμβάνονται συνέχεια. Αυτό το layer δίνει στο Telegram bot σου μόνιμη μνήμη, μετατρέποντας κάθε μήνυμα σε embedding και αποθηκεύοντάς το στο Supabase με pgvector.

sonnet4 ημέρεςTelegram Bot APISupabasepgvectorClaude
ClaudeClaude
ROI for
README.md

Γιατί αυτός ο subagent

Τα περισσότερα chatbot ξεχνούν τα πάντα μόλις κλείσεις το παράθυρο, κι έτσι οι χρήστες αναγκάζονται να επαναλαμβάνονται συνέχεια. Αυτό το layer δίνει στο Telegram bot σου μόνιμη μνήμη, μετατρέποντας κάθε μήνυμα σε embedding και αποθηκεύοντάς το στο Supabase με pgvector.

Όταν κάποιος κάνει μια νέα ερώτηση, ανασύρει τα πιο σχετικά παλαιότερα μηνύματα και τα περνάει ως context. Το bot θυμάται τι του είπες την περασμένη εβδομάδα, και η μνήμη μεγαλώνει με κάθε συζήτηση αντί να μηδενίζεται.

Πώς λειτουργεί

    • 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.