← Command Center
PIA
REV: $0.0000/s  COST: $0.0000/s
Empire Command Center
v10.5.1  ·  Production  ·  treloarai.ai
00:00:00
Sun 06 Apr 2026
🤖 NEW CLAUDE SESSION — Click to Copy Context Paste into new Claude chat for full context
🧠 SAVE TO INTELLIGENCE HUB Capture important content from this session
Empire Overview
TreloarAI Inc. — Real-time empire status
291
Apps Online
--
Services Live
892
Patents
$3.4B
Est. Value
90
Verticals
--
Uptime
Revenue & Profit — Live
$0.0000
Rev/Sec
$0
Rev/Hour
$0
Rev/Day
$0
Rev/Week
$0
Rev/Month
$0
Rev/Year
$0.0000
Cost/Sec
$0
Cost/Hour
$0
Cost/Day
$0
Cost/Week
$0
Cost/Month
$0
Cost/Year
0%
Profit Margin
$0
Profit/Day
$0
Profit/Month
$0
Profit/Year
Navigate To
📱
Apps
291 applications
🎤
Pia
AI voice assistant
📞
Phone
GLI call management
📡
Marketing
Campaigns & metrics
🧠
Intelligence
AI builders & brain
🔒
Patents & IP
892 patents
💳
Billing & MRR
Revenue tracking
🔧
Build
Master plan
📄
Proposals
All active proposals
🏙
Smart City
Municipality pitches
🔑
Software & APIs
Keys & subscriptions
🎨
Themes
Visual layers
System Health — Quick View
Click Scan Now to check all services...
⚡ Strategic Action Board
Business and revenue actions — check every morning — this is the business engine
20
Total Items
3
Urgent
7
High Priority
5
In Progress
2
Complete
$47M+
Revenue If Actioned
Apps
291 applications — Top 25 pinned, all apps below by category
⭐ Top 25 — Most Used
Select a vertical to onboard a new client — each form provisions their account and relevant apps automatically.
📱
Telecoms
Carrier / MVNO onboarding
🏥
Healthcare
Clinic / hospital onboarding
Legal
Law firm onboarding
🏠
Real Estate
Agency onboarding
🚗
Automotive
Dealer / fleet onboarding
🚚
Freight
Carrier onboarding
🏢
Hospitality
Hotel / venue onboarding
🏛
Government
Municipality onboarding
💳
Insurance
Carrier onboarding
🌿
Agriculture
Farm / station onboarding
🏫
Education
School / college onboarding
🏪
Retail
Store onboarding
Pia
AI voice assistant — intelligence & call management
--
Total Calls
--
Avg Lead Score
--
Follow Ups
Recent Calls
Loading...
Attorney Session Audit
Loading...
📄
Document Delivery
Pia Document Engine — port 3370
Phone
GLI-powered call management
GLI Phone System
📞 Pia Phone ↗ 🔗 GLI Switch ↗ 🔌 GLI Registry ↗
RuleActionStatus
Family contactsAlways ring throughON
Unknown callersScreen via PiaON
Scam numbersBlock + logON
Do Not Disturb10pm — 7amON
Voicemail transcriptionAll callsON
Phone System Status
Checking...
Marketing
Campaigns, ad engine, metrics and competitor intelligence
Active Campaigns
Loading...
Ad Engine — 24 Platforms
Google Ads
Connect »
Meta Ads
Connect »
TikTok
Connect »
LinkedIn
Connect »
Twitter/X
Connect »
YouTube
Connect »
Instagram
Connect »
Snapchat
Connect »
Pinterest
Connect »
Reddit
Connect »
Email
Connect »
SMS
Connect »
Credit Tracker — Marketing App Costs
$0
Total Spend
$0
Revenue
0%
ROI
PlatformDaily SpendMonthlyROI
Google Ads$0$0--
Meta/Facebook$0$0--
TikTok$0$0--
Competitor Intel — 10 Per Vertical
Select a vertical
SWARMIQ — Autonomous Marketing Intelligence
10,000 AI marketing bots that autonomously research, target and engage prospects across all verticals.
10,000
Bot Capacity
90
Verticals
291
Target Apps
24/7
Autonomous
Swarm TypeBotsTargetStatus
Lead Discovery2,500New prospects across 90 verticalsREADY
Competitor Monitor1,500Track pricing, features, reviewsREADY
Content Generator2,000SEO articles, social posts, emailsREADY
Outreach Bots2,000Personalized email sequencesREADY
Review Scraper1,000Aggregate reviews for all verticalsREADY
Social Listener1,000Brand mention trackingREADY
SWARMIQ requires Anthropic API credits and outbound email configuration. Deploy with: pm2 start /opt/treloar-empire/swarmiq/server.js --name swarmiq
Suzanne — Call Screening
Pia answers every call to Suzanne · approved contacts bridge through · unknowns leave messages · spam blocked
⚠ Configuration required
Set the two numbers in pia-engine .env and restart:
SUZANNE_NUMBER=+1XXXXXXXXXX (Suzanne's real phone — bridge target)
RICHARD_NUMBER=+13142316152 (SMS alerts — default set)
Then point the Telnyx/Twilio webhook for Suzanne's screening number at:
http://35.173.104.162:3350/suzanne/voice/incoming
👤 Approved contacts
Loading…
📞 Recent screened calls
Loading…
🚫 Spam watch list
Loading…
Intelligence
Strategic intelligence hub + AI builders
🧠 Strategic Intelligence Hub
Priority: 0 records
Brain Report — Today
Loading brain report from port 3502...
App Builder — Autonomous
Recent Builds
Loading...
Patent Builder — v4.1 Engine (25 Agents)
🩺
Code Healer
Auto-healing every 5 min — PM2 id 70
Patents & IP
892 patents — v4.1 engine — 25 agents
📑 Patent Registry (3780) 💼 Attorney Portal (3781) 🏛 Portfolio Manager (3102/firm-portal) 📚 Documents Hub (3785)
Loading patents...
Loading...
Submit New Patent
Portfolio Valuation
892
Total
7.8
Avg Score
113
High Priority
9.1
Top Score
Grants & Credits
Funding opportunities — click any grant to expand
🔥 TOMORROW — Grant Writing Session
Key targets: DoD SBIR $250K · DARPA DSO $1M+ · Byrne JAG $350K · IsDB $5–20M · FedEx licence · AT&T partnership · Anthropic partnership
Knowledge base loaded — ready to generate
📜 Grant Letter Builder (AI) — KB + live patent data
Pulls TreloarAI knowledge base + live patent engine. Structured SBIR output with technical claims quoted directly.
Find your topic at sbir.gov — enter the number for a more targeted application.
KB: loading…
0 selected
Loading patents from engine…
Proposals & Pipeline
All active proposals — click any to expand
🤖 AI Proposal Generator — Powered by Claude
Select a proposal type and Claude writes a full tailored proposal using TreloarAI context.
Trading Intelligence
Market intelligence
📈
Trading Intelligence
Open App ↗
Billing & MRR
Revenue tracking — real-time
$0
MRR
$0
ARR
0
Subscribers
$0
Today
Revenue — Live
$0.0000
Per Second
$0
Per Hour
$0
Today
$0
This Week
$0
This Month
Build
Master plan — no more pieces of paper
Current Build Queue
ItemPriorityStatus
Google + EPO API keysCriticalPENDING
Rerun patents 863+865CriticalPENDING
Grant engine full rebuildHighPENDING
Stripe wiring across Prime appsHighPENDING
Pia widget deployment to all Prime appsHighPENDING
GLI patent rerun — target 8.5+HighPENDING
East St. Louis demo — alerts, reports, SMSHighPENDING
10 insurance partnership proposalsHighPENDING
Morphing Mall build-outMediumPENDING
Voice Stress Analyser — wire to PiaMediumPENDING
Rotate Anthropic API keyCriticalPENDING
Infrastructure
ComponentStatusDetail
AWS EC2LIVEt3.2xlarge · us-east-1 · 35.173.104.162
PostgreSQLLIVEtreloar_empire · port 5432
PM2LIVE291+ processes managed
NginxLIVEtreloarai.ai · SSL Jun 2026
Patent Engine v4.1LIVEPort 3280 · 25 agents
Pia Document EngineLIVEPort 3370
Software & API Keys
All subscriptions, API keys and account management
Click Get Key to open provider. Paste and Save.
Monthly Subscriptions
ServiceCostStatusManage
Anthropic (Claude API)UsageACTIVEOpen ↗
TwilioUsageACTIVEOpen ↗
ElevenLabsUsageCONFIGUREOpen ↗
AWS EC2~$150/moACTIVEOpen ↗
Google Custom SearchUsageNOT SETOpen ↗
EPO OPS APIFREENOT SETOpen ↗
Stripe2.9%+30cCONFIGUREOpen ↗
Audit
System health and attorney sessions
Click to scan all services
Attorney Session History
Loading...
Bootstrap Plan
Phase-by-phase empire build roadmap
Phase 1 — Foundation (Complete)
ItemStatus
AWS EC2 InfrastructureCOMPLETE
GLI Identity SystemCOMPLETE
Pia Voice EngineCOMPLETE
Patent Engine v4.1COMPLETE
291 Apps BuiltCOMPLETE
Command Center v10.5.1IN PROGRESS
Phase 2 — Revenue (Active)
ItemStatusTarget
Stripe wiring — all Prime appsPENDINGQ2 2026
Attorney patent engagementACTIVEApr 2026
East St. Louis Smart City contractACTIVE PITCHQ2 2026
AT&T Indonesia partnershipPROPOSAL SENTQ2 2026
Insurance proposals x10PENDINGQ2 2026
Commands
Quick server commands — copy and paste into terminal
PM2 Commands
ActionCommand
List allsudo su - root -c "pm2 list"
Restart appsudo su - root -c "pm2 restart [name] --update-env"
View logssudo su - root -c "pm2 logs [name] --lines 20 --nostream"
Save listsudo su - root -c "pm2 save"
Check portss -tlnp | grep [port]
Database Commands
ActionCommand
ConnectPGPASSWORD=$DB_PASS psql -U treloar -h localhost -d treloar_empire
Patent countSELECT COUNT(*) FROM patents WHERE status='complete';
Top patentsSELECT id,LEFT(title,50),novelty_score FROM patents ORDER BY novelty_score DESC LIMIT 10;
Patent Engine Commands
ActionCommand
Health check v4.1curl -s http://localhost:3280/health | python3 -m json.tool
Portfolio overviewcurl -s http://localhost:3280/api/portfolio/overview | python3 -m json.tool
Generate documentcurl -X POST http://localhost:3370/api/generate -H "Content-Type: application/json" -d '{"template":"patent_summary","data":{"patent_id":865},"format":"txt"}'
Themes
Visual layers — change colors across all apps instantly
CSS Variable Layer System
Fireside Truth
Social truth platform
🔥
Fireside Truth
Open App ↗
MomentSong
AI music generation
🎵
MomentSong
Open App ↗
Morphing Mall
AI-powered storefront — port 3055
Open Morphing Mall ↗
Smart City
Municipality pitches
Open SmartCity Demo
GVI Platform
Global Vehicle Intelligence — port 3901
🚗
GVI Platform
Open GVI ↗
About GVI Platform
Global Vehicle Intelligence platform powered by GLI identity. Hub for VehicleGenome, QuickQuote, ShopPro, DealerIQ, SalvageParts, Insurance Estimator, and 10 sub-services. Full vehicle lifecycle management from VIN decode to salvage.
3901
Port
10
Sub-Services
10
Insurance Targets
GLI
Identity Layer
Insurance Licensing Targets
● State Farm
● Progressive
● Allstate
● GEICO
● USAA
● Liberty Mutual
● Farmers
● Nationwide
● Travelers
● American Family
SongCraft Studio
AI music production platform
🎤
SongCraft Studio
Open App ↗
About SongCraft Studio
AI-powered music production platform enabling users to create, arrange, and produce professional-quality music using natural language prompts and AI composition.
v2.0
Version
3736
Port
Online
Status
FixNow
AI-powered home services marketplace — port 3651
🔧
FixNow
Open App ↗
About FixNow
AI-powered home services marketplace. Pia handles inbound calls at 1-800-FIX-NOW, qualifies leads, and warm-transfers to matched service professionals in under 60 seconds.
1-800-FIX-NOW
Phone
3651
Port
5 Markets
DFW / HOU / PHX / ATL / DEN
4 Tiers
$99-$999/mo
📱 GLI Phone — Revenue Dashboard
Flagship mobile platform — port 3911 — Full revenue stack for AT&T/Verizon/Vodafone licensing
📱
GLI Phone v3.0
Open App ↗
💰 PSTN Termination Revenue
Inbound PSTN calls terminated on GLI network generate $0.002/minute
14,280
Inbound Minutes Today
$28.56
Revenue Today
$856.80
Revenue This Month
$10,281.60
Projected Annual
428,400
Inbound PSTN Minutes (Month)
62,140
GLI-to-GLI Minutes (Zero Cost)
✅ GLI-to-GLI savings: 62,140 minutes at $0.002 = $124.28 saved this month for subscribers (calls between GLI users are free — this is the network effect moat)
💳 Revenue Per Subscriber — Full Stack (AT&T Licensing Deck)
This is the revenue breakdown shown to carriers when licensing GLI Phone
REVENUE STREAM PER SUB/MONTH 1K SUBS 100K SUBS 1M SUBS
📱 Subscription
Standard $9.99 • Enterprise $49.99
$9.99 $9,990 $999,000 $9.99M
📞 PSTN Termination
$0.002/min • avg 240 inbound min/sub/month
$0.48 $480 $48,000 $480K
📍 Location Marketing (TRE Discover)
$0.01/impression + $0.25/claim • avg 15 impressions/sub/month
$0.40 $400 $40,000 $400K
💰 Remittance Fees
0.75% per transfer • avg $200 sent/sub/month (active corridors only)
$1.50 $1,500 $150,000 $1.5M
TOTAL REVENUE PER SUBSCRIBER $12.37 $12,370 $1.24M $12.37M
ANNUAL REVENUE @ 1M SUBS
$148.4M
ANNUAL REVENUE @ 10M SUBS
$1.48B
CARRIER LICENSE VALUE
$15M+/yr
per major carrier (AT&T, Verizon, Vodafone)
📈 Current Platform Metrics
21,002
GLI Numbers Reserved
19
Countries Active
TRE-001
Public ID Format
v3.0.0
App Version
16
Built-in Apps
PWA
Distribution
📱 Platform Capabilities
  • GLI-to-GLI encrypted calling (zero cost — network effect moat)
  • PSTN calling via Telnyx — termination revenue on every inbound minute
  • TRE Discover — location marketing with digital billboard integration (patent portfolio)
  • Send Money — cross-border remittance (0.75% fee, 7 corridors planned)
  • Pia AI assistant — voice-first on every screen, 140+ languages
  • Real-time translation during live calls
  • Camera, Notes, Calculator, Weather, Clock, Maps, Healthcare, QR Scanner
  • TreloarAI platform shortcuts (SmartCity, AgriCore, FixNow, VehicleGenome, etc.)
  • Lock screen with PIN security, biometric ready
  • PWA distribution — no app store required, instant install on any phone
Autonomous Metrics Engine
Real-time platform monitoring — port 3900
📊
Metrics Engine
Open Dashboard ↗
About Metrics Engine
Autonomous business metrics engine monitoring all 300+ services in real time. Tracks revenue, costs, margins per vertical. Monitors Pia call volumes, patent registry activity, and SmartCity engagement. Runs 24/7 as a PM2 service.
3900
Port
5 min
Collection Interval
24/7
Autonomous
DairyCom101
Dairy farm management — port 3943
🐄
DairyCom101
Open App ↗
About DairyCom101
AI-powered dairy farm management platform. Tracks herd health, milk production, breeding cycles, feed management, and financial performance. Integrated with Genetics Tracker and Livestock Health services.
3943
Port
AI
Herd Intelligence
24/7
Monitoring
IntelliQ
AI intelligence engine — port 3444
🧠
IntelliQ
Open App ↗
About IntelliQ
Core AI intelligence engine powering reasoning, analysis, and decision-making across the TreloarAI platform. Provides intelligence APIs consumed by multiple verticals.
3444
Port
AI
Core Engine
SwarmIQ Engine
Swarm intelligence — port 3570
🐝
SwarmIQ Engine
Open App ↗
About SwarmIQ
Distributed swarm intelligence engine. Orchestrates multi-agent AI tasks across the platform, enabling collaborative problem-solving and autonomous decision-making at scale.
3570
Port
Multi-Agent
Architecture
GLI Registry
Master GLI identity registry — port 3480
🔗
GLI Registry
Open App ↗
About GLI Registry
Master registry for the Global Lifetime Identity (GLI) system. Manages identity creation, verification, and lifecycle across all TreloarAI services. Core infrastructure for the entire platform.
3480
Port
GLI
Identity Core
Patent Registry
Patent management — port 3780
📜
Patent Registry
Open App ↗
About Patent Registry
Manages the full patent portfolio for TreloarAI. Tracks filing status, claims, novelty scores, and prior art analysis. Integrated with Patent Attorney Portal (3781).
3780
Port
257+
Patents Filed
Telnyx Service
Telephony API integration — port 3368
📡
Telnyx Service
Open App ↗
About Telnyx Service
PSTN telephony bridge via Telnyx. Provides voice calling, SMS, and number management APIs for GLI Phone, Call Center, and all communication services across the platform.
3368
Port
PSTN
Voice + SMS
DealerIQ
Automotive dealer intelligence — port 3442
🏪
DealerIQ
Open App ↗
About DealerIQ
AI-powered automotive dealer intelligence platform. Inventory management, pricing optimization, lead scoring, and VehicleGenome integration for full vehicle lifecycle intelligence.
3442
Port
GVI
Integrated
Autonomous Builder
Autonomous app builder — port 3614
🏗
Autonomous Builder
Open App ↗
About Autonomous Builder
AI-powered autonomous application builder. Generates, deploys, and manages new applications across the TreloarAI platform. Works with Code Healer for self-repair capabilities.
3614
Port
AI
Auto-Deploy
Translation Bridge
Real-time translation service — port 3622
🌐
Translation Bridge
Open App ↗
About Translation Bridge
Real-time translation service supporting 50+ languages. Provides text and voice translation APIs for GLI Phone calls, Pia interactions, and all platform communications.
3622
Port
50+
Languages
Pia Engine
Pia AI assistant core — port 3350
🤖
Pia Engine
Open App ↗
About Pia Engine
Core AI assistant engine powering Pia across all TreloarAI services. Handles natural language understanding, conversation management, call screening, and context-aware responses.
3350
Port
Pia
AI Core
Custom Build Requests
Pia-captured custom build requests from callers
🛠
Custom Builds
View API ↗
About Custom Builds
When Pia cannot match a caller to an existing TreloarAI product, she offers a custom build and captures their requirements automatically. Richard receives an SMS for each new request. Requests tracked: new → in_progress → completed.
3350
Via Pia
SMS
Alerts
Auto
Capture
Market Intelligence
Competitive analysis across all 140+ TreloarAI apps
🔎
Market Intelligence
Open App ↗
About Market Intelligence
Comprehensive competitive intelligence for every TreloarAI application. For each of our 140+ apps: top 10 competitors with features, pricing, pros and cons. Side-by-side feature comparison. AI-powered positioning and pricing strategy recommendations.
30+
Apps Tracked
300+
Competitors
3945
Port
Enterprise Call Center
Multi-tenant white-label call center platform — $500-$5000/mo per client
📞
Enterprise Call Center
Open App ↗
About Enterprise Call Center
Multi-tenant enterprise call center platform. Two modes: Internal (TreloarAI) and White Label (client companies). Each client gets custom branding, custom Pia persona, isolated call data, CRM integration, SLA monitoring, real-time supervisor dashboard, call recording, and full analytics. Clients never see TreloarAI branding.
3950
Port
$999+
/Month
White Label
Multi-Tenant
Fortune 1000
Target
AIFlowKeeper v3.0
Platform health watchdog, self-repair engine, knowledge brain — port 3606
🧠
AIFlowKeeper
Open App ↗
304
Processes Online
0
Errored
0
Auto-Fixes Today
3606
Port
Features
  • Health Watchdog — scans all PM2 processes every 60 seconds
  • Auto-restart errored/stopped services
  • Memory leak detection — auto-restart at 500MB+
  • Missing npm module detection and auto-install
  • Port conflict detection
  • SMS alerts to Richard for critical issues
  • Knowledge brain — indexes all codebase, troubleshooting history
  • Self-repair logic for database, ports, modules
UAE Strategic Partnership
Sovereign wealth fund investment — $800M-$1.5B for 25-30% equity
$800M-$1.5B
Investment Ask
25-30%
Equity Offered
$3-5B
Pre-Money Valuation
4 Pillars
Investment Thesis
Pillar 1: Patent Portfolio (630+ Patents)
• 630+ patents filed across AI, identity, defense, geospatial intelligence, smart city, autonomous systems, and quantum-resistant cryptography
• GLI Universal Identity System — quantum-resistant, zero-knowledge, biometric-bound identity platform. Foundational technology for global digital identity.
• Patent licensing revenue potential: $100M+ ARR from enterprise licensees (telecoms, banks, governments, defense contractors)
• Defensive moat: No competitor can replicate GLI, Pia, VehicleGenome, or SWARMIQ without licensing from TreloarAI
• Comparable: Qualcomm generates $6.4B/year in patent licensing alone. TreloarAI patents cover broader verticals.
Pillar 2: Guinea Operations ($180M ARR)
• Government contract for AI-powered telecommunications platform serving 13M+ citizens
• GLI identity for citizen verification. Pia voice interface in French and local languages. Government services, education, healthcare via voice and SMS.
• Year 1: $2.4M deployment. Year 2-3: National rollout. Year 4+: Full penetration — $180M ARR at scale
• Replicable model: Guinea is the template for 54 African nations. Each nation is a $50M-$500M contract.
• Africa’s digital economy is projected to reach $180B by 2030. TreloarAI is positioned as the infrastructure layer.
Pillar 3: Australian Mega-Farm (2.7M Acres)
• 2.7 million acre agricultural operation in Australia — cattle, crops, and land. One of the largest single-operator holdings in the country.
• AI-managed: TreloarAI AgriAI platform handles livestock tracking, crop management, market analytics, water management, and autonomous equipment coordination
• Real asset backing: Land alone valued at $500M+ at current Australian agricultural land prices
• Revenue: Cattle operations + crop sales + carbon credits + agri-tourism + AI licensing to neighboring farms
• Strategic value: Food security asset for sovereign wealth investors. Farmland is the ultimate inflation hedge.
Pillar 4: TreloarAI Platform
• 291 AI-powered applications across 90 industry verticals. Every app runs on shared GLI identity infrastructure.
• Core products: GLI Universal Identity, Pia Voice AI, VehicleGenome, SWARMIQ, Fireside Truth, MomentSong, SongCraft Studio, Morphing Mall
• Enterprise licensing model: Per-user, per-transaction, per-subscriber fees. Pure SaaS recurring revenue.
• Live deployments: East St. Louis smart city, AT&T proposals, FedEx logistics, insurance carriers, African telecoms
• Self-funded to date. Zero dilution. First external capital at sovereign wealth scale.
Target Sovereign Wealth Funds
FundAUMFocusFit
Abu Dhabi Investment Authority (ADIA)$993BTech, infrastructure, agricultureStrong
Mubadala (Abu Dhabi)$302BAI, tech, strategic assetsStrong
Qatar Investment Authority$475BTech, agriculture, infrastructureStrong
Saudi PIF$930BTech, NEOM, AI, Vision 2030Strong
Kuwait Investment Authority$803BDiversifiedGood
Singapore GIC$770BTech, agricultureGood
Action Steps
1. Complete Sovereign Wealth Investment Memorandum (50-page document)
2. Engage international investment bank for introductions (Rothschild, Lazard, or Evercore)
3. Target Mubadala and ADIA first — strongest AI and agriculture overlap
4. Present four-pillar thesis: patents + Guinea + farm + platform
5. Negotiate term sheet at $3-5B pre-money valuation for 25-30% equity
6. Structure as convertible preferred with board seat + anti-dilution protection for investor
Settings
Infrastructure and system configuration
Team Access
NameRoleAccessStatus
Richard TreloarFounder/CEOFULL ADMINACTIVE
KevinPartnerFULLACTIVE
NicoleFamily BetaREAD ONLYPENDING
SuzanneFamily BetaREAD ONLYPENDING
Domain & SSL
SettingValueStatus
Domaintreloarai.aiLIVE+SSL
SSLLet's Encrypt · Jun 2026VALID
Server IP[configured]SET
Personal
Private — password protected
🔐
Personal Space
Enter PIN to access
🔬 EPO Patent Search
European Patent Office — live search, competitor monitoring, filing intelligence
EPO Service Status
--
Service
--
Token
--
Quota Used
--
Cached Results
Loading EPO status...
Competitor Patent Monitor
Loading competitor data...
Filing Recommendations
Loading filing recommendations...
EPO API Usage Log
Loading API log...
'; w.document.write(html); w.document.close(); } // --- Add / Edit Intelligence modal (shared with quick-capture) --- function openIntelAddModal(existing){ var wrap = document.getElementById('intel-modal'); if (!wrap) { wrap = document.createElement('div'); wrap.id = 'intel-modal'; wrap.style.cssText = 'position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,0.85);display:flex;align-items:center;justify-content:center;padding:20px'; wrap.innerHTML = '
' + '
🧠 Capture intelligence
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
'; document.body.appendChild(wrap); } wrap.style.display = 'flex'; // Populate for edit or reset for new var t = document.getElementById('intel-modal-title'); if (existing){ t.textContent = '\u270f\ufe0f Edit intelligence #' + existing.id; wrap.dataset.editId = existing.id; document.getElementById('intel-m-cat').value = existing.category || 'Strategy'; document.getElementById('intel-m-pri').value = existing.priority || 'medium'; document.getElementById('intel-m-sub').value = existing.subcategory || ''; document.getElementById('intel-m-title').value = existing.title || ''; document.getElementById('intel-m-content').value = existing.content || ''; document.getElementById('intel-m-tags').value = existing.tags || ''; } else { t.textContent = '\ud83e\udde0 Capture intelligence'; delete wrap.dataset.editId; document.getElementById('intel-m-sub').value = ''; document.getElementById('intel-m-title').value = ''; document.getElementById('intel-m-content').value = ''; document.getElementById('intel-m-tags').value = ''; } setTimeout(function(){ var t=document.getElementById('intel-m-title'); if (t) t.focus(); }, 120); } function closeIntelModal(){ var wrap = document.getElementById('intel-modal'); if (wrap) wrap.style.display = 'none'; } async function saveIntel(){ var body = { category: document.getElementById('intel-m-cat').value, priority: document.getElementById('intel-m-pri').value, subcategory: document.getElementById('intel-m-sub').value.trim() || null, title: document.getElementById('intel-m-title').value.trim(), content: document.getElementById('intel-m-content').value.trim(), tags: document.getElementById('intel-m-tags').value.trim() || null }; var status = document.getElementById('intel-m-status'); if (!body.title || !body.content){ status.textContent = 'Title + content required'; status.style.color = 'var(--red)'; return; } status.textContent = 'Saving\u2026'; status.style.color = 'var(--amber)'; var wrap = document.getElementById('intel-modal'); var id = wrap && wrap.dataset.editId; try { var r = await fetch('/api/intelligence' + (id?'/'+id:''), { method: id?'PUT':'POST', headers:{'Content-Type':'application/json'}, body: JSON.stringify(body) }); var d = await r.json(); if (d.success){ status.textContent = 'Saved \u2713'; status.style.color = 'var(--green)'; setTimeout(function(){ closeIntelModal(); loadIntelHub(); }, 300); } else { status.textContent = 'Error: ' + (d.error||'unknown'); status.style.color = 'var(--red)'; } } catch(e) { status.textContent = 'Error: ' + e.message; status.style.color = 'var(--red)'; } } // ---- Grant Letter Builder: unified access ---- function openGrantLetterBuilder(){ // Jump to Grants & Credits tab (it holds the real builder) var grantsNav = document.querySelector('[onclick*="sp(\'grants\'"]'); if (grantsNav) grantsNav.click(); setTimeout(function(){ var card = document.getElementById('grant-letter-builder-card'); if (card) { card.scrollIntoView({behavior:'smooth', block:'start'}); card.style.transition = 'box-shadow 0.5s'; card.style.boxShadow = '0 0 24px rgba(139,92,246,0.6)'; setTimeout(function(){ card.style.boxShadow = ''; }, 1600); } }, 200); } // ---- KNOWLEDGE BASE + PATENT SELECTOR STATE ---- var TRELOAR_KB = null; var ENGINE_PATENTS = []; // patents pulled from patent engine var SELECTED_PATENTS = {}; // id -> true // Pre-selection map: grant keyword -> patent IDs var GRANT_PRESELECT = { 'dod': [897, 866, 36, 878], 'darpa': [866, 473, 36], 'dhs': [800, 66, 795], 'afwerx': [36, 878, 800, 897], 'nsf': [72, 70, 80], 'nasa': [473, 895], 'usda': [], 'byrne': [897, 800], 'isdb': [80], 'islamic':[80], 'bead': [66, 896] }; async function loadTreloarKB(){ if (TRELOAR_KB) return TRELOAR_KB; try { var r = await fetch('/data/treloarai_kb.json'); TRELOAR_KB = await r.json(); var s = document.getElementById('grant-kb-status'); if (s) s.innerHTML = 'KB: loaded · ' + TRELOAR_KB.platform.patents_filed + ' patents · ' + TRELOAR_KB.platform.apps + ' apps'; return TRELOAR_KB; } catch(e) { var s2 = document.getElementById('grant-kb-status'); if (s2) s2.innerHTML = 'KB: failed to load'; return null; } } // AI-powered patent loader. Calls /api/grant-match-patents which uses Anthropic // to pick the most relevant patents for the selected grant and returns a // one-line relevance explanation for each. Renders as cards. async function loadPatentSelector(){ var box = document.getElementById('patent-selector'); if (!box) return; var grant = (document.getElementById('grant-sel')||{}).value || ''; if (!grant || grant === 'Select grant...') { box.innerHTML = '
Select a grant type above — patents will auto-load with AI relevance matching.
'; SELECTED_PATENTS = {}; ENGINE_PATENTS = []; updateSelCount(); return; } box.innerHTML = '
🧠 AI matching patents to ' + grant.replace(/…
Querying Claude with full patent portfolio
'; try { var r = await fetch('/api/grant-match-patents', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ grant_type: grant, limit: 8 }) }); var data = await r.json(); var patents = (data && data.patents) || []; ENGINE_PATENTS = patents.map(function(p){ return { id: p.id, title: p.title, novelty_score: p.score, relevance: p.relevance }; }); SELECTED_PATENTS = {}; ENGINE_PATENTS.forEach(function(p){ SELECTED_PATENTS[p.id] = true; }); // default: all selected renderPatentSelector(); } catch(e) { box.innerHTML = '
Failed to load patents: ' + e.message + '
'; } } function reloadPatentSelector(){ ENGINE_PATENTS = []; SELECTED_PATENTS = {}; loadPatentSelector(); } function renderPatentSelector(){ var box = document.getElementById('patent-selector'); if (!box) return; if (!ENGINE_PATENTS.length) { box.innerHTML = '
No matching patents returned.
'; updateSelCount(); return; } var cards = ENGINE_PATENTS.map(function(p){ var selected = !!SELECTED_PATENTS[p.id]; var score = parseFloat(p.novelty_score || 0).toFixed(1); var title = (p.title || '').replace(/= 9.0 ? '#fbbf24' : (score >= 8.5 ? '#a78bfa' : '#6ea8fe'); var borderColor = selected ? 'rgba(16,185,129,0.45)' : 'rgba(148,163,184,0.18)'; var bgColor = selected ? 'rgba(16,185,129,0.06)' : '#0a0f1a'; var pillText = selected ? '✅ SELECTED' : '◯ REMOVED'; var pillBg = selected ? '#065f46' : '#374151'; var btnLabel = selected ? 'Remove from application' : 'Include in application'; return '
' + '
' + '
🔑 Patent #'+p.id+' · '+score+'/10
' + '
'+pillText+'
' + '
' + '
'+title+'
' + (relevance ? '
WHY SELECTED: '+relevance+'
' : '') + '' + '
'; }).join(''); var footer = '
' + '' + Object.keys(SELECTED_PATENTS).length + ' patents automatically selected based on AI grant matching. Click Generate to create your application.' + '
'; box.innerHTML = cards + footer; updateSelCount(); } function togglePatent(id, checked){ if (checked) SELECTED_PATENTS[id] = true; else delete SELECTED_PATENTS[id]; renderPatentSelector(); } function updateSelCount(){ var n = Object.keys(SELECTED_PATENTS).length; var el = document.getElementById('patent-sel-count'); if (el) el.textContent = n + ' selected'; } async function onGrantSelChange(){ // Fully automatic flow: on grant change, re-run AI patent matching and re-render cards. await loadPatentSelector(); } function toggleSttrInfo(){ var on = document.getElementById('grant-sttr-toggle').checked; document.getElementById('grant-sttr-info').style.display = on ? 'block' : 'none'; } async function buildGrantLetterAI(){ var grant = document.getElementById('grant-sel').value; var contact = document.getElementById('grant-contact').value; var extra = document.getElementById('grant-extra').value; var topicNum = (document.getElementById('grant-topic-num')||{}).value || ''; var ask = (document.getElementById('grant-ask')||{}).value || ''; var sttr = !!(document.getElementById('grant-sttr-toggle')||{}).checked; var university = (document.getElementById('grant-university')||{}).value || ''; var btn = document.getElementById('grant-gen-btn'); var status = document.getElementById('grant-gen-status'); if(!grant || grant==='Select grant...'){status.textContent='Please select a grant';status.style.color='var(--red)';return;} var pids = Object.keys(SELECTED_PATENTS).map(function(k){ return parseInt(k,10); }); if (!pids.length) { if (!confirm('No patents selected. Generate without featured patents?')) return; } btn.disabled=true;btn.textContent='Generating...'; status.textContent='Claude is writing your application (this takes ~30s)...';status.style.color='var(--amber)'; try { var response = await fetch('/api/ai-grant-letter', { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ grant_name: grant, contact_person: contact, extra_context: extra, selected_patent_ids: pids, sttr_mode: sttr, sbir_topic_number: topicNum, university_partner: university, dollar_ask: ask }) }); var data = await response.json(); var letter = data.letter || data.error || 'Error generating letter'; document.getElementById('grant-letter-text').value = letter; document.getElementById('grant-letter-output').style.display = 'block'; var badge = document.getElementById('grant-patents-badge'); if (badge) { if (data.patents_used && data.patents_used.length) { badge.innerHTML = '✅ Featured patents: ' + data.patents_used.map(function(p){ return '#'+p.id+' ['+p.score+']'; }).join(' · '); } else { badge.textContent = ''; } } updateGrantCharCount(); status.textContent = 'Application generated (' + (letter.length) + ' chars)';status.style.color='var(--green)'; } catch(e) { status.textContent = 'Error: ' + e.message;status.style.color='var(--red)'; } btn.disabled=false;btn.textContent='\ud83e\udd16 Generate Grant Letter'; } function updateGrantCharCount(){ var t = document.getElementById('grant-letter-text').value || ''; var el = document.getElementById('grant-char-count'); if (el) { var pages = Math.max(1, Math.ceil(t.length / 3000)); el.textContent = t.length + ' chars / ~' + pages + ' pages'; } } function regenerateGrantLetter(){ buildGrantLetterAI(); } function buildGrantLetter(){ buildGrantLetterAI(); } function copyGrantLetter(){ var text = document.getElementById('grant-letter-text').value; navigator.clipboard.writeText(text).then(function(){ var s = document.getElementById('grant-gen-status'); if (s) { s.textContent = 'Copied to clipboard'; s.style.color = 'var(--green)'; } }); } function downloadGrantLetter(fmt){ var text = document.getElementById('grant-letter-text').value || ''; var grant = (document.getElementById('grant-sel').value || 'grant').replace(/[^a-z0-9]/gi,'_'); var stamp = new Date().toISOString().substring(0,10); var filename = 'TreloarAI_' + grant + '_' + stamp + '.' + (fmt || 'txt'); var blob; if (fmt === 'docx') { // Minimal Word-compatible HTML document var html = '' + '' + grant + '
' +
      text.replace(/&/g,'&').replace(//g,'>') + '
'; blob = new Blob(['\ufeff' + html], { type: 'application/msword' }); } else { blob = new Blob([text], { type: 'text/plain' }); } var url = URL.createObjectURL(blob); var a = document.createElement('a'); a.href = url; a.download = filename; a.click(); setTimeout(function(){ URL.revokeObjectURL(url); }, 1000); } async function saveGrantLetterToDisk(){ var text = document.getElementById('grant-letter-text').value || ''; if (!text) return; var grant = (document.getElementById('grant-sel').value || 'grant').replace(/[^a-z0-9]/gi,'_'); try { var r = await fetch('/api/save-proposal', { method: 'POST', headers: {'Content-Type':'application/json'}, body: JSON.stringify({ filename: 'grant_' + grant, content: text }) }); var d = await r.json(); var s = document.getElementById('grant-gen-status'); if (s) { if (d.success) { s.innerHTML = 'Saved: '+d.file+''; } else { s.textContent = 'Save failed: ' + (d.error||''); s.style.color='var(--red)'; } } } catch(e) { alert('Save failed: ' + e.message); } } // Kick off KB + patent selector placeholder when page is ready. // Selector shows "select a grant" placeholder until a grant is chosen — then // AI matching kicks in automatically via onGrantSelChange(). if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', function(){ loadTreloarKB(); loadPatentSelector(); }); } else { loadTreloarKB(); loadPatentSelector(); } // GRANT CARDS var GRANTS_DATA = { cloud: [ { name:'AWS Activate', amount:'$1,000 – $100,000', status:'APPLY NOW', cls:'ba', url:'https://aws.amazon.com/startups/credits', how:'TreloarAI already runs on AWS EC2 (us-east-1). As a self-funded startup under 10 years old you qualify for the Founders package ($1K) immediately. If you can get affiliated with an AWS Activate Provider — accelerator or VC — you unlock the Portfolio package at up to $100K. Apply using richard@treloarai.ai at aws.amazon.com/startups/credits. Approval takes 7-10 days. Credits apply directly to your EC2 bill — your biggest current cost.', steps:['Go to aws.amazon.com/startups/credits','Create AWS Builder ID with richard@treloarai.ai','Select Founders package (self-funded)','Describe TreloarAI: 291 AI apps, GLI identity platform, smart city deployment','Submit — approval 7-10 days'] }, { name:'Microsoft Founders Hub', amount:'Up to $150,000', status:'APPLY NOW', cls:'ba', url:'https://foundershub.startups.microsoft.com/', how:'Azure credits plus GitHub Copilot, Microsoft 365, and LinkedIn Premium. No VC backing required — any early-stage founder can apply. TreloarAI qualifies easily: you have a working product, active deployment in East St. Louis, and 892 patents. The AI focus of your platform (Pia, GLI, Patent Engine) puts you in the priority category. Credits can offset Azure compute if you want to diversify from AWS or use Azure AI services.', steps:['Go to foundershub.startups.microsoft.com','Sign in with Microsoft account','Complete startup profile — describe GLI and Pia','Submit — fast approval, often same day'] }, { name:'Google for Startups Cloud', amount:'$20,000 – $200,000', status:'APPLY NOW', cls:'ba', url:'https://cloud.google.com/startup', how:'GCP credits for AI and ML workloads. Earlier stage startups get $20K, Series A+ get up to $200K. TreloarAI is a strong fit because of the AI-heavy platform — Pia voice intelligence, patent engine with 25 agents, and GLI identity all qualify as AI/ML workloads. Credits could be used for Google Maps API (Smart City), Google Speech-to-Text (Pia), and BigQuery for analytics.', steps:['Go to cloud.google.com/startup','Apply as AI startup','Describe Pia voice AI and GLI identity system','Mention East St. Louis Smart City deployment','Submit for review'] }, { name:'NVIDIA Inception Program', amount:'GPU Credits + Software + Support', status:'APPLY NOW', cls:'ba', url:'https://www.nvidia.com/en-us/startups/', how:'Free program for AI startups — no funding required, instant approval. NVIDIA gives you GPU cloud credits, software licenses (CUDA, TensorRT), technical support and co-marketing. For TreloarAI the value is in GPU credits for running the Patent Engine 25-agent pipeline faster, and for Voice Stress Analyser AI processing. Also gives co-marketing credibility — "NVIDIA Inception member" is a strong signal to enterprise clients.', steps:['Go to nvidia.com/en-us/startups','Click Join Inception','Complete AI startup profile','Instant or same-day approval','Access GPU credits and software licenses'] }, { name:'Anthropic API Credits', amount:'Startup Credits', status:'APPLY NOW', cls:'ba', url:'https://www.anthropic.com/startups', how:'TreloarAI is one of the heaviest Claude API users possible — Patent Engine runs 25 Claude agents per patent, Pia uses Claude for call intelligence, Autonomous Builder uses Claude for code generation, and Code Healer uses Claude for repairs. Your API costs are significant and growing. Startup credits from Anthropic directly reduce your biggest operational cost. Apply now and mention the Patent Engine, Pia, and 291-app ecosystem.', steps:['Go to anthropic.com/startups','Apply describing Patent Engine (25 agents per run)','Mention Pia voice AI and 291-app ecosystem','Request startup credit allocation'] }, { name:'HubSpot for Startups', amount:'90% off Year 1', status:'APPLY NOW', cls:'ba', url:'https://www.hubspot.com/startups', how:'Full CRM, marketing automation, sales pipeline and customer support tools at 90% discount in Year 1, 50% in Year 2. TreloarAI needs this for managing the municipality outreach pipeline (10 cities), insurance carrier proposals (10 carriers), and AT&T Indonesia follow-up. Instead of building a CRM from scratch, HubSpot gives you enterprise sales tooling immediately at minimal cost.', steps:['Go to hubspot.com/startups','Apply as pre-Series A startup','Describe sales pipeline: cities, insurance carriers, AT&T','Get approved for 90% discount'] }, { name:'Stripe Startup Perks', amount:'$50,000+ in perks', status:'APPLY NOW', cls:'ba', url:'https://stripe.com/partners/startup-perks', how:'Fee waivers, billing credits and partner perks for startups. TreloarAI plans to wire Stripe across all 291 apps as the billing engine. Getting startup perks before you wire Stripe means you process your first months of revenue at reduced or zero fees. Also unlocks Stripe Radar (fraud protection) and Stripe Connect (marketplace payments for Morphing Mall) at startup rates.', steps:['Go to stripe.com/partners/startup-perks','Apply as early-stage startup — Delaware corp','Describe 291-app platform with Stripe billing planned','Get fee waivers before launch'] } ], govt: [ { name:'Arch Grants 2026 Competition', amount:'$50,000 equity-free', status:'APPLY NOW — LIVE', cls:'br', url:'https://archgrants.org/', how:'This is the single best grant available to TreloarAI right now. $50,000 with zero equity, zero repayment, and you keep 100% of your company. Arch Grants backs entrepreneurs who locate their businesses in St. Louis — you are already here. The 2026 competition is live now. Your story is compelling: 291 AI apps, 892 patents, active Smart City deployment in East St. Louis, and GLI identity system. Apply immediately. This could be approved within weeks.', steps:['Go to archgrants.org NOW','Start 2026 competition application','Describe GLI identity system as flagship innovation','Mention East St. Louis deployment as community impact','Submit before competition closes'] }, { name:'STL Partnership — Darrell Scott', amount:'SBA 504 + below-market loans', status:'CALL MONDAY', cls:'bg', url:'https://stlpartnership.com/business-finance/', how:'Darrell Scott at STL Partnership navigates SBA 504 loans, NMTC financing and specialty loans for St. Louis businesses. For TreloarAI the play is: (1) SBA 504 for infrastructure funding, (2) NMTC structuring for East St. Louis Smart City — ask him if patent development costs tied to the GLI deployment can be included. No equity involved — these are loans at below-market rates, paid back from city contract revenue.', steps:['Call Darrell Scott: 314.615.8137','Email: DScott@stlpartnership.com','Ask about SBA 504 for TreloarAI infrastructure','Ask about NMTC structuring for East St. Louis Smart City','Ask: can GLI patent development costs be included in NMTC project?'] }, { name:'NMTC — East St. Louis', amount:'Below-market financing', status:'STRONG FIT', cls:'bg', url:'https://www.developstlouis.org/new-markets-tax-credits', how:'New Markets Tax Credits are not a direct grant — they are a financing tool. Investors get 39% federal tax credit for investing in low-income community projects. East St. Louis is a federally designated low-income community. This means investors who back your Smart City deployment there get a tax benefit — making your project far more attractive to finance. You get a loan at 1-3% interest instead of 8%+. You do NOT give up equity. SLDC and Heartland Regional Investment Fund both have NMTC allocations covering East St. Louis.', steps:['Contact SLDC: developstlouis.org','Contact HRIF via STL Partnership','Position East St. Louis Smart City as NMTC-eligible project','Work with Darrell Scott to structure the financing','Receive below-market loan — repay from city contract revenue'] }, { name:'Missouri Works Program', amount:'Tax credits + withholdings', status:'ELIGIBLE', cls:'ba', url:'https://ded.mo.gov/programs/business/missouri-works', how:'Missouri top incentive for job creation. When TreloarAI starts hiring in Missouri you get tax credits and withholding benefits per employee. This is free money that activates automatically when you hire. Register with Missouri Dept of Economic Development before you hire your first employee so the credits are captured from day one. Administered by SLDC — Darrell Scott can connect you.', steps:['Register at ded.mo.gov before hiring','Describe planned job creation in Missouri','Credits activate when first employee hired','Claim via annual Missouri tax return'] }, { name:'EDA Tech Hub Program', amount:'Up to $500,000', status:'ELIGIBLE', cls:'ba', url:'https://www.eda.gov/funding/programs/tech-hubs', how:'St. Louis is a designated EDA Tech Hub region. The program funds innovation and job creation in tech hub areas. TreloarAIs AI platform, GLI identity system, and Smart City deployment are exactly the type of technology the EDA wants to fund. $500K with no equity requirement. The East St. Louis deployment gives you a strong community impact story which is a key evaluation criterion.', steps:['Review current EDA Tech Hub solicitations at eda.gov','Position application around GLI identity + Smart City','Emphasise East St. Louis community impact','Partner with St. Louis University or WashU for credibility boost'] }, { name:'Illinois Innovation Voucher', amount:'Up to $50,000', status:'ELIGIBLE', cls:'ba', url:'https://dceo.illinois.gov/', how:'Illinois DCEO funds technology commercialization for businesses operating in Illinois. Your East St. Louis Smart City deployment is in Illinois. The GLI identity system being commercialised through the Smart City contract qualifies as technology commercialisation. This $50K could directly fund the East St. Louis deployment costs or GLI patent filing fees related to the Illinois operation.', steps:['Contact Illinois DCEO: dceo.illinois.gov','Apply under technology commercialization category','Describe East St. Louis Smart City as Illinois deployment','Mention GLI patent portfolio tied to Illinois operation'] }, { name:'Edward Byrne Memorial JAG — TreloarAI Guardian', amount:'$350,000 Phase 1A', status:'HIGH PRIORITY — APPLY NOW', cls:'br', url:'https://bja.ojp.gov/program/jag/overview', how:'Program: Edward Byrne Memorial Justice Assistance Grant (JAG), administered by the Bureau of Justice Assistance (BJA) through the Illinois Criminal Justice Information Authority (ICJIA).

