AI Agent Chatbot
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
On the frontend, it is a Vite-powered React application to render a chat interface, forwarding users’ queries to the Crypto.com AI Agent Chatbot Service. After using LLMs to interpret their queries, tools built with the Crypto.com On-Chain Developer Platform methods will be called. The responses are then returned to the chat interface in a user-readable format.
Check out a live demo of this chatbot hosted by replit: https://ai-agent-chatbot-cryptocomagent.replit.app/
Check out the replit code: https://replit.com/@cryptocomagent/AI-Agent-Service https://replit.com/@cryptocomagent/AI-Agent-Chatbot
Having the following running:
AI-Agent-Signer-App
- See "Magic Link" Signer.
Create a .env
file in the root of ai/cryptocom-ai-agent-chatbot
. You can refer to the .env.example file
for the required variables:
Agent Service API, VITE_BASE_API_URL
refers to the URL where the agent service is hosted.
These environment variables will configure the app to communicate with the Crypto.com AI Agent Service API.
Run the development server with
Once completed, we should have a fully functional chatbot-style UI with an AI agent running in the background at http://localhost:5175.