Sohbet edebilen pek çok Telegram botu var, ama gerçekten bir şey yapabilen çok az. Bu omurga, bir LangChain agent'ını Telegram botunuza bağlar; böylece konuşmanın ortasında araçlara uzanabilir, dahili bir API çağırabilir ya da bir sorgu çalıştırabilir.
sonnet4 günTelegram Bot APILangChainClaudeRedis
Claude
98ROI
82Scale
$4.1k95Saved
ROI for
README.md
Bu otomasyon neden işinize yarar
Sohbet edebilen pek çok Telegram botu var, ama gerçekten bir şey yapabilen çok az. Bu omurga, bir LangChain agent'ını Telegram botunuza bağlar; böylece konuşmanın ortasında araçlara uzanabilir, dahili bir API çağırabilir ya da bir sorgu çalıştırabilir.
Agent'ın kullanmasına izin verilen araçları siz kaydedersiniz ve o her isteğe hangisinin uyduğuna karar verir. Tur geçmişi Redis'te yaşar; böylece çok adımlı işler bağlamı unutmak yerine mesajlar boyunca konularını korur.
Nasıl çalışır
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.
Mesajı, kayıtlı araçlardan seçebilen bir LangChain agent'ına iletir.
pending
Agent'ın arama, hesap makinesi ya da dahili bir API gibi araçları çağırmasına ve sonuçları gözlemlemesine izin verir.
pending
Nihai yanıtı Telegram'a döndürür ve güncellenen konuşma durumunu kalıcı kılar.
pending
Örnek çıktı
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.