Spousta Telegram botů umí chatovat, ale málokterý něco skutečně udělá. Tato páteř napojuje LangChain agenta na vašeho Telegram bota, takže uprostřed konverzace sáhne po nástroji, zavolá interní API nebo provede vyhledání.
sonnet4 dnyTelegram Bot APILangChainClaudeRedis
Claude
98ROI
82Scale
$4.1k95Saved
ROI for
README.md
Proč tento subagent
Spousta Telegram botů umí chatovat, ale málokterý něco skutečně udělá. Tato páteř napojuje LangChain agenta na vašeho Telegram bota, takže uprostřed konverzace sáhne po nástroji, zavolá interní API nebo provede vyhledání.
Zaregistrujete nástroje, které agent smí používat, a on sám rozhodne, který se na daný požadavek hodí. Historie tahů leží v Redis, takže vícekrokové úkoly drží vlákno napříč zprávami, místo aby ztratily kontext.
Jak běží
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.
Předáte zprávu do agenta LangChain, který může vybírat z registrovaných nástrojů.
pending
Nechte agenta volat nástroje, jako je vyhledávání, kalkulačka nebo interní API, a sledujte výsledky.
pending
Vraťte konečnou odpověď na Telegram a uložte aktualizovaný stav konverzace.
pending
Ukázkový výstup
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.