Tanti bot Telegram sanno chiacchierare, ma pochi sanno davvero fare qualcosa. Questa struttura collega un agente LangChain al tuo bot Telegram, così può ricorrere a dei tool, chiamare un'API interna o eseguire una ricerca a metà conversazione.
Tanti bot Telegram sanno chiacchierare, ma pochi sanno davvero fare qualcosa. Questa struttura collega un agente LangChain al tuo bot Telegram, così può ricorrere a dei tool, chiamare un'API interna o eseguire una ricerca a metà conversazione.
Tu registri i tool che l'agente può usare, e lui decide quale calza per ogni richiesta. Lo storico dei turni vive in Redis, così i task in più passaggi mantengono il filo tra i messaggi invece di perdere il contesto.
Come gira
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.
Passa il messaggio a un agente LangChain che può scegliere tra i tool registrati.
pending
Lascia che l'agente chiami tool come ricerca, calcolatrice o un'API interna e osservi i risultati.
pending
Restituisce la risposta finale a Telegram e salva lo stato aggiornato della conversazione.
pending
Esempio di output
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.