RUST CLI + LLM REASONING + RAW MARKET DATA
The terminal-first financial research agent that fetches raw data, writes Python to analyze it, and builds instincts through prediction. Runs locally. Uses any LLM.
How Eli Works
No web scraping. No hallucinated numbers. OHLCV candles from Yahoo Finance and FRED, cached locally with SHA256 keys.
eli finance timeseries --tickers GLD,SLV --range 1y --granularity 1d
Need correlation? RSI? Daily returns? Eli doesn't estimate. It generates a Python script, executes it, and reads the actual output.
If the Python throws an exception, Eli reads the traceback, fixes the code, and retries. Autonomous debugging until the math works.
Numbers without narrative are noise. Eli fetches news for the exact date of anomaly to confirm the "why" behind the data.
eli finance news --ticker NVDA --date 2026-01-09
After each research session, Eli can record predictions and later compare them to outcomes. Over time, it builds institutional memory.
instincts/INTC_reflection.md
Built-In Finance Tools
timeseries
OHLCV candles with flexible range and granularity (1m to 5y)
snapshot
Point-in-time data: price, market cap, shares outstanding, EV
fundamentals
Quarterly income, balance sheet, and cash flow statements
filings
SEC filings (8-K, 10-K, 10-Q) with full text extraction
news
News articles for a specific ticker on a specific date
search
Find tickers by keyword (e.g., "semiconductors", "gold miners")
Why This Architecture
Web search is disabled by design. Every claim must trace back to structured data from the finance tools. No "I found an article that says..." guessing.
When Eli says the correlation is 0.87, it's because it wrote and ran the numpy calculation. The code is in your working directory. Audit it.
Works with OpenRouter (free models like Devstral), Anthropic, OpenAI, or fully local with Ollama. Bring your own API key. Switch mid-session.
Start with 5-year monthly data for context, zoom to 10-day hourly for the event, add correlated assets, confirm with news. A systematic investigation protocol.
Run fully autonomous with /auto or require human approval for each command with /plan. Read-only mode for pure research.
Every session saves a markdown report to eli_research/ with the query, methodology, data sources, and conclusions. Institutional memory built in.