Skip to content

onflow/flow-chat-defi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 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


What is Flow Chat?

Flow Chat is a chatbot and analytics platform designed to help users analyze DeFi and onchain activity on both Flow-EVM and Flow mainnet. It leverages the Vercel Chat SDK and Claude AI to provide natural language insights, asset management, and transaction tooling for the Flow ecosystem.


Demo

Here's a demo video showcasing Flow Chat's features: Demo Video

Features

  • DeFi & Onchain Analytics for Flow
  • ERC20 Transfers on Flow-EVM
  • Token Swaps on Flow-EVM
  • Onchain Asset Analysis
  • Asset Query (including balances and token info)
  • Child Account Discovery on Flow mainnet
  • Wallet Connection and context-aware chat
  • Rich UI with Next.js, shadcn/ui, and Tailwind CSS

Coming Soon

  • Flow Mainnet Token Transfers
  • Token Bridging between Flow and Flow-EVM
  • Cadence Code Runner for smart contract scripting

Model Providers

Flow Chat uses Claude AI as its default LLM, and our own FLOW-MCP for processing Flow onchain requests.


Running locally

You will need to use the environment variables defined in .env.example to run Flow Chat. It's recommended you use Vercel Environment Variables for this, but a .env file is all that is necessary.

Note: Do not commit your .env file to version control, as it may expose secrets for your AI and authentication providers.

  1. Install Vercel CLI: npm i -g vercel
  2. Link local instance with Vercel and GitHub accounts (creates .vercel directory): vercel link
  3. Download your environment variables: vercel env pull
pnpm install
pnpm dev

Your app should now be running on localhost:3000.


License

MIT

About Flow

This repo is part of the Flow network, a Layer 1 blockchain built for consumer applications, AI agents, and DeFi at scale.

About

Consumer DeFi chat interface on the Flow network. Natural-language DeFi powered by AI agents and Flow Actions. Consumer finance without the wallet friction.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 97.1%
  • JavaScript 2.2%
  • CSS 0.7%