community-automations/telegram-langchain

銷售與 CRM

PublicClaude 子代理

Telegram + LangChain

Telegram 上能聊天的機器人很多,但真正能做事的很少。這個後端架構將 LangChain 代理接入你的 Telegram 機器人,讓它能在對話中呼叫工具、調用內部 API 或執行查詢。

sonnet4 天Telegram Bot APILangChainClaudeRedis
ClaudeClaude
ROI for
README.md

為什麼選擇此子代理

Telegram 上能聊天的機器人很多,但真正能做事的很少。這個後端架構將 LangChain 代理接入你的 Telegram 機器人,讓它能在對話中呼叫工具、調用內部 API 或執行查詢。

你只需註冊代理可以使用的工具,它會自行判斷每個請求該用哪一個。對話紀錄存放在 Redis,多步驟任務能跨訊息保持脈絡,不會中途忘記上下文。

運作方式

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

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.