# Capabilities

Rafiki is a general-purpose AI assistant with specialized tools for Hive, INLEO, and financial markets.

## What You Can Ask

### Crypto & Markets

| Capability         | Example                                                                     |
| ------------------ | --------------------------------------------------------------------------- |
| Crypto prices      | "Price of HIVE, LEO, and BTC?"                                              |
| Price charts       | "Show me a HIVE price chart for the last 7 days"                            |
| Token lookup       | "What's the price of MATIC?"                                                |
| Market overview    | "How's the crypto market today?"                                            |
| Market predictions | "What's the prediction for Bitcoin price?" (powered by LeoStrategy Predict) |
| Prediction markets | "Show me prediction markets" or "What markets can I bet on?"                |
| Trade predictions  | "Buy Yes shares on this market" or "Check my prediction positions"          |

**250+ crypto tokens supported** including BTC, ETH, SOL, HIVE, HBD, LEO, SPS, DEC, RUNE, and more.

## Rafiki Leagues

Engage with INLEO through gamification:

| Feature                    | Description                                                                                         |
| -------------------------- | --------------------------------------------------------------------------------------------------- |
| **XP System**              | Earn XP for onchain actions — threading, commenting, voting, and maintaining daily streaks on InLeo |
| **Weekly Contests**        | Compete in paid contests with prizes (Tuesdays at noon EST)                                         |
| **Streaks**                | Build daily engagement streaks for bonus rewards                                                    |
| **Badges**                 | Unlock achievements for specific milestones and activities                                          |
| **Leaderboards**           | XP determines your position on the Leagues leaderboard                                              |
| **Anti-Gaming Protection** | Fair competition with sophisticated fraud detection                                                 |

