Commands

Chat Mode: AI-Powered Token Analysis

The chat mode enables a conversational interface where you can interact with specialized AI agents trained for token analytics.

Start the interactive CLI:

npm run flexo

Select from AI agents trained in different areas of DeFi Chat naturally to analyze token performance & risks Get real-time blockchain insights without complex queries

Use chat mode to explore token fundamentals, detect anomalies, and optimize investment strategies—all in a conversational format.

Quick Commands: Instant Token Analysis

For fast token insights without AI agent assistance, use these direct commands:

npm run flexo check <token-address>   # Get token health & risk analysis
npm run flexo stats <token-address>   # View token liquidity & market data
npm run flexo price <token-address>   # Fetch real-time price info

Ideal for traders & developers who need instant token metrics without launching chat mode.


AI Agent Management

Flexo lets you create and deploy custom AI agents to automate market analysis, risk assessment, and strategic decision-making.

Define a personalized AI agent tailored to your needs. Run:

npm run flexo create

Configuration Steps

During setup, you'll specify:

  • Agent ID (Unique identifier)

  • Name & Description (Define its role, e.g., "Market Sage - Expert in trend analysis")

  • Capabilities (E.g., Token analysis, risk scoring, sentiment tracking)

  • System Prompt (Custom AI instructions, e.g., "You are an expert in predicting market trends...")

Example Setup Flow:

? Enter agent ID: market-sage
? Enter agent name: Market Sage
? Enter agent description: Expert in market dynamics and trend analysis
? Select capabilities: Token Analysis
? Enter system prompt: You are an expert in analyzing market trends...
✅ Agent successfully created!
📂 Saved in: data/agents.json

Your AI agent is now ready for local use and can be deployed on-chain later.


Deploy an AI Agent On-Chain

Deploy your AI agent to the Solana blockchain for decentralized access.

npm run flexo deploy

What Happens During Deployment?

Creates an SPL token for agent access

Uploads metadata to IPFS for decentralized storage

Initializes a Pump bonding curve for AI agent trading

Deployment Requirements:

A Solana wallet with at least 0.1 SOL SOL for deployment fees (~0.05 SOL) SOL for initial liquidity (configurable)

Example Deployment Output:

Deploying agent: Market Sage...
✅ Transaction: https://solscan.io/tx/2r1ZF...
✅ Mint Address: BKyz7...
✅ Deploy Link: https://pump.fun/coin/BKyz7...

Your agent is now live on Solana and can be accessed via its SPL token.

Flexo CLI gives you full control over AI-driven DeFi analysis—whether through:

Use chat mode for AI-assisted analysis

Run quick commands for fast token insights

Create & deploy AI agents for automated market strategies


Get started today and explore how Flexo can transform your approach to DeFi!

Last updated