Skip to content

A tool-calling AI agent that fetches live crypto rates (e.g., BTCUSDT, ETHUSDT) using the Binance Public API. Built with OpenAI Agents SDK, Chainlit, Gemini LLM to deliver real-time data through a chat interface.

Notifications You must be signed in to change notification settings

Fazilat-Jahan/Crypto-Data-Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Crypto Rates Agent

This is an AI-powered agent that provides real-time cryptocurrency price updates such as BTCUSDT, ETHUSDT, and more. It is built using a conversational interface to help users quickly access live crypto rates on demand.


🚀 Features

  • 🔧 Tool Calling using @function_tool
  • 🔗 Fetches real-time prices from Binance
  • 🤖 LLM-powered using Gemini 2.0 Flash
  • 💬 Integrated with Chainlit for user-friendly chat UI
  • 📈 Dynamically handles user input for any crypto symbol

🔐 API Access

This project uses the public Binance API to retrieve crypto price data.

  • No API key is required for Binance
  • Data is fetched from this endpoint:
    https://api.binance.com/api/v3/ticker/price?symbol=BTCUSDT

💬 Example Use Cases

  • Ask for the latest price of BTC, ETH, or any trading pair
  • Quickly check market movements through simple queries
  • Use in educational, informational, or quick-check crypto tools

💬 Example Prompts

👉 "What's the price of BTCUSDT?" 👉 "Tell me ETHUSDT rate?" 👉 "Check DOGE to USDT"

Agent will respond with the most recent price from Binance.


👤 Created By

Fazilat Jahan

👤 Connect with Me

LinkedIn

X


About

A tool-calling AI agent that fetches live crypto rates (e.g., BTCUSDT, ETHUSDT) using the Binance Public API. Built with OpenAI Agents SDK, Chainlit, Gemini LLM to deliver real-time data through a chat interface.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published