Check your XP, rank, streaks, and badges at [rafiki.inleo.io/leagues](https://rafiki.inleo.io/leagues).

Join the competition with `/rafiki leagues` or ask "How do I join Rafiki Leagues?"

## LEO Lotto

Win LEO tokens through the daily lottery system:

| Feature               | Description                                                                               |
| --------------------- | ----------------------------------------------------------------------------------------- |
| **Daily Spin**        | Free daily spin on the LEO Lotto prize wheel                                              |
| **LEO Token Prizes**  | Win real LEO tokens with transparent distribution                                         |
| **Burn Mechanics**    | Progressive token burning for long-term sustainability                                    |
| **Fair System**       | Transparent and provably fair prize distribution                                          |
| **Continuous Rounds** | A new draw opens immediately after the previous one ends — no waiting gaps between rounds |
| **Live Countdown**    | When entries are closed, a countdown timer shows exactly when the next draw opens         |

Try your luck with `/rafiki lottery` or ask "How does LEO Lotto work?"

## LPUD (Leo Power Up Day)

Monthly community event where LEO staking is rewarded with delegation prizes and community recognition:

| Feature               | Description                                                          |
| --------------------- | -------------------------------------------------------------------- |
| **Monthly Events**    | LPUD occurs on the 15th of every month                               |
| **Streak System**     | Build consecutive month participation streaks for additional rewards |
| **Prize Delegations** | Winners receive LEO POWER delegations from community sponsors        |
| **Leaderboards**      | Compete on streak and participation leaderboards                     |
| **Reminder System**   | Get DM notifications at T-7, T-3, T-1, and T-0 days                  |
| **Sponsorship**       | Community members can sponsor delegation prizes                      |
| **Stats Tracking**    | View your participation history, streaks, and total staked           |

Participate with `/rafiki lpud` or ask "When is the next LPUD?"

## ACE Predict

Trade prediction markets using ACE tokens with Rafiki as your account manager:

| Feature                        | Description                                                                                 |
| ------------------------------ | ------------------------------------------------------------------------------------------- |
| **Market Browsing**            | Ask "Show me prediction markets" to see available markets                                   |
| **Position Trading**           | Buy Yes/No shares with natural language: "Buy Yes on Bitcoin hitting $100k"                 |
| **Account Management**         | Deposit, withdraw, and check balances with `/rafiki predict` commands                       |
| **Enhanced Portfolio Display** | Rich threadstorm-style portfolio views with visual progress bars                            |
| **Dual Balance Tracking**      | View both Rafiki-managed and LeoStrategy direct balances side-by-side                       |
| **LeoStrategy Trader Stats**   | Overall performance stats including rank, win rate, P\&L, and volume                        |
| **Position Tracking**          | View open positions, profit/loss, and market status with detailed analytics                 |
| **Auto-Deposits**              | Send ACE, HIVE, or HBD to @askrafiki (auto-forwarded to @predictit for LeoStrategy funding) |
| **Autonomous Trading**         | Background paper trading engine learning optimal strategies (experimental)                  |
| **Notification Alerts**        | Get updates on position changes and market resolutions                                      |

**Getting Started:**

* Fund your account: `/rafiki predict action:deposit`
* Browse markets: "What prediction markets are available?"
* Check balance: `/rafiki predict action:balance`
* View full portfolio: `/rafiki predict action:positions` (shows enhanced stats and dual balances)

### Traditional Finance

| Capability   | Example                     |
| ------------ | --------------------------- |
| Stock prices | "What's Apple stock at?"    |
| Forex rates  | "EUR to USD exchange rate?" |
| Market news  | "Any news about Tesla?"     |

### Hive & INLEO

| Capability                     | Example                                                                                                                                |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------- |
| Thread search                  | "Find threads about LEO staking" or "Latest threads from @khaleelkazi"                                                                 |
| Blog post search               | "Find blog posts by @leofinance about DeFi" or "Latest articles from @khaleelkazi"                                                     |
| AI Overview                    | "What is the community saying about HIVE governance?" — Rafiki synthesizes top threads into a cited summary with follow-up suggestions |
| Search alerts                  | Save any search query and get DM notifications when new matching threads appear                                                        |
| Trending posts                 | "Show trending posts about DeFi"                                                                                                       |
| Read content                   | "Read this: inleo.io/@user/post"                                                                                                       |
| Enhanced conversation tracking | Maintains context across deep thread chains (up to 8 conversation levels)                                                              |
| Profile lookup                 | "Look up @khaleelkazi"                                                                                                                 |
| Wallet check                   | "What's in my wallet?"                                                                                                                 |
| Analytics                      | "My curation rewards this week"                                                                                                        |
| LEO tracking                   | "How much LEO do I have staked?"                                                                                                       |
| Community analytics            | "Show 30-day platform stats" or "Top contributors this month"                                                                          |
| Personalized feed              | "Show me my feed"                                                                                                                      |
| Reminders                      | "Remind me about this thread in 2 hours"                                                                                               |
| Hive Engine markets            | "What's the LEO price on HE?" or "Top LEO holders?" or "LEO:SWAP.HIVE pool info"                                                       |
| Social graph analysis          | "Who follows @khaleelkazi?" or "Show my social connections"                                                                            |
| Article threadstorms           | **Premium:** "Summarize this article as a threadstorm: https\://..."                                                                   |
| Curation automation            | Set up curation trails and fanbase auto-voting                                                                                         |
| Premium status                 | "/rafiki premium" to check your subscription status and perks                                                                          |

### Content & Research

| Capability        | Example                                    |
| ----------------- | ------------------------------------------ |
| Web search        | "What's happening with Bitcoin ETFs?"      |
| URL reading       | "Summarize this article: https\://..."     |
| Draft threads     | "Draft a thread about the hard fork"       |
| Scheduled posting | "Schedule this thread for tomorrow at 9am" |
| Deep analysis     | "Analyze LEO tokenomics"                   |
| General chat      | "Help me write a thread about HBD savings" |

### Creative

| Capability            | Example                                               |
| --------------------- | ----------------------------------------------------- |
| Image generation      | "Generate an image of a lion with a crown"            |
| Profile image editing | "Reimagine my profile picture as a cyberpunk version" |
| Image editing         | "Edit this image to make it more futuristic"          |
| Voice-to-text         | Send a voice message in Discord                       |

**Cost:** 10 credits per image, 75 credits per voice transcription (Premium only).

### Visual Analysis

| Capability                 | Example                                                                                                                      |
| -------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| Thread image analysis      | When you include images in your thread, Rafiki automatically analyzes them and can reference the visual content in responses |
| Image descriptions         | Ask about images you've posted: "What do you see in this image?"                                                             |
| Visual context integration | Rafiki incorporates image content naturally into thread discussions                                                          |

**Features:**

* Automatically processes up to 3 images per thread
* Supports JPEG, PNG, GIF, and WebP formats
* Analyzes images from thread attachments and markdown links
* No additional cost — included with all interactions

## Hive-Engine Market Data

Ask Rafiki about any Hive-Engine token — prices, holders, liquidity pools, and more:

| Query Type      | Example                          |
| --------------- | -------------------------------- |
| Token info      | "What's the LEO token supply?"   |
| Current price   | "LEO price on Hive-Engine?"      |
| Top holders     | "Who are the top LEO holders?"   |
| Liquidity pools | "Show me the LEO:SWAP.HIVE pool" |
| Trading volume  | "LEO trading volume today?"      |
| Market depth    | "LEO buy/sell orders?"           |

Works with any Hive-Engine token including LEO, SPS, DEC, SWAP tokens, and more.

## Hive Engine Trading

Trade tokens on Hive Engine DEX through Rafiki's custodial wallet system:

| Feature                | Description                                           |
| ---------------------- | ----------------------------------------------------- |
| **Custodial Trading**  | Deposit tokens to @askrafiki for managed trading      |
| **DCA Orders**         | Set up dollar-cost averaging for automatic purchases  |
| **Limit Orders**       | Place buy/sell orders at specific prices              |
| **Balance Management** | Check balances, deposit funds, and withdraw profits   |
| **Trade History**      | View your complete trading history and performance    |
| **Market Analysis**    | Get price analysis and market insights before trading |

### How It Works

1. **Deposit funds:** Send SWAP.HIVE, LEO, or other supported tokens to **@askrafiki** with memo: `trade:yourusername`
2. **Check balance:** Ask "What's my trading balance?" or use `/rafiki hive_engine_trading action:balance`
3. **Place trades:** Ask to buy or sell tokens with natural language or use trading commands
4. **Monitor positions:** Track your open orders and trading performance
5. **Withdraw:** Ask to withdraw profits back to your Hive account

**Example commands:**

* "Buy 100 LEO tokens"
* "Set up DCA to buy LEO weekly"
* "What's my trading balance?"
* "Show my trading dashboard"

**Supported tokens:** SWAP.HIVE, LEO, SPS, DEC, and other liquid Hive Engine tokens.

**Get started:** Ask "How do I start trading?" or check your balance with "What's my trading balance?"

## Curation Automation

Automate your Hive voting with intelligent curation tools:

| Feature             | Example                                                       |
| ------------------- | ------------------------------------------------------------- |
| Curation trails     | Follow other curators and copy their votes with custom delays |
| Fanbase auto-voting | Automatically vote on your favorite authors' content          |
| Comment rewards     | Automatically reward quality commenters on your posts         |
| Vote weight control | Set custom vote percentages for different accounts            |
| Mana management     | Automatic mana monitoring to prevent over-voting              |
| Daily vote limits   | Set maximum votes per day to control your voting power usage  |

**Setup:** `/rafiki curate dashboard` or use individual commands like `/rafiki curate trail_add <account>`

**Features:**

* Trail voting with customizable delays (0-3600 seconds)
* Fanbase voting with author-specific limits
* Comment rewards for quality commenters on your posts
* Custom mana floor settings (per trail/fanbase or global)
* Global pause/resume controls
* Real-time mana and voting power monitoring
* Web dashboard for advanced configuration (requires Hive Keychain authentication)
* Discover tab for exploring new curation opportunities

## LeoDex Status Management

Manage the LeoDex status page at status.leodex.io with incident tracking and changelog management:

| Feature                 | Description                                                                      |
| ----------------------- | -------------------------------------------------------------------------------- |
| **Incident Management** | Create, update, and resolve service incidents                                    |
| **Changelog Tracking**  | Add feature releases, improvements, and bug fixes to the public changelog        |
| **Component Status**    | Monitor different LeoDex services (frontend, swap engine, protocol integrations) |
| **Severity Levels**     | Categorize incidents by impact (minor, major, critical)                          |
| **Status Updates**      | Keep users informed with real-time incident progress                             |

**Available Services:**

* LeoDex Frontend - Main web interface
* LeoDex Beta - Beta version testing environment
* Swap Engine - Core cross-chain swap functionality
* THORChain Integration - THORChain protocol connectivity
* Midgard API - Data aggregation service
* Near Intents - Near Protocol integration
* Transaction Explorer - Blockchain transaction tracking

**Example Commands:**

* "Create an incident for slow swap processing"
* "Add a changelog entry for the new UI improvements"
* "Show me current LeoDex incidents"
* "What's the latest changelog entry?"

Use `/rafiki leodex incident` and `/rafiki leodex changelog` commands for detailed management.

## Premium Features

Premium subscribers get access to enhanced capabilities:

| Feature                    | Description                                                          |
| -------------------------- | -------------------------------------------------------------------- |
| **Daily Signal**           | Personalized daily digest of top INLEO threads delivered to your DMs |
| **Article Threadstorms**   | Share an article URL and ask Rafiki to summarize it as a threadstorm |
| **Natural Language Rules** | Create custom notification rules in plain English                    |
| **Big Brain Mode**         | Deeper analysis with enhanced reasoning (3 credits/message)          |
| **Extended Responses**     | Longer, more detailed answers and analysis                           |
| **Priority Support**       | Faster response times during peak usage                              |

### Daily Signal

Get a curated digest of the best INLEO content, personalized to your interests:

* **Choose your topics** — Select up to 10 topics you care about (crypto, hive, gaming, etc.)
* **Pick your time** — Set delivery time in your timezone
* **Adjust length** — Brief (5 threads), standard (8), or detailed (12)
* **Preview anytime** — Generate a preview to see what you'll get
* **INLEO Knowledge Base** — Includes relevant stats and thread index insights

Set up with `/rafiki signal setup` or type "set up my daily signal" in chat.

**Check your status:** Use `/rafiki premium` to see your current subscription status, expiry date, and perks.

**Check usage:** Use `/rafiki usage` to see your credit balance and AI usage stats.

**Get Premium:** Subscribe at [inleo.io/premium](https://inleo.io/premium)

## Search & Research

Rafiki can search the web, find INLEO threads, and read articles for you. Search results include relevant links you can click to explore further.

### AI-Powered INLEO Search

Search the full INLEO thread index with personalization and AI synthesis:

| Tier               | What it does                                                                                           | Speed   |
| ------------------ | ------------------------------------------------------------------------------------------------------ | ------- |
| **Instant Search** | Personalized results ranked by your interests, follows, and engagement                                 | \~150ms |
| **AI Overview**    | Rafiki synthesizes the top results into a clear answer with inline citations and follow-up suggestions | \~2-3s  |

**Instant Search** — just ask:

* "Find threads about LEO staking"
* "Search for @khaleelkazi's latest posts"
* "Show me threads tagged #hive from this week"

**AI Overview** — ask a question:

* "What is the community saying about the HIVE hard fork?"
* "What are people saying about LeoDex recently?"
* "Compare HIVE vs HBD as savings vehicles based on community discussion"

Rafiki cites every claim with a numbered source `[1]` and suggests 3 follow-up questions to keep your research going.

**Live Data Widgets** — When your question involves real-time data, Rafiki automatically fetches it and displays rich cards alongside the AI answer:

| Query               | Widget shown                                     |
| ------------------- | ------------------------------------------------ |
| "Bitcoin price"     | Live BTC price with 24h change                   |
| "AAPL stock"        | Stock price card                                 |
| "USD to EUR"        | Currency converter card                          |
| "BTC chart 30d"     | Price chart image                                |
| "LEO lottery"       | Current pool size and draw countdown             |
| "sLEO APY"          | Staking rewards data                             |
| "Trending topics"   | Community pulse card                             |
| "@username profile" | User profile card                                |
| "@username wallet"  | Wallet balances                                  |
| General questions   | Web search results if community threads are thin |

No extra steps needed — Rafiki detects the data need automatically and weaves live data into the answer.

**Personalization:** Results are ranked using your interests, communities you engage with, authors you follow, and your voting history. Premium subscribers get deeper personalization using their full follow graph and voting patterns.

**Free users:** 5 AI Overviews per day. **Premium:** Unlimited AI Overviews.

### Search Alerts

Save any search query and Rafiki will DM you whenever new matching threads appear:

* "Save a search alert for 'LEO tokenomics'"
* Up to 5 saved searches per user
* Notifications arrive in real time as new threads are indexed

### Other Search & Research features

* **Smart search behavior** — Automatically searches for factual questions to provide current, accurate information
* **Ultra-fast search** — Optimized vector indexing delivers results in under 1 second
* **Thread references** include direct links to the original content
* **Blog post indexing** for official accounts (@leofinance, @khaleelkazi, @leostrategy, @hiveproai)
* **Real-time data** for prices, news, and market information

## Personalized Features

With a verified account (`/rafiki link` on Discord):

* **Your feed** — Curated based on your voting patterns
* **Your wallet** — Direct access to balances and history
* **Your analytics** — Curation rewards, author rewards, engagement stats

## Enhanced Chat Experience

**Rafiki Chat** offers an enhanced experience with:

* **Real-time streaming responses** — See Rafiki typing as he thinks
* **Tool activity indicators** — Visual feedback when Rafiki uses tools
* **Rich image display** — Download and lightbox view for generated images
* **Thread link previews** — Rich previews when Rafiki references INLEO threads
* **Dark theme interface** — Optimized for comfortable extended use

Access the dedicated chat at [inleo.io/chat/rafiki](https://inleo.io/chat/rafiki)

## Need Help?

* Check the [FAQ](https://github.com/steemleo/INLEO-Docs/blob/main/rafiki-ai-assistant/faq/README.md) for common questions
* Ask Rafiki directly: "What can you do?"
* Visit [docs.inleo.io](https://docs.inleo.io) for full documentation
