██████╗ ███████╗██╗ ██╗███████╗ ██████╗ ██╗ ██╗ ██████╗
██╔══██╗██╔════╝██║ ██║██╔════╝██╔═══██╗██║ ██║██╔═══██╗
██║ ██║█████╗ ██║ ██║█████╗ ██║ ██║██║ ██║██║ ██║
██║ ██║██╔══╝ ╚██╗ ██╔╝██╔══╝ ██║ ██║██║ ██║██║ ██║
██████╔╝███████╗ ╚████╔╝ ██║ ╚██████╔╝███████╗██║╚██████╔╝
╚═════╝ ╚══════╝ ╚═══╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ A Bloomberg Terminal for your command line.
AI-powered financial analysis for developers who invest.
Why I Built This
I've worked in finance tech for most of my career. When tools like Claude Code and Gemini CLI started gaining traction, I got curious. Why does AI feel better in the terminal?
The only way I know how to understand something is to build it. So I picked a domain I know—financial data—and explored what an AI-native terminal experience could look like.
This is what I learned.
Features
AI Market Brief
Daily AI-synthesized market intelligence with narratives, themes, and sector analysis.
briefReal-time Pulse
Live market snapshot with indices, sectors, movers, and personalized alerts.
pulseStock Profiles
Deep dive with charts, financials, valuations, and AI quick takes.
s AAPLETF Analysis
Holdings, allocations, expense ratios, and performance metrics.
etf VTINews Reader
Curated news with sentiment analysis and full article extraction.
newsStock Screener
Pre-built screens for gainers, losers, tech, healthcare, and more.
screen gainersWatchlist & Portfolio
Track your stocks with upcoming earnings and dividend alerts.
watchlistAI Research
Generate comprehensive research reports with AI analysis.
r NVDAStock Comparison
Compare multiple stocks side-by-side with best-in-category highlights.
cs AAPL MSFTTry It Yourself
This is a simulation of DevFolio running in your browser. Click any command below to see it in action.
╭────────────────────────────────────────────────────────────────╮ │ │ │ ██████╗ ███████╗██╗ ██╗███████╗ ██████╗ ██╗ ██╗ ██████╗│ │ ██╔══██╗██╔════╝██║ ██║██╔════╝██╔═══██╗██║ ██║██╔═══██║ │ ██║ ██║█████╗ ██║ ██║█████╗ ██║ ██║██║ ██║██║ ██║ │ ██║ ██║██╔══╝ ╚██╗ ██╔╝██╔══╝ ██║ ██║██║ ██║██║ ██║ │ ██████╔╝███████╗ ╚████╔╝ ██║ ╚██████╔╝███████╗██║╚██████╔║ │ ╚═════╝ ╚══════╝ ╚═══╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝│ │ │ │ AI-Powered Financial Terminal │ │ Type "help" for commands or try the suggestions below │ │ │ ╰────────────────────────────────────────────────────────────────╯
What I Learned Building This
Terminal UI Architecture
Building responsive, stateful UIs with React + Ink pushed me to think differently about component design.
Multi-Provider AI Abstraction
Designing a provider-agnostic AI layer with automatic fallback, streaming, and tool calling.
Real-World API Integration
Parsing messy financial data from Yahoo Finance, SEC EDGAR, and CoinGecko.
RAG Implementation
Building retrieval-augmented generation for SEC filing search using SQLite FTS5.
Caching Strategies
Multi-layer caching with different TTLs for quotes vs fundamentals vs AI responses.
Domain Modeling
Understanding financial concepts like options Greeks, SEC filings, and market indicators.
Architecture
┌─────────────────────────────────────────────────────────────────────┐
│ Terminal UI (Ink + React) │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Views │ │ Widgets │ │ Input │ │ Output │ │ Layout │ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
└─────────────────────────────┬───────────────────────────────────────┘
│
┌─────────────────┴─────────────────┐
▼ ▼
┌───────────────────────────┐ ┌───────────────────────────────────┐
│ AI Infrastructure │ │ Data Services │
│ ┌─────────────────────┐ │ │ ┌─────────────────────────────┐ │
│ │ Provider Adapters │ │ │ │ Market Data (Yahoo/CG) │ │
│ │ Groq│OpenAI│Claude │ │ │ └─────────────────────────────┘ │
│ └─────────────────────┘ │ │ ┌─────────────────────────────┐ │
│ ┌─────────────────────┐ │ │ │ SEC EDGAR (Filings/RAG) │ │
│ │ Chat Agent │ │ │ └─────────────────────────────┘ │
│ │ Tools│Memory│Stream │ │ │ ┌─────────────────────────────┐ │
│ └─────────────────────┘ │ │ │ Options (Greeks/Chains) │ │
└───────────────────────────┘ └───────────────────────────────────┘
│ │
└─────────────────┬─────────────────┘
▼
┌─────────────────────────────────────────────────────────────────────┐
│ Persistence Layer (SQLite + FTS5) │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │Watchlist │ │Portfolio │ │ Memory │ │ Prefs │ │ RAG/FTS5 │ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
└─────────────────────────────────────────────────────────────────────┘Built With
Design Philosophy
Terminal-Native
Built with Ink (React for CLIs) for a modern, responsive terminal experience.
Information Dense
Maximum data visibility with clean typography and thoughtful spacing.
AI-Enhanced
Llama 3.3 provides intelligent summaries, analysis, and natural language queries.
Quick Start
# Run directly with npx
$ npx devfolio
# Or install globally
$ npm install -g devfolio
$ devfolio
# Enable AI features (optional)
$ export GROQ_API_KEY=your_key_here
# Get started
$ devfolio
> brief # AI market summary
> s AAPL # Stock profile
> help # All commands
Ready to bring finance to your terminal?
Get Started->