Ask questions about your portfolio in plain language. The AI runs on your infrastructure, using your API keys. Your wallet addresses and balances never touch a third-party server.
Live public test instance: https://coinlog-ai.casey-digennaro.workers.dev
Most portfolio tools require you to send your wallet addresses to a remote server. This is built so you don't have to. You can ask "how much did my SOL gain this week?" without trusting an external privacy policy.
- Fork this repository.
- Deploy to Cloudflare Workers with
wrangler deploy. - Add your keys for market data (CoinGecko) and an LLM (OpenAI).
Your instance is now live. No accounts, no databases, no hidden steps.
This is a single, readable JavaScript file deployed as a Cloudflare Worker. It has zero npm dependencies. You provide the API keys; the entire application logic runs within your isolated Cloudflare environment. No data is written to disk or logged.
- Self-Hosted Control: Runs on Cloudflare Workers. Your portfolio data is queried live and never leaves your environment.
- Connect Wallets: Supports EVM-compatible wallets via read-only RPC calls.
- Natural Language Queries: Ask questions like "show me my worst performers this month" or "what's my total ETH balance?"
- Basic DeFi Overview: See liquidity provider positions and unclaimed rewards for supported protocols.
- Fleet-Compatible: Can be used standalone or connected to other agents in the Cocapn Fleet.
The agent provides a basic overview. Complex DeFi positions (e.g., nested yield strategies) may not be fully parsed. It currently supports EVM-compatible wallets only.
MIT License. Fork-first open source.