Connect your LangChain agent to Telegram
LangChain is the open-source framework for building agents and LLM apps in Python and JavaScript. Novu Connect gives it a voice in Telegram, with a real two-way conversation and reliable delivery. Build the agent once, reach users where they already work.

What is LangChain
LangChain gives developers the building blocks for agents: models, tools, memory, and control flow. You compose chains and agents, wire in your own tools, and keep the reasoning in your codebase. LangChain runs the agent. It does not carry the conversation to your users. That last mile, reaching a person in Slack and routing their reply back to your agent, is what Novu Connect adds.
- Tool calling and structured output for real agent actions
- Memory and retrieval for context across a conversation
- Runs in Python or JavaScript, in your own app
- A large ecosystem of integrations you already use
LangChain in Telegram
Novu Connect is the communication layer, the ACI, Agent Communication Infrastructure, bridge between your LangChain agent and Telegram. Your agent keeps running in your app. Novu delivers its messages to Telegram, maps each user, and forwards their replies back to your handler. We never run your agent's reasoning. That is the whole point.
One agent, Telegram, resolved in the thread
Novu Connect puts an existing AI agent on Telegram with fast conversational delivery, rich media, inline keyboards, and two-way replies. Connect it with the command npx novu connect --channel telegram. A developer hits rate limits. The agent shows their usage, explains the cause, and upgrades the plan after approval.
How to connect LangChain to Telegram
Keep your LangChain agent
Your agent, tools, and memory stay in your codebase exactly as they are. Novu Connect wraps the input and output, so your LangChain logic does not change when you add Telegram.
Connect the channel
Run npx novu connect --channel telegram --runtime langchain. The CLI scaffolds a bridge route in your app and connects Telegram. You can also paste the prompt below into your coding agent and let it wire the bridge for you.
Wire the bridge handler
The CLI prints a requirements file with the bridge route and handler. Point it at your LangChain agent so messages from Telegram reach your agent and its replies route back to the same conversation.
Go live
Sign in to keep the agent live, then run your dev server. Your LangChain agent now holds a two-way conversation in Telegram, and the same agent can reach every other channel from one thread.
Every LangChain connect command
npx novu connect --channel telegram --runtime langchainPrompt for your coding agent
Connect this project's LangChain agent to Telegram with Novu using instructions from https://novu.co/agents.md
Full setup for LangChain lives in the LangChain connect guide.
LangChain and Telegram, common questions
Connect your LangChain agent to another channel
Same agent, built once. Pick where it talks next, and it holds one conversation across every channel.
