AI Agent Chatbot

The Crypto.com AI Agent Chatbot is an example of an application built with the suite of AI Agent SDK tools, demonstrating how to build a chatbot app that allows users to interact with blockchain services with natural language.

This example contains both the AI-powered chatbot backend (Flask server) and the React frontend (Vite app) for interacting with the chatbot.

Structure

├── README.md                # Monorepo root guide
├── ai-chatbot-server/       # Python Flask backend
│   └── README.md
├── ai-chatbot-app/          # React + Vite frontend
│   └── README.md

Installation

1. Clone the repository

git clone https://github.com/crypto-com/developer-platform-sdk-examples.git
cd developer-platform-sdk-examples/sdk-examples/categories/chatbot

2. Backend setup (Python)

cd ai-chatbot-server
python -m venv venv
source venv/bin/activate  # or .\venv\Scripts\activate on Windows
pip install -r requirements.txt

3. Frontend setup (React + Vite)

4. Config environment variables

Create ai-chatbot-server/.env

Create ai-chatbot-app/.env

Usage

Start the backend (Flask)

This will start the Flask server at http://localhost:5000

Start the frontend (Vite)

This will start the React app at http://localhost:5173

Demo Video

Last updated

Was this helpful?