S-ASHWATH · TECHNICAL DOCUMENTATION
Use cases, agents,
and the stack behind them.
5 domains. Each one starts with a real problem in an industry where I have hands-on context. Each one ends with a working agent or system — built, validated, and live.
How many AI systems does it take to replicate what a marketplace team of 17 normally does? One person was the only way to find out.
200+
Self-generating pages
AUTONOMOUS CONTENT ENGINE
Batch LLM processing across 9,300 SKUs — staged apply/rollback with per-batch locks. Runs nightly, unattended.
STACK:Python · Gemini Flash · MySQL · cron
CONVERSATIONAL STOREFRONT ASSISTANT
Buyer Q&A in plain language. Worked around the commerce engine stripping JS via a server-level injection layer.
STACK:Claude · JavaScript · PHP endpoints
BUYER INTELLIGENCE TOOL
Location-aware recommendation engine — surfaces parts relevant to a regional market from a sprawling catalog.
STACK:Claude · location lookup · rule layer
VENDOR INTELLIGENCE DASHBOARD
Financial-terminal-style demand dashboard with live heatmaps across 15 regional markets + LLM demand reports on request.
STACK:JavaScript · Claude · rule engine · real-time UI
PRODUCT IMAGERY STUDIO
Bulk image-generation pipeline with dual-model A/B (Gemini vs GPT Image) and live cost tracking per batch.
STACK:Python · Gemini Flash Image · GPT Image · batch pipeline
COMMERCE INTEGRATION LAYER
Payments, logistics, transactional email, order messaging, and government-API vendor verification wired as one.
STACK:Payments · logistics · SMTP · messaging API · gov APIs
INFRASTRUCTURE & SAFETY LAYER
Linux admin, CDN/WAF, automated nightly backups, and a written ops runbook. The rules are the real product.
STACK:Linux · CDN/WAF · automated backups · ops runbook
India has a $530B MSME credit gap. The bottleneck is underwriters spending hours triangulating documents — not a shortage of capital.
$530B
MSME credit gap (India)
70%
Analyst time on doc review
SME CREDIT ANALYST AGENT
Triangulates GST annual turnover, 12-month bank credits, and ITR declared income. Applies underwriting scoring logic and generates a structured credit narrative with risk flags and recommended limit range. Runs in under 10 seconds.
STACK:TypeScript · React · rule-based triangulation engine · inline scoring logic
Revenue management software on the airline side costs millions. A passenger booking LHR→JFK has no tools to model what a fuel spike, route disruption, or geopolitical event will do to fares over the following week. AirWave inverts this: pull live fares, run a deterministic P&L cascade model, deploy 8 independent market agents each with a fixed behavioral profile and fuel hedge position, then weight their votes by market share into a consensus fare prediction with a confidence band. Open-source under AGPL-3.0.
8
Independent market agents
AIRWAVE · FARE SCENARIO INTELLIGENCE ENGINE
8 market agents (LCC Revenue Manager, Legacy Network Carrier, ULCC Revenue Manager, Premium Boutique, Enterprise Travel Manager, Price-Elastic Consumer, Online Travel Agency, Miles Optimizer) each receive live fare data, a cascaded P&L shock output, and their own behavioral profile. Each produces an independent fare vote and confidence score. Votes are market-share-weighted (Legacy 42%, LCC 28%, ULCC 12%, Premium 7%) into a consensus predicted fare with a ±band. Stack multiple shock triggers for compounded scenarios. A/B comparison mode for two concurrent runs. Rate-limited Flask API (5 req/60s). Simulation history in localStorage. PDF export. Open-source on GitHub.
STACK:Vue 3 Composition API · Flask · Python · Gemini 2.5 Flash · Duffel NDC · OpenSky · Yahoo Finance · SerpAPI · News RSS · AGPL-3.0
A Bloomberg terminal costs $25,000 a year. Oxford Economics and Macrobond serve institutional desks. None of them produce a plain-English brief for the CFO, the startup founder, or the logistics professional who needs to understand what a macro shock means for their specific role. This platform replicates the same four-layer analytical pipeline — live news trigger detection, live market seeding, a calibrated sector cascade model, and AI narrative grounded in today's real events — and delivers institutional-rigour output in plain English, for any decision-maker, free.
// REPORT GENERATION PIPELINE — 4-LAYER ARCHITECTURE
01→
RSS NEWS SIGNALS
BBC World · BBC Business · NYT World · NYT Business
15-min server cache. Keyword-matched to 6 shock categories. Returns signal strength 0–3 and a live headline per trigger. Cards reflect real news — not static labels.
02→
LIVE MARKET SEEDING
Yahoo Finance · open.exchangerate-api.com
5-min cache. VIX is extracted and converted to a cascade depth multiplier (VIX 14 = 0.82×, VIX 38 = 1.45×). WTI and S&P500 changes dampen first-order impacts already priced in today.
03→
BFS CASCADE MODEL
13 sectors · 31 data-calibrated edges
Breadth-first search propagates shock impact sector-by-sector. Edge weights calibrated via event-conditional regression against 23 historical shocks (Gulf War 1990 → Ukraine 2022) using Yahoo Finance ETF data. Circuit breakers cap runaway cascades.
04
AI SEARCH GROUNDING
Gemini 2.5 Flash · Google Search API
Gemini receives the full 13-sector cascade output plus live market data. Google Search Grounding fires at inference time — the model searches the current web before writing. The brief must cite specific cascade numbers AND specific current events. 11 persona cuts.
Live
Search-grounded output
BFS CASCADE PROPAGATION ENGINE
Breadth-first search across 13 sectors and 31 directional edges. Each trigger fires first-order shocks; the BFS engine propagates them sector-by-sector with sector-specific lag, confidence, and circuit-breaker thresholds. Edge weights are data-calibrated — not authored — via event-conditional correlation analysis across 23 historical shock events using Yahoo Finance ETF return data. VIX is applied as a real-time cascade multiplier: same WAR_CONFLICT trigger produces different sector numbers at VIX 14 vs VIX 38. Already-priced-in dampening prevents double-counting sectors the market is already moving on today.
STACK:TypeScript · custom BFS engine · 13 sectors · 31 edges · yfinance-calibrated weights · VIX multiplier · priced-in dampening
LIVE TRIGGER INTELLIGENCE · RSS ENGINE
Pulls BBC World, BBC Business, NYT World, and NYT Business RSS feeds every 15 minutes. Keyword-matches each headline to 6 shock categories (WAR_CONFLICT, OIL_SHOCK, RATE_HIKE, PANDEMIC, SUPPLY_CHAIN, MARKET_CRASH). Returns signal strength 0–1 and a real headline per trigger category — so every trigger card shows real news relevance, not a static label. ACTIVE badge fires when signal strength crosses threshold.
STACK:TypeScript · BBC RSS · NYT RSS · regex keyword engine · 15-min server cache · 6 shock categories
MACRO INTELLIGENCE BRIEF · GEMINI SEARCH GROUNDING
Receives the full 13-sector cascade output (all sectors, with impact %, lag, confidence, and propagation mechanism) plus live market data. Google Search Grounding fires at inference time — Gemini searches the current web before writing, not its training data. The system instruction requires the model to cite at least two specific cascade sectors by percentage AND anchor each claim to a specific current real-world event. Output: 4-section plain-English brief, under 500 words, specific to one of 11 decision-maker personas. Not a generic macro summary — a personalised analytical report.
STACK:Gemini 2.5 Flash · Google Search Grounding · temperature 0.4 · 11 personas · full cascade context · live market data
India processes over 250 million insurance claims annually. Adjusters spend 60% of their time reading FNOL attachments before making a single triage decision. Fraud patterns — early-inception claims, high-frequency claimants, over-valued amounts — surface only when you hold all signals together. Manual review processes them in isolation.
250M+
Claims filed in India / yr
₹45,000 Cr
Annual fraud losses (est.)
CLAIMS TRIAGE AGENT
Takes six FNOL parameters — policy type, incident category, claim quantum, filing delay, prior claims history, and policy age — and runs them through a multi-signal fraud scoring engine. Outputs fraud risk (LOW to CRITICAL), coverage likelihood, triage priority (FAST_TRACK / STANDARD / INVESTIGATE / REFER_SIU), indicative settlement range, specific risk flags, and a three-paragraph adjuster narrative with recommended next action. Runs in under 10 seconds. No API calls — all inference is in-browser via a rule-based scoring engine calibrated against standard insurance underwriting heuristics.
STACK:TypeScript · React · rule-based fraud scoring · FNOL triage engine · inline adjuster narrative
06Portfolio Platform Stack
The site itself is a demonstration of the same approach — built end-to-end, no design system, no component library, no shortcuts.
Framework
Next.js 16.2 · App Router · React 19 · TypeScript 5
Static export where possible, dynamic API routes for LLM + market data
Animation
Framer Motion 12 · GSAP 3.15 + @gsap/react
Page transitions, scroll animations, marquee ticker, scramble text, section dividers
Visualisation
D3 7.9
Macro network force-directed graph — 13 nodes, 31 edges, BFS cascade overlay
Styling
CSS Custom Properties · Inline styles · Zero CSS frameworks
Design tokens in globals.css — all spacing, color, and typography via CSS vars
LLM
Google Gemini 2.5 Flash · Google Search Grounding
Persona briefs grounded in current real-world events via Google Search at inference time — 11 roles, 4 sections, <450 words
Market Data
Yahoo Finance API · open.exchangerate-api.com
5-min cache on /api/market — VIX, WTI, S&P 500, USD/EUR, GOLD, 10Y UST. VIX drives cascade multiplier in real time.
News Feed
BBC World · BBC Business · NYT World · NYT Business RSS
15-min cache on /api/triggers — keyword-matched to 6 shock categories, signal strength + live headline per trigger
Custom Systems
BFS Cascade Engine · Scramble text hook · Custom cursor · Fare analysis engine · SME credit scoring · Insurance claims triage scoring
All built from scratch — no third-party AI wrappers for domain logic
Hosting
Fly.io · GitHub
Two always-on services: s-ashwath.com (Next.js) · airwave.s-ashwath.com (Flask + Vue). Singapore region. Env vars managed as Fly.io secrets.
// BUILD PHILOSOPHY
Every system here was built to answer a real question — not to demonstrate a stack or pad a portfolio.
The constraint I imposed: no scaffolding, no off-the-shelf agents, no pre-built workflows. The value of building this way isn't the output — it's what you learn when the system breaks at 2am and there's nobody to call. That's when you find out what you actually know.