Official X Account: https://x.com/jerrilagent
Official Website: https://www.jerrilfinancialagent.site/
Contract Address: Ge45ZxTGm4q7A9ZTce8tVxyTTHSy3ujpB6eZC6Uopump
The High-Performance Quantitative Intelligence Layer for Modern Markets
When the age of financial AI began, it did not begin gently. New systems appeared almost overnight β faster, sharper, relentlessly optimized. They were engineered to predict before others could react, to trade before others could think, to capture opportunity with mechanical precision. Every model was built with the same ambition: outperform, outpace, outmaneuver. The markets became an arena of algorithms.
JERRIL was born from a different question: What if intelligence didnβt have to be aggressive to be powerful?
JerrilHub is not just a dashboard; it is a multi-nodal orchestration engine designed to bridge the gap between complex quantitative data and human-centric decision-making. While others focus on beating the market, JERRIL focuses on guiding the person navigating it.
JerrilHub is built with a decoupled architecture to ensure high availability and low latency.
graph TD
User((User)) -->|Next.js App Router| Frontend[Frontend UI]
Frontend -->|API Routes| Middleware[Edge Middleware]
Middleware -->|Async| Orchestrator{AI Orchestrator}
Orchestrator -->|Web Scraping/API| DataLayer[Market Data Layer]
Orchestrator -->|Prompt Engineering| LLM[OpenRouter Matrix]
DataLayer -->|REST| YF[Yahoo Finance]
LLM -->|Routing| Models[Claude/GPT-4o/Gemini]
Frontend -->|Persistence| Supabase[(Supabase DB/Auth)]
Integrated with Supabase Auth, the system supports:
- Guest Sessioning: Stateless interaction for immediate utility.
- Operator Persistence: Full JWT-based sessions for encrypted watchlist and history synchronization.
- Market Sockets: Simulated real-time telemetry for 28+ quantitative factors.
- Historical Regression: 60-day buffer mapping for technical projection.
| Layer | Technology | Implementation Detail |
|---|---|---|
| Frontend | Next.js 14 (App Router) | React Server Components & Edge Runtime Optimization |
| State Management | React Context + URL State | Deep-linkable research trajectories |
| 3D Rendering | React Three Fiber (R3F) | GLSL Shaders & Physics-synced "Thinking" animations |
| Real-time Data | Yahoo Finance SDK | Synchronous market capture & historical regression mapping |
| AI Orchestration | OpenRouter Matrix | Dynamic routing with failure-recovery (Claude 3.5 β GPT-4o-mini) |
| Persistence | Supabase (PostgreSQL) | RLS-protected (Row Level Security) user data sync |
| Styling | Tailwind CSS + Framer Motion | High-fidelity Glassmorphic HUD interface |
JerrilHub employs a Triple-Verification Pipeline for every asset analysis:
- Ingestion Layer: Asynchronous fetching of TICKER telemetry via Yahoo Finance SDK.
- Specialization Nodes:
Nodal-A (Fundamental): Balance sheets, Cash Flow metrics, and Growth projections.Nodal-B (Technical): RSI 14, MACD divergence, and Volume profile analysis.Nodal-C (Sentiment): News aggregate synthesis and Social-Market weighting.
- Synthesis (The JERRIL Core): Synthesizes disparate data into a unified, markdown-ready IQ score.
- Holographic Mapping: Real-time state mapping to the 3D HUD animation states.
The backend leverages specialized system instructions ("Modalities") to simulate various expert roles:
- Warren_Mod: Deep fundamental logic focusing on value, growth, and cash flow stability.
- Quant_Mod: Aggressive technical analysis focusing on volatility and momentum.
The 3D JerrilAgent Core is integrated into the React lifecycle. Animation states are triggered by IPC (Inter-Process Communication) simulation:
- IDLE: Connection standby, low-energy respiration animation.
- THINKING: Multi-threaded scanner activation, increased vertex oscillation.
- RESOLVED: Success lighting pulse (cyan) or risk alert pulse (orange).
- Node.js ^18.17.0
- Pnpm (Recommended for deterministic dependency resolution)
Create a .env.local file with the following neural parameters:
# Supabase Configuration
NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key
# OpenRouter Configuration (Multi-model support)
OPENROUTER_API_KEY=your_key# Install dependencies
pnpm install
# Initialize local development environment
pnpm dev
# Build production artifacts
pnpm build- TTFT (Time to First Token): < 400ms via Vercel Edge.
- Schema Validation: Type-safe data handling with Zod and TypeScript.
- Layout Shift (CLS): Scaled to zero-jitter via optimized skeleton loading.
- Resource Usage: Lazy-loaded 3D assets to minimize initial hydration payload.
JERRIL is engineered as an Ethical Guardrail. It is programmed to identify "FOMO" patterns and high-risk liquidity traps, prioritizing clarity over speculative hype. It is an intelligence that serves before it competesβcalm in chaos, patient in volatility.
Join the development of the next-gen financial intelligence layer. Follow the Developer on X for system updates.
MIT License | Created by decimasudo
graph LR
A["π Ticker Input"] --> B["π Market Data Fetch"]
B -->|"Yahoo Finance"| C["π€ JerrilAgent Analysis"]
C -->|"OpenRouter"| D["π Risk/Value Report"]
D -->|"Supabase"| E["β
Save to Watchlist"]
JerrilAgent's core engine uses a multi-layered verification cycle for every stock ticker.
flowchart TD
A["π Ticker Analysis"] --> B{"Historical Data?"}
B -->|"Yes"| C["Statistical Regression"]
B -->|"No"| D{"New IPO?"}
D -->|"Yes"| E["Sentiment Analysis"]
D -->|"No"| F["Market Sector Scan"]
C --> G["AI Factor Scoring"]
E --> G
F --> G
G --> H["ANALYZE β PRESERVE β RECOMMEND"]
style C fill:#4CAF50,color:#fff
style E fill:#2196F3,color:#fff
| Phase | Strategy | Purpose |
|---|---|---|
| Quant Search | Technical Scan | Volume, MACD, and RSI verification |
| Logic Reasoning | Fundamental Check | P/E Ratio, Debt-to-Equity, Cash Flow analysis |
| Sentiment | Social Perception | News and social media aggregate via AI |
JerrilHub is a strategic orchestrator that delegates high-latency reasoning to specialized virtual analyst nodes:
- Market Analysts: Valuation metrics, growth projections, and dividend safety.
- Risk Managers: Alpha/Beta calculations, volatility tracking, and hedging strategies.
- Researchers: News sentiment, insider trading activity, and sector rotation analysis.
JerrilAgent dynamically assigns models via OpenRouter to balance cost and accuracy.
| Tier | Model | Best For |
|---|---|---|
| Premium | Claude 3.5 Sonnet | Deep fundamental reasoning and complex reports |
| Standard | GPT-4o-mini | Sentiment analysis and quick ticker summaries |
| Flash | Gemini 1.5 Flash | Real-time greeting and layout interactions |
- Identifying Trending Tickers
- Sector Rotation Analysis
- Market Hotspots Mapping
- Real-time Price Synchronization
- JerrilAgent Thinking Process (Multi-modal)
- AI Justification & Market Sentiment (Bull vs Bear)
- Watchlist Tracking & Risk Alerts
- Intelligent Portfolio Rebalancing
- Performance Monitoring
| Command | Description |
|---|---|
pnpm dev |
Launch local development environment |
pnpm build |
Production-ready Next.js build |
pnpm lint |
Run ESLint check for code quality |
pnpm start |
Run production server |
quantai/
βββ src/
β βββ app/ # App Router Pages (Dashboard, Auth, Skills)
β βββ components/ # UI & Dashboard Widgets
β β βββ Robot3D.tsx # JerrilAgent 3D Core
β β βββ dashboard/ # Market Views & Charts
β βββ lib/ # Core Logic (Market APIs, AI, Supabase)
β βββ types/ # TypeScript Definitions
βββ public/ # Static Assets & Metadata
βββ web3-data-pipeline/ # On-chain data processing units
We use the Yahoo Finance API (via finance-yahoo-query) for real-time and historical equity data.
No. While it provides a 3D visual presence, its state is synchronized with the Thinking Process component. When the AI is "Thinking", the JerrilAgent scanner in the chest area increases frequency and the robot displays "active" animations.
Follow the development on our GitHub Discussions or follow the creator on X (Twitter).
- Forge the repo
- Create your branch
- Run
pnpm lintbefore submitting PR - Ensure all environment variables are correctly mocked in tests
MIT -- Created by decimasudo.