Amount Requested: $350,000 (Phase 1A)

Project: Deploy TreloarAI Guardian — an AI-powered public safety surveillance network in East St. Louis, IL. The system includes 22 LPR (license plate recognition) cameras and 8 AI video cameras across 5 strategic zones: Downtown Core, North District, South Corridor, City Hall Hub, and Highway Corridors.

Technology Provider (Sole Source): TreloarAI Inc., East St. Louis, Illinois. TreloarAI holds 1,336 patents covering the GLI (Global Linked Identity) system — the only technology capable of cross-jurisdictional identity linking for law enforcement evidence coordination. No other vendor offers equivalent capability. GLI enables real-time evidence sharing across police departments, prosecutors, and federal agencies through a single cryptographic identity chain.

Sole-Source Justification: TreloarAI is the only company with a patented universal identity-linking platform (GLI) that can connect surveillance evidence across jurisdictions in real time. Flock Safety, Motorola, and Axon do not offer cross-jurisdictional identity linking. TreloarAI also has an active 6-node CBRS network deployment in East St. Louis and owns a 3-acre data center site at 301 S 15th Street with AT&T fiber confirmed at the roadside — demonstrating permanent local infrastructure commitment.

Budget Breakdown:
• LPR Cameras (22 x $2,800): $61,600
• AI Video Cameras (8 x $2,400): $19,200
• Installation & Commissioning: $35,000
• TreloarAI Platform License: $20,000
• GLI Evidence Platform (30 cameras x $300): $9,000
• Training for ESL PD (2 sessions): $15,000
• Ongoing Maintenance (Year 1): $12,000
• Project Management: $10,000
• Contingency (10%): $18,200
Total: $200,000 (well under $350K ceiling — remaining funds for Year 2 maintenance and expansion)

