community-automations/telegram-langchain

Vendas e CRM

PublicSubagente Claude

Telegram + LangChain

Muitos bots do Telegram conseguem conversar, mas poucos conseguem realmente fazer alguma coisa. Esta estrutura liga um agente LangChain ao seu bot do Telegram para que possa recorrer a ferramentas, chamar uma API interna ou fazer uma consulta a meio da conversa.

sonnet4 diasTelegram Bot APILangChainClaudeRedis
ClaudeClaude
ROI for
README.md

Porquê este subagente

Muitos bots do Telegram conseguem conversar, mas poucos conseguem realmente fazer alguma coisa. Esta estrutura liga um agente LangChain ao seu bot do Telegram para que possa recorrer a ferramentas, chamar uma API interna ou fazer uma consulta a meio da conversa.

Regista as ferramentas que o agente pode usar, e ele decide qual se adequa a cada pedido. O histórico de turnos fica no Redis, pelo que as tarefas de vários passos mantêm o fio à meada entre mensagens, em vez de perderem o contexto.

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)

Act as a tool-using agent; decide which tool to call, then answer the user with the tool result.

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.