My Application

AI Agent Page

Learn how to use the AI Assistant to manage your crypto portfolio and research the market.

AI Agent Chatbot

The AI Assistant is an intelligent agent integrated directly into the Crypto Portfolio Tracker. Powered by Google Gemini, it can help you analyze your portfolio, research market trends, and even perform actions like adding wallets or transactions—all through a natural conversational interface.

Capabilities

The AI Assistant is equipped with a suite of tools that allow it to interact with both the blockchain and the application database.

1. Market Research (CoinGecko)

  • Token Details: Ask for detailed information about any cryptocurrency (price, market cap, description).
  • Historical Charts: Request price charts for specific time periods (e.g., "Show me the price of Bitcoin for the last 30 days").

2. Portfolio Management

  • Wallet Inspection: Check balances of any Ethereum-compatible address across multiple chains without adding it to your portfolio.
  • Sync Blockchain Wallets: Identify tokens that exist in your blockchain wallet but haven't been added to your portfolio dashboard yet.
  • Add Wallets: Ask the AI to add a new blockchain wallet to your account.

    Note: This action requires your explicit approval via a confirmation UI.

3. Transaction Management

  • Manual Entry: Tell the AI to add buy or sell transactions.
    • Example: "I bought 0.5 ETH yesterday for $1200."
    • The AI will fetch historical prices automatically if you don't specify them.
  • Transaction History: Query your past transactions for any connected wallet.

4. Portfolio Analysis

  • Performance Summary: Get a breakdown of your current holdings, total investment, and profit/loss performance.
  • Wallet Info: Retrieve detailed metadata about your created wallets.

How to Use the AI Assistant

  1. Navigate to the AI page from the sidebar.
  2. If you want to perform actions on a specific wallet, select it from the Wallet Dropdown in the chat interface.
  3. Type your request in the chat input field.
  4. If the AI needs to perform a sensitive action (like adding a wallet), it will present a Confirmation Card.
  5. Click Approve to execute the action or Deny to cancel.

Example Prompts

Try these prompts to get started:

  • Research: "What is the current price of Solana and how has it performed over the last week?"
  • Analysis: "Analyze the performance of my Main Wallet. Which token is performing the best?"
  • Action: "I just bought 1000 USDC on Optimism. Please add this transaction to my wallet."
  • Discovery: "Check address 0xd8dA... for any balances on the Ethereum network."

Safety & Privacy

  • Approvals: The AI cannot modify your data (add wallets, create transactions) without your explicit permission. You will always see a confirmation dialog before any changes are made.
  • Context Awareness: The AI is aware of your user ID and the currently selected wallet context, so you don't need to repeat this information.

Available Tools

The AI Assistant has access to the following tools to help you manage your portfolio and research the market. Each tool is invoked automatically based on your request.

Tool NameDescriptionRequires Approval
getBlockchainWalletBalanceGet blockchain wallet token balance on-chain for any address across multiple chains.No
getCoinDetailsGet detailed information about a specific coin from CoinGecko.No
getTokenHistoricalChartGet chart price data for a coin.No
getBlockchainTokenDiffGet tokens that are in the blockchain wallet but not yet synced to the application wallet.No
addBlockchainWalletToAppAdd a blockchain wallet address to an application wallet.Yes
addManualTransactionsItemsAdd manual transactions to the application wallet.Yes
getApplicationWalletInfoGet application wallet information including total balance and portfolio performance.No
getApplicationWalletTransactionsGet transactions history for an application wallet.No

On this page