Cat AI Chat (AI Integration)
Cat Wallet features a powerful built-in AI assistant, powered by a secure inference engine.
Capabilities
Cat AI is not just an informational chatbot, It's an agentic interface and It can understand your natural language intents and automatically construct blockchain transactions for you to review and sign.
Example Prompts
You can ask the AI to perform complex actions:
- "Swap 0.5 RITUAL for rUSD"
- "Send 10 rBTC to alice.ritual"
- "Stake 50 RITUAL"
- "What is my wallet balance?"
How It Works
- Intent Parsing: When you send a message, the backend first routes it to a specialized system prompt that extracts structured intent data (e.g., Action: Swap, Amount: 0.5, Token In: RITUAL, Token Out: rUSD).
- Transaction Construction: If an actionable intent is detected, then the UI instantly renders a pre-filled transaction card (a "Cat Wallet" component).
- User Approval: The AI never executes transactions automatically. It prepares the transaction and then simulates the outcome (e.g., calculating slippage and price impact) and presents it to you. You must click the final execution button to sign the transaction with your wallet.
Security & Privacy
- The AI proxy is hosted securely on our backend infrastructure.
- Private keys and embedded wallet shards never leave your local device and are never exposed to the AI model.
- Only public on-chain data and the text of your prompt are sent to the inference engine.