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.