Wiele botów na Telegramie potrafi rozmawiać, ale mało który naprawdę coś robi. Ten szkielet wpina agenta LangChain w Twojego bota na Telegramie, żeby ten mógł sięgać po narzędzia, wywoływać wewnętrzne API albo robić wyszukanie w trakcie rozmowy.
sonnet4 dniTelegram Bot APILangChainClaudeRedis
Claude
98ROI
82Scale
$4.1k95Saved
ROI for
README.md
Dlaczego ten subagent
Wiele botów na Telegramie potrafi rozmawiać, ale mało który naprawdę coś robi. Ten szkielet wpina agenta LangChain w Twojego bota na Telegramie, żeby ten mógł sięgać po narzędzia, wywoływać wewnętrzne API albo robić wyszukanie w trakcie rozmowy.
Ty rejestrujesz narzędzia, z których agent może korzystać, a on sam decyduje, które pasuje do danej prośby. Historia tur rozmowy żyje w Redis, więc wieloetapowe zadania trzymają wątek między wiadomościami, zamiast gubić kontekst.
Jak działa
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.
Przekaż wiadomość do agenta LangChain, który wybiera spośród zarejestrowanych narzędzi.
pending
Pozwól agentowi wywołać narzędzia, takie jak wyszukiwarka, kalkulator lub wewnętrzne API, i przeanalizuj wyniki.
pending
Zwróć ostateczną odpowiedź do Telegrama i zapisz zaktualizowany stan konwersacji.
pending
Przykładowe wyjście
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.