채팅할 수 있는 Telegram 봇은 많지만, 실제로 무언가를 해내는 봇은 드뭅니다. 이 백본은 LangChain 에이전트를 Telegram 봇에 연결해, 대화 도중 도구를 호출하거나 내부 API를 호출하거나 조회를 실행할 수 있게 합니다.
sonnet4일Telegram Bot APILangChainClaudeRedis
Claude
98ROI
82Scale
$4.1k95Saved
ROI for
README.md
왜 이 서브에이전트인가
채팅할 수 있는 Telegram 봇은 많지만, 실제로 무언가를 해내는 봇은 드뭅니다. 이 백본은 LangChain 에이전트를 Telegram 봇에 연결해, 대화 도중 도구를 호출하거나 내부 API를 호출하거나 조회를 실행할 수 있게 합니다.
에이전트가 사용해도 되는 도구를 등록하면, 각 요청에 어떤 도구가 맞을지 스스로 판단합니다. 대화 이력은 Redis에 저장되어, 여러 단계의 작업도 맥락을 잊지 않고 메시지 전체에 걸쳐 이어집니다.
작동 방식
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.
등록된 도구 중 선택할 수 있는 LangChain 에이전트에 메시지를 전달합니다.
pending
에이전트가 검색, 계산기 또는 내부 API와 같은 도구를 호출하고 결과를 관찰하도록 합니다.
pending
최종 답변을 Telegram으로 반환하고 업데이트된 대화 상태를 저장합니다.
pending
샘플 출력
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.