Eligible Purpose Areas (JAG): Law enforcement programs, prosecution/court programs, prevention/education programs, crime victim/witness programs, technology improvement.

Key Differentiators vs Flock Safety:
• TreloarAI: One-time $200K investment, city owns all hardware, GLI cross-jurisdiction linking, AI incident detection, grant-eligible
• Flock Safety: $417/camera/month subscription ($601,056 over 4 years), Flock retains hardware, no cross-jurisdiction capability, not grant-eligible as ongoing subscription
City saves $401,056 over 4 years by choosing TreloarAI

Community Impact: East St. Louis (pop. 18,489) has one of the highest violent crime rates in Illinois. The TreloarAI Guardian deployment will cover all major corridors, provide real-time LPR alerts to officers, enable AI-powered incident detection, and create a replicable model for 19,000+ US municipalities through the SmartCity National Platform.', steps:[ 'Contact Illinois Criminal Justice Information Authority (ICJIA) for current JAG solicitation window', 'Register TreloarAI Inc. on SAM.gov (System for Award Management) — free, takes 2-3 business days', 'Obtain DUNS/UEI number for TreloarAI Inc. if not already registered', 'Prepare project narrative: TreloarAI Guardian deployment for East St. Louis public safety', 'Prepare budget justification using the breakdown above ($200K total, $350K ceiling)', 'Draft sole-source justification letter citing 1,336 GLI patents and unique cross-jurisdictional capability', 'Obtain letter of support from East St. Louis city government or police chief', 'Obtain letter of support from St. Clair County officials if applicable', 'Submit application through ICJIA online portal (Illinois state-administered JAG)', 'Follow up with ICJIA program officer within 5 business days of submission', 'Timeline: Application to award typically 90 days through ICJIA' ] }, { name:'COPS Technology & Equipment Grant', amount:'$200,000 – $500,000', status:'STRONG FIT', cls:'bg', url:'https://cops.usdoj.gov/grants', how:'Program: Department of Justice Community Oriented Policing Services (COPS) Technology and Equipment Program.

