Skip to content

Outblock/flow-chat-defi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flow Chat: DeFi & Onchain Analysis for Flow

Flow Chat is an open-source DeFi and onchain analytics chatbot for the Flow ecosystem, powered by Vercel Chat SDK and Claude AI.

Features · Model Providers · Deploy Your Own · Running locally


🧠 Flow Chat · Try it Live

Flow Chat bridges the power of large language models (LLMs) with the Flow blockchain, unlocking a new frontier for DeFi accessibility and on-chain interaction.

🚀 What We Built

During our internal hackathon, we created Flow Chat DeFi — a conversational AI interface that enables users to interact with the Flow blockchain using natural language.

We leveraged Retrieval-Augmented Generation (RAG) to teach LLMs about Flow-specific blockchain knowledge, and integrated real-time on-chain data access using our custom MCP server. The result: an intelligent agent that can understand and respond to user questions about Flow DeFi — and even help them interact with their wallet — all via chat.

💡 Inspiration

AI is transforming what's possible. But just like LLMs, blockchains (especially Flow) operate in sandboxed environments. Our goal was to link these two isolated domains.

What if you could talk to your Flow wallet like a friend? What if an AI could explain DeFi positions, execute transactions, or surface insights in plain English?

That’s the future we’re building towards.

🛠️ Technologies Used

  • ChatSDK – foundation for chat UI/agent interaction
  • AI-SDK – interface for LLMs and tool usage
  • MCP Server – enables AI to query Flow on-chain/DeFi data
  • RAG (Retrieval-Augmented Generation) – to inject blockchain knowledge into LLMs
  • RainbowKit – for wallet connection and user onboarding
  • Vercel – frontend hosting
  • Neon DB – Postgres-compatible serverless database
  • Railway – MCP server hosting
  • TypeScript – everything is written in it

🌐 How to Use

  1. Try the demo – Interact with Flow using natural language.

https://ai-chat-defi.vercel.app/

  1. Clone the repo and run locally:
    git clone https://github.com/Outblock/flow-chat-defi.git
    cd flow-chat-defi
    pnpm install
    pnpm run dev
  2. Connect your wallet via RainbowKit
  3. Start chatting! Try asking questions like:
    • "What's current Flow token price?"
    • "Can you help me swap $FLOW for $USDC?"
    • "What's the trending Defi pool on flow?"

🌟 Why It Matters

Flow Chat DeFi makes blockchain more human. By allowing natural language as the interface to Web3, we're dramatically lowering the barrier to entry. This can empower: New users curious about DeFi but overwhelmed by technicalities. Developers building AI-native dApps on Flow. Analysts seeking real-time data via conversational interfaces. It’s not just a project — it’s a peek into the future of blockchain interaction.

📎 Project Links

Hackathon Repo: https://github.com/Outblock/flow-chat-defi MCP Server: https://github.com/Outblock/flow-mcp

License

MIT

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •