community-automations/telegram-langchain

Sales & CRM

PublicClaude subagent

Telegram + LangChain

Plenty of Telegram bots can chat, but few can actually do anything. This backbone wires a LangChain agent into your Telegram bot so it can reach for tools, call an internal API, or run a lookup mid-conversation.

sonnet4 daysTelegram Bot APILangChainClaudeRedis
ClaudeClaude
ROI for
README.md

Why this subagent

Plenty of Telegram bots can chat, but few can actually do anything. This backbone wires a LangChain agent into your Telegram bot so it can reach for tools, call an internal API, or run a lookup mid-conversation.

You register the tools the agent is allowed to use, and it decides which one fits each request. Turn history lives in Redis, so multi-step tasks hold their thread across messages rather than forgetting context.

How it runs

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

Sample output

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.