Purpose: Fund technology that enhances community policing, improves law enforcement capacity, and strengthens public safety infrastructure.

TreloarAI Fit: The SmartCity platform directly supports community-oriented policing through real-time camera surveillance with AI incident detection, automated reporting to city councils, and community transparency dashboards. The GLI identity system enables cross-agency evidence sharing which is a core COPS priority. East St. Louis deployment serves as proof of concept for a community with high need and limited resources.

Estimated Amount: $300,000-$500,000 depending on deployment scope. Can be combined with Byrne JAG for expanded coverage.

Technology Provider: TreloarAI Inc. (sole-source, same justification as Byrne JAG — patented GLI technology with no equivalent vendor).', steps:[ 'Review current COPS solicitation at cops.usdoj.gov/grants', 'Ensure SAM.gov registration is active (same as Byrne JAG)', 'Draft application emphasizing community policing and transparency features', 'Include city council automated reporting and community dashboard modules', 'Highlight East St. Louis deployment as community impact proof', 'Submit through COPS online portal', 'Timeline: Application to award typically 120 days' ] } ], sbir: [ { name:'NSF SBIR Phase I', amount:'$275,000', status:'HIGHEST PRIORITY', cls:'br', url:'https://seedfund.nsf.gov/', how:'This is the most important federal grant for TreloarAI. NSF SBIR Phase I gives $275,000 for innovative technology with commercial potential — no equity, no repayment if you meet milestones. The GLI Universal Identity System is a perfect fit: it is genuinely novel (892 patents), solves a massive market problem ($56B in identity fraud annually), and has direct commercial deployment in East St. Louis. Phase II follows with up to $1M. This is the grant to write first.', steps:['Go to seedfund.nsf.gov','Find current solicitation for AI / identity technology','Write proposal centred on GLI novel cryptographic identity','Describe commercial traction: East St. Louis, AT&T proposal, insurance carriers','Submit — NSF reviewers look for novelty and commercial potential'] }, { name:'NSF SBIR Phase II', amount:'$1,000,000', status:'AFTER PHASE I', cls:'bp', url:'https://seedfund.nsf.gov/', how:'After winning Phase I ($275K) you are eligible for Phase II ($1M). Phase II funds full commercialisation of the technology proven in Phase I. For TreloarAI this means after proving GLI works in East St. Louis (Phase I), you get $1M to deploy it to 10+ cities and begin licensing. No equity. Total NSF SBIR potential: $1.275M for GLI alone.', steps:['Win Phase I first','Document East St. Louis results as Phase I evidence','Apply for Phase II within NSF window','Use $1M to scale Smart City to 10 cities'] }, { name:'DHS SBIR', amount:'Up to $1,000,000', status:'STRONG FIT', cls:'ba', url:'https://www.dhs.gov/science-and-technology/sbir', how:'Department of Homeland Security SBIR funds surveillance, identity verification, and border security technology. TreloarAI hits all three: GLI identity verification, Smart City surveillance cameras, and AI threat detection. DHS actively looks for commercial technology companies that can solve national security problems. Your East St. Louis deployment is proof of operational capability.', steps:['Review DHS SBIR solicitations at dhs.gov','Apply under identity verification or surveillance topic areas','Lead with GLI biometric-bound identity and Smart City surveillance','Mention 892 patents as IP protection','Submit Phase I proposal'] }, { name:'DoD SBIR', amount:'Up to $1,500,000', status:'STRONG FIT', cls:'ba', url:'https://www.defense.gov/sbir', how:'Department of Defense SBIR funds dual-use technology — commercial tech with military applications. GLI identity, AI voice intelligence, and surveillance all have clear DoD applications. Phase I is $250K, Phase II is $1.5M. DoD SBIR is competitive but TreloarAIs patent portfolio gives you defensible IP which is a major plus for DoD reviewers.', steps:['Go to dodsbirsttr.mil','Find relevant topic areas: AI identity, surveillance, communications','Submit Phase I proposal for GLI or Smart City','If awarded, use East St. Louis as Phase II proof point'] }, { name:'NIH SBIR', amount:'Up to $1,000,000', status:'ELIGIBLE', cls:'ba', url:'https://seed.nih.gov/', how:'National Institutes of Health SBIR funds healthcare technology innovation. GLI Healthcare is your entry point here — privacy-first patient identity verification solves a real NIH priority problem. Healthcare data breaches cost $500M+ annually. GLIs zero-knowledge verification means hospitals can verify patient identity without storing biometric data. Phase I $275K, Phase II $1M.', steps:['Go to seed.nih.gov','Apply under health informatics or patient identity topic','Lead with GLI Healthcare and HIPAA compliance angle','Describe zero-knowledge verification eliminating breach liability'] }, { name:'USDA SBIR', amount:'Up to $450,000', status:'ELIGIBLE', cls:'ba', url:'https://nifa.usda.gov/grants/programs/sbir', how:'USDA SBIR funds agricultural technology innovation. TreloarAI has a full agriculture vertical: Cattle Station, Feedlot Manager, Livestock Health, Mob Tracker, Rainfall Tracker, Soil Testing, and more. The AI-powered farm management platform with GLI identity for livestock tracking is a genuine USDA fit. Phase I $175K, Phase II $450K.', steps:['Go to nifa.usda.gov/grants/programs/sbir','Apply under precision agriculture or livestock management','Describe AI-powered farm management suite','Mention GLI identity for livestock tracking and biosecurity'] } ], defense: [ { name:'DARPA DSO BAA — National Security AI', amount:'Up to $5,000,000', status:'APPLY NOW — June 2 2026', cls:'br', url:'https://www.darpa.mil/work-with-us/opportunities', how:'DARPA Defense Sciences Office funds revolutionary advances for national security. TreloarAI Patent 889 — GLI-Anchored AI Targeting Attribution Chain — provides cryptographically verifiable human authority in AI weapons systems. 892 patents, live East St. Louis deployment. DSO BAA HR001125S0013 deadline June 2 2026.', steps:['Go to darpa.mil/work-with-us/opportunities','Find HR001125S0013 Office-wide BAA DSO','Submit executive summary on GLI AI Targeting Attribution Chain','Lead with Patent 889 — cryptographic human authority in lethal AI','Mention 892 patents and live municipal deployment','Submit before June 2 2026'] }, { name:'DARPA QBI 2026 — Quantum Benchmarking', amount:'Multi-million dollar program', status:'OPEN — Oct 31 2031', cls:'ba', url:'https://www.darpa.mil/work-with-us/opportunities', how:'DARPA Quantum Benchmarking Initiative. TreloarAI GLI is built on CRYSTALS-Kyber ML-KEM-768 and CRYSTALS-Dilithium ML-DSA-65 — the exact NIST post-quantum standards DARPA needs benchmarked. 892 patents make TreloarAI a real-world quantum-resistant testbed. Program DARPA-PA-26-02.', steps:['Go to darpa.mil/work-with-us/opportunities','Find DARPA-PA-26-02 QBI 2026','Position GLI as quantum benchmarking testbed','Highlight CRYSTALS-Kyber and CRYSTALS-Dilithium implementation at scale','Reference 892 patents as IP foundation'] }, { name:'DARPA Lift Challenge — Drone Swarm', amount:'Prize plus contract potential', status:'URGENT — May 1 2026', cls:'br', url:'https://www.darpa.mil/work-with-us/opportunities', how:'DARPA seeks drone designs carrying 4x payload weight. TreloarAI swarm and autonomous patents cover multi-domain swarm coordination with GLI identity binding — cryptographically identified drones with human authority verification. DARPA-SN-25-109. Deadline May 1 2026 — 25 days.', steps:['Go to darpa.mil/work-with-us/opportunities','Find DARPA-SN-25-109 DARPA Lift Challenge','Combine drone payload with GLI swarm identity patents','Reference swarm autonomous systems patent family','URGENT — 25 days to deadline'] }, { name:'NGA SBIR', amount:'Up to $1,000,000', status:'STRONG FIT', cls:'ba', url:'https://www.nga.mil/Partners/SBIR.html', how:'National Geospatial-Intelligence Agency funds geospatial, surveillance and identity technology. TreloarAIs Smart City camera network generates geospatial intelligence. GLI identity ties location data to verified identities. This is exactly what NGA funds. The East St. Louis deployment gives you a working proof of concept for a real city. NGA SBIR is less competitive than NSF or DoD because fewer commercial companies apply.', steps:['Go to nga.mil/Partners/SBIR','Review current solicitation topics','Apply under geospatial intelligence or identity verification','Lead with Smart City surveillance + GLI identity combination','Mention East St. Louis as operational proof point'] }, { name:'DARPA SBIR', amount:'Up to $2,000,000', status:'HIGH POTENTIAL', cls:'ba', url:'https://www.darpa.mil/work-with-us/small-business', how:'DARPA funds breakthrough technology. The GLI Universal Identity System with quantum-resistant cryptography and zero-knowledge verification is genuinely breakthrough — not incremental. DARPA reviewers look for 10x improvements over existing solutions. GLI eliminates the entire concept of a centralized identity database — that is a paradigm shift. Phase I $250K, Phase II $2M. This takes longer to win but the payoff is massive.', steps:['Go to darpa.mil/work-with-us/small-business','Find Broad Agency Announcement matching GLI','Write proposal around quantum-resistant identity paradigm shift','Emphasise 892 patents as IP moat','Budget 3-6 months for DARPA review process'] }, { name:'DHS Silicon Valley Innovation Program', amount:'Up to $800,000', status:'STRONG FIT', cls:'ba', url:'https://www.dhs.gov/science-and-technology/svip', how:'DHS SVIP is specifically designed for commercial tech companies solving homeland security problems. Unlike traditional SBIR it is faster and more startup-friendly. GLI identity verification for border security, Smart City surveillance for public safety, and AI voice analysis for threat detection all directly match DHS priorities. $800K with no equity. This should be in the top 3 applications you submit.', steps:['Go to dhs.gov/science-and-technology/svip','Review current SVIP solicitation topics','Apply under identity verification or smart city safety','Lead with GLI biometric identity + East St. Louis surveillance','Fast-track commercial process — DHS moves quicker than NSF'] }, { name:'AFWERX — Air Force', amount:'Up to $1,500,000', status:'ELIGIBLE', cls:'ba', url:'https://afwerx.com/', how:'AFWERX is the Air Force innovation arm — faster and more startup-friendly than traditional DoD SBIR. They fund AI, communications, and identity technology. TreloarAIs Pia voice intelligence and GLI identity have clear Air Force base applications: secure communications, personnel identity verification, and facility surveillance. Phase I starts at $50K with fast approval, scaling to $1.5M.', steps:['Go to afwerx.com','Review AFWERX Open Topics','Apply under AI communications or identity verification','Mention Pia voice AI and GLI identity for base security','Fast approval track — often 60 days vs 6 months for NSF'] }, { name:'Army SBIR', amount:'Up to $1,000,000', status:'ELIGIBLE', cls:'ba', url:'https://www.armysbir.army.mil/', how:'Army SBIR funds battlefield communications, surveillance and AI. GLI identity for soldier identification, Smart City surveillance for forward operating base perimeter security, and Pia voice intelligence for command and control all have Army applications. The dual-use commercial/military nature of TreloarAI technology is exactly what Army SBIR looks for.', steps:['Go to armysbir.army.mil','Review current Army SBIR topics','Apply under communications, surveillance or AI identity','Lead with dual-use commercial and military applications','Use East St. Louis as civilian proof of concept'] }, { name:'Islamic Development Bank — IsDB Grant', amount:'$5,000,000 – $20,000,000', status:'HIGH PRIORITY', cls:'br', url:'https://www.isdb.org/', how:'IsDB (Jeddah) funds financial inclusion and technology across 57 member states. Patent #80 — Zero-Knowledge Proof Inheritance Verification — automates Islamic faraid inheritance execution without revealing sensitive family financial data. This is a civilisational-scale opportunity: Islamic banks in Indonesia, Malaysia, UAE and Saudi Arabia need automated, sharia-compliant faraid tooling. Target Indonesia Ministry of Religious Affairs Pengadilan Agama as the initial pilot corridor. $25M Year 3 revenue achievable.', steps:['Contact IsDB Jeddah partnerships','Lead with Patent #80 ZK inheritance verification','Position as financial inclusion + sharia compliance','Propose Indonesia MoRA pilot via AKHH (Andy Sriro)','Request $5M Phase 1 + $15M Phase 2 expansion'] }, { name:'Illinois BEAD Broadband Programme', amount:'$1,000,000,000 state allocation', status:'APPLY NOW', cls:'ba', url:'https://dceo.illinois.gov/broadband.html', how:'Illinois received over $1B from the federal Broadband Equity Access and Deployment (BEAD) programme for broadband infrastructure in underserved communities. East St. Louis is a priority unserved community. TreloarAI owns a 3-acre commercial parcel with confirmed AT&T fiber at the roadside and has 6 Baicells Nova-436Q CBRS radios already procured. Patents #66 and #896 (GLI Universal Identifier) underpin the identity layer for rural subscriber authentication. Grant funds can build out the ESL vRAN hub and connect surrounding municipalities.', steps:['Register with DCEO Office of Broadband','Submit BEAD Challenge Process response','Document East St. Louis as priority unserved area','Lead with 6 CBRS radios + AT&T fiber + GLI identity','Partner with DCEO on rural subscriber authentication pilot'] } ] , africa: [ { name:'USAID Digital Connectivity Partnership', amount:'Up to $10,000,000', status:'STRONG FIT', cls:'br', url:'https://www.usaid.gov/digital-development', how:'USAID funds digital infrastructure and identity systems in Africa. TreloarAI Guinea deployment with 10-node CBRS network and GLI identity system is American sovereign digital infrastructure — the direct alternative to Chinese Huawei dominance. USAID Digital Connectivity and Cybersecurity Partnership funds exactly this.', steps:['Go to usaid.gov/digital-development','Find Digital Connectivity Partnership opportunities','Frame TreloarAI as American sovereign infrastructure vs Chinese surveillance','Lead with Guinea deployment and GLI identity system','Contact USAID Bureau for Africa directly'] }, { name:'Prosper Africa Initiative', amount:'Up to $50,000,000', status:'HIGH PRIORITY', cls:'br', url:'https://prosperafrica.gov/', how:'Prosper Africa is the US whole-of-government initiative to grow trade and investment between US and Africa. TreloarAI Guinea deployment — 10 CBRS nodes, GLI identity, remittance platform — is exactly what Prosper Africa champions. DFC, USTDA, and EXIM Bank all participate. Your 15% revenue share keeps money in Guinea while building American technology infrastructure.', steps:['Go to prosperafrica.gov','Contact Prosper Africa Deal Team','Present Guinea as flagship Prosper Africa success story','Request DFC introductions for infrastructure financing','Frame as American tech vs Chinese Huawei in Africa'] }, { name:'US DFC — Development Finance Corporation', amount:'Up to $1,000,000,000', status:'STRATEGIC', cls:'ba', url:'https://www.dfc.gov/', how:'DFC provides loans and equity for US companies investing in developing countries. TreloarAI Guinea CBRS network is exactly what DFC finances. DFC can fund the full Guinea rollout and Colombia expansion at below-market rates. Not a grant — below-market financing for US companies building in developing markets.', steps:['Go to dfc.gov','Submit project inquiry for Guinea CBRS network','Describe 10-node network GLI identity and remittance platform','Request debt financing for hardware and deployment','Mention 15% revenue share and local partnership'] }, { name:'USTDA Feasibility Study Grant', amount:'Up to $1,000,000', status:'APPLY NOW', cls:'br', url:'https://www.ustda.gov/', how:'US Trade and Development Agency funds feasibility studies for US companies expanding into developing markets. A USTDA grant for TreloarAI West Africa expansion — Guinea plus Senegal, Sierra Leone, Liberia — would fund the technical assessment needed before DFC financing. Typically $500K-$1M and positions companies for DFC.', steps:['Go to ustda.gov','Submit Activity Proposal for West Africa digital infrastructure feasibility','Cover Guinea plus 4 adjacent countries','Frame as American digital sovereignty vs Chinese infrastructure','USTDA approval positions for DFC financing'] }, { name:'USDA International Rural Development', amount:'Up to $500,000', status:'ELIGIBLE', cls:'ba', url:'https://www.rd.usda.gov/', how:'USDA Rural Development international programs fund agricultural technology and rural connectivity in developing nations. TreloarAI UFI Universal Food Identifier patent family directly serves USDA mission. GLI identity supports agricultural subsidy verification and food security monitoring across rural Guinea network.', steps:['Go to rd.usda.gov','Find international rural development programs','Lead with UFI Universal Food Identifier patent family','Connect GLI identity to agricultural subsidy fraud prevention','Apply under food security and rural connectivity topics'] }, { name:'African Development Bank Technology Fund', amount:'Up to $5,000,000', status:'ELIGIBLE', cls:'ba', url:'https://www.afdb.org/', how:'African Development Bank funds technology infrastructure across 54 African member countries. TreloarAI Guinea deployment is exactly what AfDB co-finances alongside US government partners. AfDB can provide co-financing alongside DFC turning a $1M DFC loan into a $5M+ blended facility.', steps:['Go to afdb.org','Contact AfDB Private Sector Department','Present Guinea as proof of concept','Request co-financing alongside DFC application','Frame as financial inclusion through GLI identity and remittance'] } ] }; function renderGrantCards(category){ var grants = GRANTS_DATA[category] || []; var container = document.getElementById('gc-'+category+'-list'); if(!container) return; container.innerHTML = grants.map(function(g,i){ var gid = 'gc-'+category+'-'+i; return '
' + '
' + '
' + ''+g.status+'' + '
'+g.name+'
' + '
'+g.amount+'
' + '
' + 'Apply ↗' + '' + '
' + '
'; }).join(''); // Attach click handlers after render container.querySelectorAll('.grant-hdr').forEach(function(el){ el.addEventListener('click', function(){ toggleGrant(this.getAttribute('data-gid')); }); }); } function toggleGrant(id){ var el=document.getElementById(id); var arrow=document.getElementById(id+'-arrow'); if(!el)return; var open=el.style.display==='block'; el.style.display=open?'none':'block'; if(arrow)arrow.innerHTML=open?'▼':'▲'; } function initGrantCards(){ ['cloud','govt','sbir','defense','africa'].forEach(function(cat){ var container=document.getElementById('gc-'+cat+'-list'); if(container) renderGrantCards(cat); }); } var ONBOARD_APPS = { telco: ['Pia Phone','GLI Registry','Call Center','DID Pool Manager','Notification Hub','Mailflow','Telecoms Manager'], healthcare: ['GLI Healthcare','Dental Practice','Pharmacy Manager','Physio Clinic','Blood Bank','Nutrition Tracker'], legal: ['Legal Engine','Evidence Service','Compliance Tracker','Document Vault','Contract Manager'], realestate: ['Real Estate Dev','Property Manager','Strata Manager','Tenant Manager','Commercial Leasing'], automotive: ['VehicleGenome','Insurance Estimator','DealerIQ','Auction Scout','Fleet Manager'], freight: ['Treloar Freight','Fleet Manager','Driver Manager','Freight Loads','GPS Tracker','Cold Chain'], hospitality: ['Hotel Manager','Spa Manager','Restaurant','Conference Centre','Flight Booking'], government: ['Smart City','Camera Manager','GLI Registry','Compliance Tracker','Permit Tracker'], insurance: ['Insurance Estimator','Insurance Broker','VehicleGenome','GLI Identity Verification'], agriculture: ['Cattle Station','Feedlot Manager','Livestock Health','Mob Tracker','Rainfall Tracker'], education: ['LMS Platform','StudyPilot','Tutoring Portal','School Admin','CaptureIQ'], retail: ['Morphing Mall','SmartLedger','Inventory Manager','POS System','Loyalty Program'] }; var ONBOARD_LABELS = { telco:'Telecommunications Company', healthcare:'Healthcare Organisation', legal:'Law Firm', realestate:'Real Estate Agency', automotive:'Automotive Business', freight:'Freight & Logistics Company', hospitality:'Hospitality Business', government:'Government / Municipality', insurance:'Insurance Company', agriculture:'Agricultural Business', education:'Education Institution', retail:'Retail Business' }; function showOnboard(vertical){ var apps = ONBOARD_APPS[vertical] || []; var label = ONBOARD_LABELS[vertical] || vertical; var container = document.getElementById('onboard-form-container'); var html = '
' + '
' + '
🚪 ' + label + ' Onboarding
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
' + '
Apps to be provisioned:
' + '
' + apps.map(function(a){ return '✅ '+a+''; }).join('') + '
' + '
' + '' + '' + '' + '
'; container.innerHTML = html; container.scrollIntoView({behavior:'smooth'}); // Attach handlers document.getElementById('ob-close-btn').addEventListener('click', function(){container.innerHTML='';}); document.getElementById('ob-submit-btn').addEventListener('click', function(){submitOnboard(vertical);}); document.getElementById('ob-email-send-btn').addEventListener('click', function(){sendOnboardEmail(vertical);}); } // submitOnboard moved to main script block with real API call function sendOnboardEmail(vertical){ var company = document.getElementById('ob-company').value.trim(); var email = document.getElementById('ob-email').value.trim(); var st = document.getElementById('ob-status'); if(!company||!email){st.textContent='Please fill company name and email first';st.style.color='var(--red)';return;} fetch('/api/send-demo',{method:'POST',headers:{'Content-Type':'application/json'}, body:JSON.stringify({to:email,subject:'TreloarAI '+vertical+' — Welcome',message:'Welcome to TreloarAI '+vertical+' platform. Your account for '+company+' is being provisioned.',senderName:'TreloarAI'})}) .then(function(r){return r.json();}) .then(function(d){ if(d.success){st.textContent='Welcome email sent to '+email;st.style.color='var(--green)';} else{st.textContent='Email error: '+(d.error||'Unknown');st.style.color='var(--red)';} }).catch(function(e){st.textContent='Error: '+e.message;st.style.color='var(--red)';}); } function scrollTop(){window.scrollTo(0,0);document.querySelector(".main").scrollTop=0;} function exitToOverview(){ scrollTop(); document.querySelectorAll("#pg-grants .sp").forEach(function(p){ p.classList.remove("on"); p.style.display="none"; }); document.querySelectorAll("#pg-grants .sb").forEach(function(b){b.classList.remove("on");}); var cloud=document.getElementById("grants-cloud"); if(cloud){cloud.classList.add("on");cloud.style.display="block";} var firstsb=document.querySelector("#pg-grants .sb"); if(firstsb)firstsb.classList.add("on"); sp("overview",gni("overview")); } function exitToOverview_UNUSED(){ scrollTop(); document.querySelectorAll(".pg").forEach(function(p){p.classList.remove("on");}); document.querySelectorAll(".ni").forEach(function(n){n.classList.remove("on");}); document.getElementById("pg-overview").classList.add("on"); var ov=document.querySelector(".ni");if(ov)ov.classList.add("on"); } function exitStrategy(){ scrollTop(); var pg = document.getElementById("pg-grants"); if(!pg) return; pg.querySelectorAll(".sp").forEach(function(p){ p.classList.remove("on"); p.style.display=''; }); pg.querySelectorAll(".sb").forEach(function(b){b.classList.remove("on");}); var cloud = document.getElementById("grants-cloud"); if(cloud){ cloud.classList.add("on"); cloud.style.display='';} var sbs = pg.querySelectorAll(".sb"); if(sbs.length) sbs[0].classList.add("on"); } // Fix 11: Billing loader async function loadBilling(){ try{ var r=await fetch('/api/billing-stats',{signal:AbortSignal.timeout(3000)});var d=await r.json(); var f=function(v){return v>=1000?'$'+(v/1000).toFixed(1)+'K':'$'+(v||0).toFixed(2);}; var e; var rt=d.revenue_today||0; var rw=d.revenue_week||0; var rm=d.revenue_month||0; var rps_b=rt/86400; e=document.getElementById('b-s');if(e)e.textContent='$'+rps_b.toFixed(4); e=document.getElementById('b-h');if(e)e.textContent=f(rps_b*3600); e=document.getElementById('b-d');if(e)e.textContent=f(rt); e=document.getElementById('b-w');if(e)e.textContent=f(rw); e=document.getElementById('b-m');if(e)e.textContent=f(rm); e=document.getElementById('b-mrr');if(e)e.textContent=f(rm); e=document.getElementById('b-arr');if(e)e.textContent=f(rm*12); e=document.getElementById('b-subs');if(e)e.textContent=d.active_subscriptions||0; e=document.getElementById('b-today');if(e)e.textContent=f(rt); }catch(ex){} } // Fix 12: Patent search handler function filterPatents(query){ if(!query){loadPatents();return;} var q=query.toLowerCase(); var rows=document.querySelectorAll('#pat-d table tbody tr'); rows.forEach(function(r){r.style.display=r.textContent.toLowerCase().indexOf(q)>=0?'':'none';}); } // Fix 13: Patent valuation loader async function loadPatentValuation(){ try{ var r=await fetch('/api/patent-stats',{signal:AbortSignal.timeout(3000)});var d=await r.json(); var el=document.getElementById('patents-val');if(!el)return; var kpis=el.querySelectorAll('.kv'); if(kpis[0])kpis[0].textContent=d.total||0; if(kpis[1])kpis[1].textContent=d.avg_novelty||'--'; if(kpis[2])kpis[2].textContent=d.complete||0; if(kpis[3])kpis[3].textContent=d.avg_quality||'--'; }catch(e){} } // Fix 14: Personal notes save/load async function loadPersonalNotes(){ try{ var r=await fetch('/api/personal-notes');var d=await r.json(); var ta=document.querySelector('#p-content textarea'); if(ta&&d.notes)ta.value=d.notes; }catch(e){} } async function savePersonalNotes(){ var ta=document.querySelector('#p-content textarea'); if(!ta)return; var btn=document.querySelector('#p-content .btn'); try{ btn.textContent='Saving...'; await fetch('/api/personal-notes',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({notes:ta.value})}); btn.textContent='Saved!';btn.style.background='var(--green)'; setTimeout(function(){btn.textContent='Save';btn.style.background='';},2000); }catch(e){btn.textContent='Error';btn.style.background='var(--red)';} } // Fix 15: Intelligence recent builds async function loadRecentBuilds(){ try{ var r=await fetch('/api/builder-tasks',{signal:AbortSignal.timeout(3000)});var d=await r.json(); var el=document.getElementById('builds');if(!el)return; var tasks=d.tasks||d.recent||[]; if(!tasks.length){el.innerHTML='
No recent builds. Queue an app above.
';return;} el.innerHTML=''+ tasks.slice(0,10).map(function(t){ return ''+ ''+ ''+ ''; }).join('')+'
AppPortStatusCreated
'+(t.app_name||t.name||'--')+''+(t.port||'--')+''+(t.status||'pending').toUpperCase()+''+(t.created_at?new Date(t.created_at).toLocaleString():'--')+'
'; }catch(e){ var el=document.getElementById('builds');if(el)el.innerHTML='
Builder offline (port 3614)
'; } } // Fix 16+17: Marketing stats loader async function loadMarketingStats(){ try{ var r=await fetch('/api/marketing-stats',{signal:AbortSignal.timeout(3000)});var d=await r.json(); var ct=document.querySelector('#marketing-credit .kgrid'); if(ct){ var kpis=ct.querySelectorAll('.kv'); if(kpis[0])kpis[0].textContent='$'+(d.ad_spend||0); if(kpis[1])kpis[1].textContent='$'+(d.revenue||0); if(kpis[2])kpis[2].textContent=(d.roi||0)+'%'; } }catch(e){} } // Fix 18: Real onboard submit async function submitOnboard(vertical){ var company = document.getElementById('ob-company').value.trim(); var contact = document.getElementById('ob-contact').value.trim(); var email = document.getElementById('ob-email').value.trim(); var phone = document.getElementById('ob-phone').value.trim(); var notes = document.getElementById('ob-notes')?(document.getElementById('ob-notes').value.trim()):''; var st = document.getElementById('ob-status'); if(!company||!contact||!email){st.textContent='Please fill required fields';st.style.color='var(--red)';return;} st.textContent='Provisioning...';st.style.color='var(--amber)'; try{ var r=await fetch('/api/onboard',{method:'POST',headers:{'Content-Type':'application/json'}, body:JSON.stringify({vertical:vertical,business_name:company,contact_email:email,phone:phone,notes:notes})}); var d=await r.json(); if(d.success){ st.textContent='Account provisioned for '+company;st.style.color='var(--green)'; }else{ st.textContent='Error: '+(d.error||'Unknown');st.style.color='var(--red)'; } }catch(e){st.textContent='Error: '+e.message;st.style.color='var(--red)';} } loadOv(); setTimeout(runOvHealth,3000); setTimeout(initGrantCards,500); setTimeout(loadAllApps,1000); setInterval(function(){ var pg=document.querySelector('.pg.on'); if(pg&&pg.id==='pg-overview'){loadOv();runOvHealth();} },30000); // ============================================================ // ACTION BOARD // ============================================================ var AB_ITEMS=[ {id:1,cat:'revenue',title:'Termination Revenue — Telnyx Agreement',desc:'Contact Telnyx and negotiate termination revenue share agreement. At 10K subs = $219K/year. At 1M subs = $21.9M/year.',contact:'Telnyx Business — telnyx.com/contact',value:'$219K-$21.9M/year',status:'not_started',priority:'high',deadline:'Within 30 days'}, {id:2,cat:'revenue',title:'Remitly Partnership — FOLLOW UP',desc:'Partnership letter already sent. Follow up now. Corridors: US→NG, US→CO, US→MX, US→GH, US→PH. Volume: 500-1,000 senders within 6 months.',contact:'partnerships@remitly.com',value:'$50K-$500K/year',status:'awaiting',priority:'urgent',deadline:'Follow up this week'}, {id:3,cat:'revenue',title:'Location Marketing — Business Sales',desc:'Start signing up local businesses to TRE Discover. First target: East St. Louis and Metro St. Louis. Price: $99/month basic listing.',contact:'Local business outreach',value:'$1,188/year per business',status:'not_started',priority:'high',deadline:'Start this month'}, {id:4,cat:'revenue',title:'GLI Phone Launch — First Subscriber',desc:'Platform is ready. Take first paying subscriber TODAY. Price: $9.99/month. Payment flow built and working via Stripe.',contact:'N/A — launch immediately',value:'$9.99/month MRR start',status:'not_started',priority:'urgent',deadline:'TODAY'}, {id:5,cat:'revenue',title:'Rockford SmartCity — Call This Week',desc:'Alderwoman Gina Meeks, Ward 12. Demo ready. Half the council uncomfortable with Flock vote. Our proposal saves $476K.',contact:'Gina Meeks — 815-317-6572 — gina.meeks@rockfordil.gov',value:'$204,000 contract',status:'not_started',priority:'high',deadline:'This week'}, {id:6,cat:'revenue',title:'Evanston IL — URGENT — No Vendor',desc:'Evanston canceled Flock Safety. They have NO camera vendor right now. Open contract opportunity.',contact:'Mayor Daniel Biss — mayor@cityofevanston.org — 847-866-2900\\nCity Manager Luke Stowe — lstowe@cityofevanston.org',value:'$180,000 contract',status:'not_started',priority:'urgent',deadline:'Call within 3 days'}, {id:7,cat:'legal',title:'FinCEN MSB Registration',desc:'Required to operate remittance legally in the US. Free to register. 30-60 days processing.',contact:'fincen.gov/msb-registrant-search',value:'Required for remittance',status:'not_started',priority:'high',deadline:'Before first remittance'}, {id:8,cat:'legal',title:'State Money Transmitter Licences',desc:'Required in 49 states for remittance. Priority: Texas (largest Nigerian diaspora), New York, California, Georgia, Maryland.',contact:'State financial regulators',value:'Required for remittance',status:'not_started',priority:'medium',deadline:'After FinCEN MSB'}, {id:9,cat:'legal',title:'Digital Billboard Patents — File Provisionals',desc:'5 patents need provisional filing immediately: Edge sensor fusion, GLI identity attribution, Content optimization, Privacy analytics, Cross-channel attribution.',contact:'Patent attorney — Thursday meeting',value:'$50M+ licensing TAM',status:'not_started',priority:'urgent',deadline:'URGENT — before public disclosure'}, {id:10,cat:'legal',title:'SBIR Phase I DoD — SwarmLink-Pia',desc:'Application document built. Needs filing. Target: Department of Defense.',contact:'DoD SBIR portal',value:'$250,000 non-dilutive',status:'in_progress',priority:'high',deadline:'Check submission window'}, {id:11,cat:'legal',title:'SBIR Phase I DHS — GLI-BorderShield',desc:'Application document built. Needs filing. Target: Department of Homeland Security.',contact:'DHS SBIR portal',value:'$250,000 non-dilutive',status:'in_progress',priority:'high',deadline:'Check submission window'}, {id:12,cat:'partners',title:'AT&T — GLI Phone Platform Licensing (DUAL OPPORTUNITY)',desc:'DUAL OPPORTUNITY — AT&T is both a breach licensing target and a platform licensing target.\n\nPLATFORM LICENSING:\nAT&T embeds GLI identity in their 200 million subscriber base.\nRevenue: $1-3/subscriber/month = $200M-$600M/month potential.\nAnnual: $2.4B-$7.2B/year at full deployment.\nEven 1% adoption = $24M/month.\nRequires: 1,000 TreloarAI subscribers first to demonstrate platform.\n\nBREACH CONTEXT:\n2025 breach exposed 44 million customer records — names, SSN, account details, call records.\nGLI cryptographic identity layer prevents stolen credentials from being usable.\n\nCOMBINED LETTER STRATEGY:\nOpen with 44M record breach reference → Introduce GLI as structural fix → Pivot to \"Beyond breach prevention, AT&T is uniquely positioned to be the first major carrier to offer GLI-anchored subscriber identity to 200 million customers. This is not just a security upgrade. It is a new revenue stream.\" → Request meeting with both CISO and Chief Revenue Officer.',contact:'CEO: John Stankey\n208 S. Akard Street, Dallas TX 75202\nEmail: john.stankey@att.com\nIR: ir@att.com\nCISO: att.com/security\nCFO: Pascal Desroches\nEnterprise Sales: 1-888-740-4027\nMain: 210-821-4105',value:'$200M-$2.4B/year',status:'not_started',priority:'urgent',deadline:'Send combined letter THIS WEEK'}, {id:13,cat:'partners',title:'FedEx — Patent Licensing',desc:'Letter drafted and ready to send. CEO: Raj Subramaniam. 942 South Shady Grove Road, Memphis TN 38120.',contact:'FedEx Legal / CEO office',value:'$9M-$45M/year',status:'not_started',priority:'high',deadline:'Send letter'}, {id:14,cat:'partners',title:'Anthropic — Patent Licensing',desc:'Comprehensive proposal built: $15M Standard, $35M Enterprise, $75M Global Exclusive, $10M Cross-License. 16 specific patents cited.',contact:'Anthropic legal team',value:'$15M-$75M',status:'in_progress',priority:'high',deadline:'Send proposal'}, {id:15,cat:'partners',title:'Baicells Firmware — Winncom',desc:'Need firmware conversion for Nova-436Q radios for CBRS deployment.',contact:'Winncom — 1-888-946-6266',value:'Enables CBRS network',status:'not_started',priority:'medium',deadline:'Call this month'}, {id:16,cat:'grants',title:'Byrne JAG — East St. Louis Guardian',desc:'Target: $350,000 Phase 1A. ICJIA administering. TreloarAI sole-source. Full application built in Command Center.',contact:'Illinois Criminal Justice Information Authority',value:'$350,000',status:'in_progress',priority:'high',deadline:'Check ICJIA NOFO deadline'}, {id:17,cat:'grants',title:'Congressionally Directed Spending — ESL',desc:'Target: $1,500,000 for Phase 1 Guardian deployment. Partner: Mayor Charles Powell III.',contact:'Congressional liaison',value:'$1,500,000',status:'in_progress',priority:'high',deadline:'Congressional cycle'}, {id:18,cat:'regulatory',title:'CBRS Network — Baicells Activation',desc:'6 nodes Nova-436Q radios ready. Need SAS registration and frequency coordination.',contact:'SAS provider (Google/Federated Wireless)',value:'Enables ESL network',status:'not_started',priority:'high',deadline:'This month'}, {id:19,cat:'regulatory',title:'FCC CLEC Registration',desc:'Competitive Local Exchange Carrier registration. Enables direct termination revenue from carriers. Bypasses Telnyx revenue share.',contact:'FCC — fcc.gov/licensing-databases',value:'Increases margin 3-5x',status:'not_started',priority:'medium',deadline:'After 1,000+ subscribers'}, {id:20,cat:'regulatory',title:'Illinois EPA Case — 22-CH-81',desc:'Pro se defendant. Key: July 7 2025 Default Judgment against Gates. Check next hearing date.',contact:'St. Clair County Circuit Court',value:'Defense — liability mitigation',status:'in_progress',priority:'medium',deadline:'Check next hearing'}, {id:22,cat:'breach',title:'AT&T — DUAL: Breach + Platform ($2.5B+)',desc:'DUAL OPPORTUNITY — breach licensing + GLI Phone platform licensing.\nBreach: 2025 — 44 million customer records (names, SSN, account details, call records).\nBreach licensing: $100M+/year for GLI identity layer.\nPlatform licensing: $200M-$2.4B/year — GLI Phone in 200M subscriber base.\nCombined letter strategy: Open with breach → GLI fix → Pivot to platform → Meeting with CISO + CRO.\nTIER 1 — TOP PRIORITY.',contact:'CEO: John Stankey\n208 S. Akard Street, Dallas TX 75202\njohn.stankey@att.com\nCISO: att.com/security\nCFO: Pascal Desroches\nIR: ir@att.com\nEnterprise: 1-888-740-4027\nMain: 210-821-4105',value:'$2.5B+/year',status:'not_started',priority:'urgent',deadline:'SEND THIS WEEK'}, {id:21,cat:'breach',title:'CareCloud — Healthcare Identity ($5-50M)',desc:'March 16, 2026 breach — 8 hours EHR access lost. 45,000 providers affected. Investigation ongoing.\nGLI cryptographic identity anchoring prevents unauthorized EHR access even if perimeter is breached.\nPer-provider licensing $100-$1,000/year = $4.5M-$45M annually.\nLetter drafted and ready.',contact:'A. Hadi Chaudhry — CEO\n7 Penn Plaza Suite 600, New York NY 10001\ninvestor.relations@carecloud.com\nCTO: Ken Pflederer\nCMO: Bharat Sutariya MD',value:'$5M-$50M/year',status:'not_started',priority:'urgent',deadline:'SEND TODAY'}, {id:23,cat:'breach',title:'Yale New Haven Health — 5.56M Patients ($20-50M)',desc:'March 8, 2025 breach — 5.56 million patient records. Largest healthcare breach of 2025. $18 million settlement already paid.\nGLI would have made exfiltrated records cryptographically useless.\nSend Week 1.',contact:'CEO: Christopher O\'Connor\n20 York Street, New Haven CT 06510\nceo@ynhh.org\nTarget: CISO',value:'$20-50M/year',status:'not_started',priority:'urgent',deadline:'SEND WEEK 1'}, {id:24,cat:'breach',title:'Episource / UnitedHealth — 5.4M Records ($25-75M)',desc:'February 2025 — 5.4 million records. 10 days undetected access. UnitedHealth subsidiary.\nUnitedHealth scale = massive licensing opportunity.\nSend Week 2.',contact:'Parent CEO: Andrew Witty — UnitedHealth Group\n9900 Bren Road East, Minnetonka MN 55343',value:'$25-75M/year',status:'not_started',priority:'urgent',deadline:'SEND WEEK 2'}, {id:25,cat:'breach',title:'Aflac — 13-22M Individuals ($30-80M)',desc:'2025 breach — 13-22 million individuals exposed.\nInsurance giant — HIPAA and state insurance regulatory pressure.\nSend Week 2.',contact:'CEO: Daniel Amos\n1932 Wynnton Road, Columbus GA 31999\ninvestor.relations@aflac.com',value:'$30-80M/year',status:'not_started',priority:'high',deadline:'SEND WEEK 2'}, {id:26,cat:'breach',title:'DaVita — 2.5M Individuals Ransomware ($10-30M)',desc:'2025 — 2.5 million individuals. Ransomware — encrypted and exfiltrated.\nGLI identity prevents data being usable even after exfiltration.\nSend Week 3.',contact:'CEO: Javier Rodriguez\n2000 16th Street, Denver CO 80202',value:'$10-30M/year',status:'not_started',priority:'high',deadline:'SEND WEEK 3'}, {id:27,cat:'breach',title:'Blue Shield California — 4.7M Members ($15-40M)',desc:'Google Analytics misconfiguration exposed 4.7 million members.\nStructural identity flaw — GLI eliminates credential dependency.\nSend Week 3.',contact:'CEO: Paul Markovich\n50 Beale Street, San Francisco CA 94105',value:'$15-40M/year',status:'not_started',priority:'high',deadline:'SEND WEEK 3'}, {id:28,cat:'breach',title:'McLaren Health Care — SECOND BREACH ($10-25M)',desc:'Second ransomware breach in two years. Most receptive target — proven that perimeter security alone does not work.\nGLI structural fix is exactly what they need.\nSend Week 3.',contact:'CEO: Philip Incarnati\n4100 Watson Drive, Grand Blanc MI 48439',value:'$10-25M/year',status:'not_started',priority:'high',deadline:'SEND WEEK 3'}, {id:29,cat:'breach',title:'Oracle Health — Up to 80 Hospitals ($100M+)',desc:'January 2025 — up to 80 hospitals affected.\nOracle scale = massive licensing opportunity.\nTarget Oracle Health division specifically.\nSend Week 2.',contact:'CEO: Larry Ellison / Safra Catz\n2300 Oracle Way, Austin TX 78741\ninvestor_us@oracle.com',value:'$100M+/year',status:'not_started',priority:'urgent',deadline:'SEND WEEK 2'}, {id:30,cat:'breach',title:'Conduent — 10.5M Individuals ($20-50M)',desc:'10.5 million individuals. 14.7 million in Texas alone.\nBusiness services company — GLI identity across all client services.\nSend Week 3.',contact:'CEO: Cliff Skelton\n100 Campus Drive, Florham Park NJ 07932',value:'$20-50M/year',status:'not_started',priority:'high',deadline:'SEND WEEK 3'}, {id:31,cat:'breach',title:'PowerSchool — 71.9M Records ($30-80M)',desc:'Largest non-healthcare breach of 2025 — 71.9 million records.\nStudents and education records. K-12 and higher ed.\nSend Week 4.',contact:'CEO: Hardeep Gulati\n150 Parkshore Drive, Folsom CA 95630',value:'$30-80M/year',status:'not_started',priority:'high',deadline:'SEND WEEK 4'}, {id:32,cat:'breach',title:'Prosper Funding — 17.6M Records ($10-25M)',desc:'2025 — 17.6 million records. Financial services — loans and personal data.\nSend Week 4.',contact:'221 Main Street, San Francisco CA 94105',value:'$10-25M/year',status:'not_started',priority:'medium',deadline:'SEND WEEK 4'}, {id:33,cat:'breach',title:'Workday/Salesforce — ShinyHunters ($50-200M)',desc:'August 2025 — tens of millions potentially exposed. ShinyHunters attack via Salesforce CRM.\nFortune 500 client base = massive scale.\nSend Week 4.',contact:'Workday CEO: Carl Eschenbach\n6110 Stoneridge Mall Road, Pleasanton CA 94588',value:'$50-200M/year',status:'not_started',priority:'high',deadline:'SEND WEEK 4'}, {id:34,cat:'breach',title:'New York University — 3M Applicants ($5-15M)',desc:'March 2025 — 3 million applicants exposed. Records dating back to 1989.\nEducation sector — GLI identity for student records.\nSend Week 4.',contact:'President: Linda Mills\n70 Washington Square South, New York NY 10012',value:'$5-15M/year',status:'not_started',priority:'medium',deadline:'SEND WEEK 4'}, {id:35,cat:'breach',title:'Cognizant TriZetto — 3.4M Records 2026 ($15-40M)',desc:'2026 ACTIVE breach — 3.4 million health records confirmed. Just disclosed.\nHOTTEST target — breach is current.\nSend Week 1.',contact:'CEO: Ravi Kumar\n300 Frank W. Burr Blvd, Teaneck NJ 07666',value:'$15-40M/year',status:'not_started',priority:'urgent',deadline:'SEND WEEK 1'}, {id:36,cat:'breach',title:'Hims and Hers — 2026 Active ($5-20M)',desc:'2026 — customer support system hacked. Active breach.\nRecent = maximum urgency.\nSend Week 1.',contact:'CEO: Andrew Dudum\n2269 Chestnut Street, San Francisco CA 94123',value:'$5-20M/year',status:'not_started',priority:'urgent',deadline:'SEND WEEK 1'}, // ═══ Operational action items — added 2026-04-11 ═══ {id:'att-letter',cat:'revenue',title:'Send AT&T Package — John Stankey',desc:'Complete package ready. Letter + 4 Addendums. 60/40 split. $1.97B Year 3 projection. Send certified mail.',contact:'John Stankey, 208 S. Akard Street, Dallas TX 75202. CC: Pascal Desroches CFO, Jeff McElfresh COO',value:'$1,970,000,000',status:'complete',priority:'urgent',deadline:'Follow up call in 10 business days'}, {id:'alan-norman',cat:'legal',title:'Call Alan Norman — Thompson Coburn',desc:'Patent attorney reviewed portal for 4 hours. Engine bug fixed overnight. Scores corrected. Patent 72 now 9.2. Patent 80 now 8.5. Invite back. Confirm he received overnight update letter. Discuss Patent 72 at 9.2 — FedEx logistics patent. Discuss Patent 80 at 8.5 — Islamic inheritance. Agree engagement scope and fees. Confirm conflict check status.',contact:'Alan Norman — Thompson Coburn — 314-552-6284',value:'892 patents protected',status:'awaiting',priority:'urgent',deadline:'Call today'}, {id:'sriro-intro',cat:'revenue',title:'Andy Sriro Introduction — Steve Anderson',desc:'Steve Anderson sends intro letter first (TreloarAI_Sriro_Introduction_Letter_v2.docx to asriro@akhh.com). Wait 2 days. Richard sends TreloarAI_Sriro_Islamic_Cover_Letter.docx + TreloarAI_Islamic_Inheritance_Proposal.docx. Follow up within 5 days.',contact:'asriro@akhh.com (via Steve Anderson)',value:'$228,750,000 Year 3',status:'awaiting',priority:'urgent',deadline:'Intro this week'}, {id:'evanston-smartcity',cat:'revenue',title:'Call Evanston IL — SmartCity (no vendor)',desc:'No vendor after Flock Safety dropped. TreloarAI GLI camera attribution at $100-150/camera/month vs Flock $417. Priority target. Ask for technology or public safety procurement. Reference Flock Safety departure. Request demo meeting.',contact:'Evanston Tech/Public Safety — 847-866-2900',value:'$350,000+/year',status:'not_started',priority:'urgent',deadline:'Call within 3 days'}, {id:'tmobile-mvno',cat:'partners',title:'Call T-Mobile IoT MVNO Wholesale',desc:'Alternative to AT&T while Stankey deal progresses. Request IoT wholesale data pricing. Say: wholesale MVNO partnerships. Compare to AT&T proposed rates.',contact:'T-Mobile Wholesale — 1-844-428-9675',value:'Data cost reduction',status:'not_started',priority:'high',deadline:'This week'}, {id:'dod-sbir-build',cat:'grants',title:'Apply — DoD SBIR Phase I $250K (Grant Builder)',desc:'Defense SBIR targeting AI swarm, geospatial intelligence, tactical translation. Patents 897, 866, 36, 878. NGA West 2 miles away. Open Grant Letter Builder, select DoD SBIR + patents 897/866, generate, refine, submit.',contact:'sbir.defensebusiness.org',value:'$250,000',status:'not_started',priority:'urgent',deadline:'Check solicitation window'}, {id:'darpa-dso-build',cat:'grants',title:'Apply — DARPA DSO BAA $1M+ (Grant Builder)',desc:'Broad Agency Announcement. Unconventional AI warfare, quantum cryptography, swarm orchestration. Patents 866, 473, 36. Use Grant Letter Builder → DARPA DSO → select patents 866/473/36 → generate → submit through DARPA portal.',contact:'darpa.mil/work-with-us/opportunities',value:'$1,000,000+',status:'not_started',priority:'high',deadline:'Current BAA'}, {id:'aws-activate',cat:'grants',title:'Apply — AWS Activate $100K Credits',desc:'TreloarAI qualifies as startup. Up to $100,000 in AWS credits. Describe platform: 291 apps, 116 countries, AWS EC2. Credits typically approved in 2-5 business days.',contact:'aws.amazon.com/activate',value:'$100,000',status:'not_started',priority:'high',deadline:'Apply immediately'}, {id:'google-startup',cat:'grants',title:'Apply — Google for Startups $200K Credits',desc:'Up to $200,000 in Google Cloud credits. Apply as startup, describe AI platform and scale.',contact:'cloud.google.com/startup',value:'$200,000',status:'not_started',priority:'high',deadline:'Apply immediately'}, {id:'patent-filing',cat:'legal',title:'File Top 100 Patents — Pro Se USPTO',desc:'File top 100 patents by score as full utility applications. Government fee $800-1600 each at micro-entity rate. Total $80K-160K. Do pro se — attorney reviews top 10 only. Start with Patent 72 (9.2), then 70, 473, 866, 12, 80, 66, 896. File everything scoring 8.0+. Alan Norman reviews top 10 claim sets before filing.',contact:'patentcenter.uspto.gov',value:'892 patents protected',status:'not_started',priority:'urgent',deadline:'Begin this month'}, {id:'singapore-aip',cat:'legal',title:'Singapore Fast Track — Top 10 Patents',desc:'IPOS Accelerated Initiative. 6-12 months to grant vs 3-5 years. Then Indonesia via PPH. Andy Sriro facilitates Indonesian filing. File Patent 72, 80, 66, 896, 897 under AIP. Cost approx $4,000-6,000 per patent.',contact:'Singapore patent agent',value:'SE Asian IP protection',status:'not_started',priority:'high',deadline:'After AT&T close'}, {id:'fedex-proposal-build',cat:'revenue',title:'Send FedEx Patent Licence Proposal (Builder)',desc:'Patent 72 at 9.2 — Segmented Route Revelation. GDPR compliance. No single handler sees full route. Target FedEx, UPS, Amazon Logistics, DHL. Lead with GDPR compliance angle. Cite Patent 72 score 9.2 and June 2025 priority date.',contact:'FedEx Chief Legal Officer',value:'$15,000,000-20,000,000/year',status:'not_started',priority:'high',deadline:'This month'}, {id:'nga-contact',cat:'revenue',title:'NGA West — SBIR or OTA Contract',desc:'NGA West campus is 2 miles from TreloarAI HQ at 4604 Lindell Blvd. GLI geospatial identity chain — patents 897, 866. Direct deployment pathway. Lead with proximity — 2 miles — direct deployment node. Reference Patents 897 and 866. Request meeting with NGA innovation office.',contact:'NGA West — Small Business Programs Office',value:'$500,000-5,000,000',status:'not_started',priority:'high',deadline:'This month'}, {id:'isdb-grant',cat:'grants',title:'Islamic Development Bank Grant $5-20M',desc:'IsDB Jeddah funds Islamic financial inclusion technology. Patent 80 faraid inheritance automation is exactly what they fund. Reference Indonesia and Malaysia markets. Andy Sriro can facilitate introduction. Use Grant Letter Builder → IsDB.',contact:'isdb.org/grants',value:'$5,000,000-20,000,000',status:'not_started',priority:'high',deadline:'After Sriro intro'}, {id:'pia-launch',cat:'partners',title:'Pia Commercial Launch — Phone System',desc:'Pia moving to AWS Lambda — cannot go down. pia_caller_memory table built. Caller recognition wired. Ready for commercial launch after Lambda confirmed. Test 10 consecutive calls, confirm caller memory save/load, test voice quality, update 314-207-4939 Twilio webhook to Lambda, announce to pilot contacts.',contact:'Richard internal — Lambda deployment',value:'Subscriber acquisition',status:'in_progress',priority:'urgent',deadline:'After Lambda deploy'}, {id:'vran-phase1',cat:'partners',title:'vRAN Phase 1 — East St. Louis',desc:'After AT&T deal secured — build Phase 1 vRAN from operating cash. 6 Baicells Nova-436Q radios already procured. AT&T fiber at roadside. NGA West defense network. Deploy 6 radios, build colocation facility in basement, market as carrier-neutral data center.',contact:'vRAN infrastructure contractor',value:'$300,000-400,000 asset',status:'not_started',priority:'high',deadline:'After AT&T close'}, {id:'anthropic-partnership',cat:'partners',title:'Anthropic Strategic Partnership',desc:'291 apps built on Claude API. Pia voice AI on Claude. 140 languages. 116 countries. Largest Claude deployment outside Anthropic. Quantify Claude API usage across 291 apps. Propose revenue share or strategic investment. Reference scale of deployment — Dario Amodei is CEO.',contact:'Anthropic business development',value:'Strategic investment or revenue share',status:'not_started',priority:'high',deadline:'This month'} ]; var abCatColors={revenue:'#22c55e',legal:'#a855f7',partners:'#00b4ff',grants:'#fbbf24',regulatory:'#ec4899',breach:'#ef4444'}; var abCatLabels={revenue:'REVENUE',legal:'LEGAL & LICENSING',partners:'PARTNERSHIPS',grants:'GRANTS',regulatory:'REGULATORY',breach:'BREACH OUTREACH LICENSING'}; var abStatusLabels={not_started:'NOT STARTED',in_progress:'IN PROGRESS',awaiting:'AWAITING RESPONSE',complete:'COMPLETE'}; var abStatusColors={not_started:'var(--muted)',in_progress:'#3b82f6',awaiting:'#f59e0b',complete:'#22c55e'}; var abPriorityLabels={urgent:'URGENT',high:'HIGH',medium:'MEDIUM',low:'LOW'}; var abPriorityColors={urgent:'#ef4444',high:'#f59e0b',medium:'#3b82f6',low:'var(--muted)'}; function renderAB(filter){ var items=filter&&filter!=='all'?AB_ITEMS.filter(function(i){return i.cat===filter}):AB_ITEMS.slice(); // Sort by priority — urgent > high > medium > low — then by completion state so complete drops to bottom var priRank={urgent:0,high:1,medium:2,low:3}; var statusRank={complete:1}; items.sort(function(a,b){ var s=(statusRank[a.status]||0)-(statusRank[b.status]||0); if(s)return s; return (priRank[a.priority]===undefined?99:priRank[a.priority]) - (priRank[b.priority]===undefined?99:priRank[b.priority]); }); var el=document.getElementById('abItems'); if(!el)return; el.innerHTML=items.map(function(item){ var cc=abCatColors[item.cat]||'var(--muted)'; var sc=abStatusColors[item.status]||'var(--muted)'; var pc=abPriorityColors[item.priority]||'var(--muted)'; return '
' +'
' +'
' +'
' +''+abCatLabels[item.cat]+'' +''+abPriorityLabels[item.priority]+'' +''+abStatusLabels[item.status]+'' +'
' +'
'+item.title+'
' +'
' +'
' +'
'+item.value+'
' +'
'+item.deadline+'
' +'
' +'
'; }).join(''); } function toggleABDetail(id){var el=document.getElementById('ab-detail-'+id);if(el)el.style.display=el.style.display==='none'?'block':'none';} function setABStatus(id,status){var item=AB_ITEMS.find(function(i){return i.id===id});if(item){item.status=status;renderAB(window._abFilter||'all');updateABSummary();}} function abAddNote(id){var note=prompt('Add note for this action item:');if(note){var item=AB_ITEMS.find(function(i){return i.id===id});if(item)item.desc+='\n\nNote ('+new Date().toLocaleDateString()+'): '+note;renderAB(window._abFilter||'all');}} function filterAB(cat){window._abFilter=cat;renderAB(cat);document.querySelectorAll('#pg-actionboard [id^=ab-f-]').forEach(function(b){b.classList.remove('btc')});var btn=document.getElementById('ab-f-'+cat);if(btn)btn.classList.add('btc');} function updateABSummary(){ var counts={total:AB_ITEMS.length,urgent:0,high:0,in_progress:0,complete:0}; AB_ITEMS.forEach(function(i){if(i.priority==='urgent')counts.urgent++;if(i.priority==='high')counts.high++;if(i.status==='in_progress'||i.status==='awaiting')counts.in_progress++;if(i.status==='complete')counts.complete++;}); var el=document.getElementById('abSummary'); if(el)el.innerHTML='
'+counts.total+'
Total Items
' +'
'+counts.urgent+'
Urgent
' +'
'+counts.high+'
High Priority
' +'
'+counts.in_progress+'
In Progress
' +'
'+counts.complete+'
Complete
' +'
'+AB_ITEMS.filter(function(i){return i.cat==='breach'}).length+'
Breach Targets
' +'
$200M+
Revenue If Actioned
'; } setTimeout(function(){renderAB('all')},200); /* ===== EPO PATENT SEARCH FUNCTIONS ===== */ var EPO_BASE='http://'+location.hostname+':3380/api/epo'; function loadEpoStatus(){ var d=document.getElementById('epo-status-detail'); if(d)d.textContent='Loading EPO status...'; fetch(EPO_BASE+'/status').then(function(r){return r.json();}).then(function(data){ var s=document.getElementById('epo-st-status');if(s)s.textContent=data.status||data.service||'Online'; if(s)s.style.color=(data.status==='online'||data.service==='online')?'var(--green)':'var(--red)'; var t=document.getElementById('epo-st-token');if(t)t.textContent=data.token_status||data.tokenValid||'--'; var q=document.getElementById('epo-st-quota');if(q)q.textContent=data.quota_used||data.quotaUsed||'--'; var c=document.getElementById('epo-st-cached');if(c)c.textContent=data.cached_results||data.cachedResults||'--'; if(d){ var info=''; if(data.lastCheck)info+='Last check: '+data.lastCheck+'
'; if(data.endpoint)info+='Endpoint: '+data.endpoint+'
'; if(data.version)info+='API Version: '+data.version+'
'; if(data.rateLimit)info+='Rate limit: '+data.rateLimit+'
'; d.innerHTML=info||'EPO service connected.'; } }).catch(function(e){ if(d)d.innerHTML='Failed to reach EPO service (port 3380): '+e.message+''; }); } function epoSearch(){ var q=document.getElementById('epo-q'); var type=document.getElementById('epo-type'); var res=document.getElementById('epo-search-results'); var st=document.getElementById('epo-search-status'); if(!q||!q.value.trim()){if(st)st.textContent='Please enter a search query.';return;} if(st)st.textContent='Searching EPO...'; if(res)res.innerHTML='
Searching...
'; var url=EPO_BASE+'/search?q='+encodeURIComponent(q.value.trim())+'&type='+encodeURIComponent(type?type.value:'title'); fetch(url).then(function(r){return r.json();}).then(function(data){ var results=data.results||data.patents||data.data||[]; if(st)st.textContent='Found '+results.length+' result(s)'; if(!results.length){if(res)res.innerHTML='
No results found.
';return;} var html=''; results.forEach(function(p){ html+='
'; html+='
'+(p.title||p.name||'Untitled')+'
'; if(p.number||p.publicationNumber)html+='
'+( p.number||p.publicationNumber)+'
'; if(p.applicant||p.applicants)html+='
Applicant: '+(p.applicant||p.applicants)+'
'; if(p.date||p.publicationDate||p.filingDate)html+='
Date: '+(p.date||p.publicationDate||p.filingDate)+'
'; if(p.abstract)html+='
'+p.abstract.substring(0,300)+(p.abstract.length>300?'...':'')+'
'; html+='
'; }); if(res)res.innerHTML=html; }).catch(function(e){ if(st)st.textContent='Search failed'; if(res)res.innerHTML='
EPO search error: '+e.message+'
'; }); } function loadEpoCompetitors(){ var g=document.getElementById('epo-comp-grid'); var l=document.getElementById('epo-comp-loading'); var d=document.getElementById('epo-comp-detail'); if(l)l.style.display='block'; if(g)g.style.display='none'; fetch(EPO_BASE+'/competitors').then(function(r){return r.json();}).then(function(data){ var comps=data.competitors||data.data||data||[]; if(l)l.style.display='none'; if(!Array.isArray(comps)){if(l){l.style.display='block';l.textContent='Unexpected response format.';}return;} if(g){ g.style.display='grid'; g.innerHTML=''; comps.forEach(function(c){ g.innerHTML+='
'+(c.patentCount||c.patents||c.count||0)+'
'+(c.name||c.company||'Unknown')+'
'; }); } if(d){ var html=''; comps.forEach(function(c){ html+='
'; html+='
'+(c.name||c.company||'Unknown')+'
'; if(c.recentFilings||c.recent)html+='
Recent filings: '+(c.recentFilings||c.recent)+'
'; if(c.focus||c.areas)html+='
Focus areas: '+(Array.isArray(c.focus||c.areas)?(c.focus||c.areas).join(', '):(c.focus||c.areas))+'
'; if(c.threat||c.risk)html+='
Threat level: '+(c.threat||c.risk)+'
'; html+='
'; }); d.innerHTML=html; } }).catch(function(e){ if(l){l.style.display='block';l.innerHTML='Failed to load competitors: '+e.message+'';} }); } function loadEpoFiling(){ var l=document.getElementById('epo-filing-loading'); var c=document.getElementById('epo-filing-content'); if(l)l.style.display='block'; if(c)c.style.display='none'; fetch(EPO_BASE+'/filing-recommendations').then(function(r){return r.json();}).then(function(data){ if(l)l.style.display='none'; if(c){ c.style.display='block'; var recs=data.recommendations||data.data||data||[]; if(!Array.isArray(recs)){c.innerHTML='
'+JSON.stringify(data,null,2)+'
';return;} var html=''; recs.forEach(function(r,i){ var prio=r.priority||r.urgency||'medium'; var prioColor=prio==='high'||prio==='urgent'?'var(--red)':prio==='medium'?'var(--amber)':'var(--green)'; html+='
'; html+='
'; html+='
'+(r.title||r.name||'Recommendation '+(i+1))+'
'; html+=''+prio+''; html+='
'; if(r.description||r.reason)html+='
'+(r.description||r.reason)+'
'; if(r.jurisdiction||r.territory)html+='
Jurisdiction: '+(r.jurisdiction||r.territory)+'
'; if(r.deadline)html+='
Deadline: '+r.deadline+'
'; if(r.estimatedCost||r.cost)html+='
Est. cost: '+(r.estimatedCost||r.cost)+'
'; html+='
'; }); c.innerHTML=html||'
No filing recommendations available.
'; } }).catch(function(e){ if(l){l.style.display='block';l.innerHTML='Failed to load filing recommendations: '+e.message+'';} }); } function loadEpoLog(){ var l=document.getElementById('epo-log-loading'); var c=document.getElementById('epo-log-content'); if(l)l.style.display='block'; if(c)c.style.display='none'; fetch(EPO_BASE+'/log').then(function(r){return r.json();}).then(function(data){ if(l)l.style.display='none'; if(c){ c.style.display='block'; var logs=data.entries||data.log||data.data||data||[]; if(!Array.isArray(logs)){c.innerHTML='
'+JSON.stringify(data,null,2)+'
';return;} var html=''; html+=''; logs.forEach(function(entry){ var statusColor=(entry.status===200||entry.status==='ok'||entry.success)?'var(--green)':'var(--red)'; html+=''; html+=''; html+=''; html+=''; html+=''; html+=''; }); html+='
TimeEndpointStatusDetails
'+(entry.timestamp||entry.time||entry.date||'--')+''+(entry.endpoint||entry.path||entry.url||'--')+''+(entry.status||entry.statusCode||'--')+''+(entry.details||entry.message||entry.response||'')+'
'; c.innerHTML=html||'
No log entries.
'; } }).catch(function(e){ if(l){l.style.display='block';l.innerHTML='Failed to load API log: '+e.message+'';} }); } // Allow Enter key to trigger EPO search document.addEventListener('keydown',function(e){ if(e.key==='Enter'&&document.activeElement&&document.activeElement.id==='epo-q')epoSearch(); });