Quick Start Guide: Simulation Entry Point
Introduction
This file serves as a simulation and testing entry point for the Crypto.com Agent Client. It demonstrates how to initialize the agent, configure plugins, and interact with the LangGraph-based conversational AI.
Overview
The simulation provides a controlled environment to experiment with the Crypto.com AI Agent’s capabilities before integrating it into real-world applications, configuring it with a large language model (LLM) and blockchain settings to enable seamless interactions. It integrates various plugins, including LangFuse for observability, SQLite for persistent storage, and custom tools for enhanced functionality.
Additionally, the script features an interactive CLI-based testing loop, allowing developers to validate AI-driven blockchain interactions in real time which makes it a powerful tool for experimentation and development.
Key Features
Agent initialization with LLM and blockchain configurations.
Plugin integration (LangFuse, SQLite for storage, and custom tools).
Interactive CLI loop for testing agent responses.
Prerequisites
Before starting, ensure you have the following components ready.
Python installed
API Key for Cronos EVM Blockchain Explorer or Cronos zkEVM Blockchain Explorer
API Keys of AI provider, available AI providers as below. Only the API keys for the selected AI provider are required when initializing the agent.
OpenAI
Anthropic
Mistral
Fireworks
Google Gemini
Get Started
Step 1 - Run this with the following command or to this Pypi Package page.
Step 2 - Before running the script, ensure that all configurations are properly set up: Replace placeholders such as your-api-key
with valid credentials to enable proper functionality. Then run the python file to initialize the bot.
Simulation Example Code
What’s Next?
This Quick Start provide a foundation. To delve deeper, refer to the Examples section for more use cases and advanced scenarios that suit your interest, including building your own Telegram bot, AI Agent Chatbot, "Magic Link" Signer and more. Visit the API Reference for detailed information on available functionalities.
Last updated
Was this helpful?