community-automations/telegram-supabase-memory

Vendas e CRM

PublicSubagente Claude

Telegram + Memória Supabase

A maioria dos chatbots esquece-se de tudo no momento em que a janela sai do ecrã, por isso os utilizadores repetem-se constantemente. Esta camada dá ao seu bot do Telegram uma memória duradoura ao incorporar cada mensagem e guardá-la no Supabase com pgvector.

sonnet4 diasTelegram Bot APISupabasepgvectorClaude
ClaudeClaude
ROI for
README.md

Porquê este subagente

A maioria dos chatbots esquece-se de tudo no momento em que a janela sai do ecrã, por isso os utilizadores repetem-se constantemente. Esta camada dá ao seu bot do Telegram uma memória duradoura ao incorporar cada mensagem e guardá-la no Supabase com pgvector.

Quando alguém faz uma nova pergunta, o sistema recupera as mensagens anteriores mais relevantes e devolve-as como contexto. O bot lembra-se do que lhe disse na semana passada, e a memória continua a crescer a cada conversa em vez de se reiniciar.

Como funciona

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

Saída de exemplo

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.