← Back to the squad
LB
#3 Puffer AI assistant
Puffer · 2026
An AI assistant for the Puffer protocol: LLM tool calling over live and on-chain data, RAG pipelines and layered prompt-injection defences, red-teamed.
Why left back: it defends the users: answers with live protocol data and holds the line against prompt injection.
- tools
- 31
- defence layers
- 5
- channels
- 2
What I did
- Built the server end to end in Node.js and TypeScript: 31 tools for live protocol and on-chain data, RAG on PostgreSQL and pgvector, streaming answers, provider fallback and a semantic cache.
- Protected it with layered prompt-injection defences (input guards, cleaned tool results, output filtering) and red-teamed it with promptfoo and garak.
- Built the chat in the Puffer app and the Telegram integration, plus the AI tooling around it: 3DBrain, a shared knowledge graph, and a coding-agent workflow with custom skills and guardrails.
Role
Built end to end
Stack
- Node.js
- TypeScript
- RAG
- pgvector
- Redis
- viem
- promptfoo