import type { ResearchNode } from '@ai-tycoon/shared'; export const TECH_TREE: ResearchNode[] = [ // === COMPUTE / INFRASTRUCTURE === { id: 'advanced-cooling', name: 'Advanced Cooling', description: 'Liquid cooling systems reduce energy costs by 25%.', era: 'startup', category: 'infrastructure', prerequisites: [], cost: { researchPoints: 0, compute: 5, ticks: 150, money: 2250 }, effects: [{ type: 'cost_reduction', target: 'energy', value: 0.25 }], }, { id: 'redundancy-protocols', name: 'Redundancy Protocols', description: 'Fault-tolerant architectures cut GPU failure rates in half.', era: 'startup', category: 'infrastructure', prerequisites: [], cost: { researchPoints: 0, compute: 5, ticks: 150, money: 2250 }, effects: [{ type: 'cost_reduction', target: 'failure_rate', value: 0.5 }], }, { id: 'advanced-gpu-arch', name: 'Advanced GPU Architecture', description: 'Unlocks NVIDIA A100 PCIe and SXM rack configurations.', era: 'startup', category: 'infrastructure', prerequisites: [], cost: { researchPoints: 0, compute: 10, ticks: 225, money: 3375 }, effects: [{ type: 'unlock_rack', target: 'a100', value: 1 }], }, { id: 'next-gen-gpu', name: 'Next-Gen GPU Architecture', description: 'Unlocks NVIDIA H100 and H200 rack configurations.', era: 'scaleup', category: 'infrastructure', prerequisites: ['advanced-gpu-arch'], cost: { researchPoints: 2, compute: 40, ticks: 600, money: 30000 }, effects: [{ type: 'unlock_rack', target: 'h100', value: 1 }], }, { id: 'frontier-compute', name: 'Frontier Compute', description: 'Unlocks NVIDIA B100 and B200 rack configurations.', era: 'bigtech', category: 'infrastructure', prerequisites: ['next-gen-gpu'], cost: { researchPoints: 5, compute: 200, ticks: 1200, money: 240000 }, effects: [{ type: 'unlock_rack', target: 'b200', value: 1 }], }, { id: 'custom-silicon', name: 'Custom Silicon Design', description: 'Unlocks custom Training and Inference ASIC configurations.', era: 'agi', category: 'infrastructure', prerequisites: ['frontier-compute'], cost: { researchPoints: 10, compute: 500, ticks: 2250, money: 1125000 }, effects: [{ type: 'unlock_rack', target: 'custom', value: 1 }], }, { id: 'amd-ecosystem', name: 'AMD ROCm Ecosystem', description: 'Adapt software stack for AMD GPUs. Unlocks MI250X, MI300X, MI325X racks.', era: 'scaleup', category: 'infrastructure', prerequisites: ['advanced-gpu-arch'], cost: { researchPoints: 2, compute: 30, ticks: 500, money: 25000 }, effects: [{ type: 'unlock_rack', target: 'amd', value: 1 }], }, { id: 'inference-specialization', name: 'Inference Specialization', description: 'Optimized inference kernels unlock L4, L40S, and custom inference racks.', era: 'scaleup', category: 'infrastructure', prerequisites: ['quantization'], cost: { researchPoints: 2, compute: 20, ticks: 375, money: 18750 }, effects: [{ type: 'unlock_rack', target: 'inference', value: 1 }], }, { id: 'rack-scale-compute', name: 'Rack-Scale Computing', description: 'Full NVLink domain architecture. Unlocks GB200 NVL72 — 72 GPUs in a single rack.', era: 'agi', category: 'infrastructure', prerequisites: ['frontier-compute'], cost: { researchPoints: 8, compute: 400, ticks: 1800, money: 900000 }, effects: [{ type: 'unlock_rack', target: 'gb200-nvl72', value: 1 }], }, { id: 'liquid-cooling-tech', name: 'Liquid Cooling Systems', description: 'Enables liquid cooling upgrades for data centers. Required for SXM and high-power racks.', era: 'scaleup', category: 'infrastructure', prerequisites: ['advanced-cooling'], cost: { researchPoints: 2, compute: 25, ticks: 450, money: 22500 }, effects: [{ type: 'unlock_feature', target: 'liquid-cooling', value: 1 }], }, { id: 'immersion-cooling-tech', name: 'Immersion Cooling', description: 'Enables immersion cooling for maximum power density. Required for custom ASICs.', era: 'bigtech', category: 'infrastructure', prerequisites: ['liquid-cooling-tech'], cost: { researchPoints: 5, compute: 100, ticks: 1000, money: 200000 }, effects: [{ type: 'unlock_feature', target: 'immersion-cooling', value: 1 }], }, { id: 'infiniband-networking', name: 'InfiniBand Networking', description: 'High-bandwidth interconnect for distributed training. Unlocks InfiniBand fabric upgrades.', era: 'scaleup', category: 'infrastructure', prerequisites: ['network-engineering-i'], cost: { researchPoints: 3, compute: 40, ticks: 600, money: 30000 }, effects: [{ type: 'unlock_feature', target: 'infiniband', value: 1 }], }, { id: 'dc-engineering-ii', name: 'DC Engineering II', description: 'Advanced facility design unlocks Medium data centers (500 slots, 3000kW).', era: 'startup', category: 'infrastructure', prerequisites: ['advanced-cooling'], cost: { researchPoints: 1, compute: 15, ticks: 300, money: 4500 }, effects: [{ type: 'unlock_dc_tier', target: 'medium', value: 1 }], }, { id: 'dc-engineering-iii', name: 'DC Engineering III', description: 'Large-scale facility design unlocks Large data centers (1000 slots, 7000kW).', era: 'scaleup', category: 'infrastructure', prerequisites: ['dc-engineering-ii'], cost: { researchPoints: 3, compute: 60, ticks: 750, money: 37500 }, effects: [{ type: 'unlock_dc_tier', target: 'large', value: 1 }], }, { id: 'dc-engineering-iv', name: 'DC Engineering IV', description: 'Mega-scale campus design unlocks Mega data centers (1500 slots, 12000kW).', era: 'bigtech', category: 'infrastructure', prerequisites: ['dc-engineering-iii'], cost: { researchPoints: 6, compute: 150, ticks: 1500, money: 300000 }, effects: [{ type: 'unlock_dc_tier', target: 'mega', value: 1 }], }, { id: 'quality-assurance', name: 'Quality Assurance', description: 'Advanced QA processes reduce rack test failure rate by 25%.', era: 'startup', category: 'infrastructure', prerequisites: ['redundancy-protocols'], cost: { researchPoints: 1, compute: 10, ticks: 225, money: 3375 }, effects: [{ type: 'cost_reduction', target: 'test_failure_rate', value: 0.25 }], }, { id: 'network-engineering-i', name: 'Network Engineering I', description: 'Improved network switching reduces Tier-1 failure rate by 40%.', era: 'scaleup', category: 'infrastructure', prerequisites: ['redundancy-protocols'], cost: { researchPoints: 2, compute: 20, ticks: 375, money: 18750 }, effects: [{ type: 'cost_reduction', target: 'network_failure_rate', value: 0.4 }], }, { id: 'network-engineering-ii', name: 'Network Engineering II', description: 'Spine-leaf architecture reduces all network failure rates by 50%.', era: 'bigtech', category: 'infrastructure', prerequisites: ['network-engineering-i'], cost: { researchPoints: 4, compute: 80, ticks: 900, money: 180000 }, effects: [{ type: 'cost_reduction', target: 'network_failure_rate', value: 0.5 }], }, { id: 'network-redundancy', name: 'Network Redundancy', description: 'Additional uplink per switch at all tiers — reduces disconnect risk from single switch failures.', era: 'scaleup', category: 'infrastructure', prerequisites: ['network-engineering-i'], cost: { researchPoints: 3, compute: 40, ticks: 600, money: 30000 }, effects: [{ type: 'efficiency_boost', target: 'network_uplinks', value: 1 }], }, { id: 'network-fast-repair', name: 'Fast Network Repair', description: 'Hot-swap switch modules and pre-staged spares reduce network repair time by 40%.', era: 'bigtech', category: 'infrastructure', prerequisites: ['network-engineering-ii'], cost: { researchPoints: 5, compute: 100, ticks: 1000, money: 200000 }, effects: [{ type: 'efficiency_boost', target: 'network_repair_speed', value: 0.4 }], }, { id: 'network-hot-standby', name: 'Hot Standby Switches', description: 'Automated failover with standby switches — failed switches auto-replace in 5 ticks.', era: 'agi', category: 'infrastructure', prerequisites: ['network-fast-repair'], cost: { researchPoints: 8, compute: 250, ticks: 1500, money: 750000 }, effects: [{ type: 'efficiency_boost', target: 'network_hot_standby', value: 5 }], }, { id: 'rapid-deployment', name: 'Rapid Deployment', description: 'Streamlined procurement pipelines reduce deployment times by 20%.', era: 'scaleup', category: 'infrastructure', prerequisites: ['dc-engineering-ii'], cost: { researchPoints: 2, compute: 25, ticks: 450, money: 22500 }, effects: [{ type: 'efficiency_boost', target: 'pipeline_speed', value: 0.2 }], }, { id: 'distributed-training', name: 'Distributed Training', description: 'Train models across multiple data centers simultaneously. +20% training speed.', era: 'scaleup', category: 'infrastructure', prerequisites: ['advanced-gpu-arch'], cost: { researchPoints: 2, compute: 30, ticks: 450, money: 22500 }, effects: [{ type: 'efficiency_boost', target: 'training_speed', value: 0.2 }], }, // === EFFICIENCY === { id: 'quantization', name: 'Quantization Research', description: 'INT8/INT4 inference reduces compute costs. +15% inference efficiency.', era: 'startup', category: 'efficiency', prerequisites: [], cost: { researchPoints: 0, compute: 8, ticks: 188, money: 2820 }, effects: [{ type: 'efficiency_boost', target: 'inference', value: 0.15 }], }, { id: 'distillation', name: 'Knowledge Distillation', description: 'Train smaller models that retain teacher quality. +10% model capability.', era: 'scaleup', category: 'efficiency', prerequisites: ['quantization'], cost: { researchPoints: 2, compute: 25, ticks: 450, money: 22500 }, effects: [{ type: 'capability_boost', target: 'all', value: 5 }], }, { id: 'inference-optimization', name: 'Inference Optimization', description: 'Optimized kernels and batching. +30% tokens per FLOP.', era: 'scaleup', category: 'efficiency', prerequisites: ['quantization'], cost: { researchPoints: 2, compute: 20, ticks: 375, money: 18750 }, effects: [{ type: 'efficiency_boost', target: 'tokens_per_flop', value: 0.3 }], }, // === MODEL CAPABILITIES === { id: 'transformer-v2', name: 'Advanced Architectures', description: 'Mixture-of-experts and improved attention. +10 base capability.', era: 'startup', category: 'generation', prerequisites: [], cost: { researchPoints: 0, compute: 10, ticks: 225, money: 3375 }, effects: [{ type: 'capability_boost', target: 'all', value: 10 }], }, { id: 'reasoning-enhancement', name: 'Chain-of-Thought Training', description: 'Enhanced reasoning through structured thinking. +15 reasoning.', era: 'scaleup', category: 'specialization', branch: 'reasoning', prerequisites: ['transformer-v2'], cost: { researchPoints: 3, compute: 40, ticks: 720, money: 36000 }, effects: [{ type: 'capability_boost', target: 'reasoning', value: 15 }], }, { id: 'code-generation', name: 'Code Generation', description: 'Specialized code understanding and generation. +15 coding.', era: 'scaleup', category: 'specialization', branch: 'coding', prerequisites: ['transformer-v2'], cost: { researchPoints: 3, compute: 35, ticks: 735, money: 36750 }, effects: [{ type: 'capability_boost', target: 'coding', value: 15 }], }, { id: 'creative-systems', name: 'Creative Expression', description: 'Enhanced creative writing and artistic understanding. +15 creative.', era: 'scaleup', category: 'specialization', branch: 'creative', prerequisites: ['transformer-v2'], cost: { researchPoints: 3, compute: 30, ticks: 735, money: 36750 }, effects: [{ type: 'capability_boost', target: 'creative', value: 15 }], }, { id: 'multimodal-fusion', name: 'Multi-Modal Fusion', description: 'Vision-language integration for image understanding. +20 multimodal. Unlocks Image product.', era: 'scaleup', category: 'specialization', branch: 'multimodal', prerequisites: ['transformer-v2'], cost: { researchPoints: 4, compute: 50, ticks: 1050, money: 52500 }, effects: [ { type: 'capability_boost', target: 'multimodal', value: 20 }, { type: 'unlock_product_line', target: 'image', value: 1 }, ], }, { id: 'agentic-architecture', name: 'Agentic Architecture', description: 'Tool use, planning, and autonomous execution. +20 agents. Unlocks Agents product.', era: 'bigtech', category: 'specialization', branch: 'agents', prerequisites: ['reasoning-enhancement', 'code-generation'], cost: { researchPoints: 6, compute: 100, ticks: 1680, money: 336000 }, effects: [ { type: 'capability_boost', target: 'agents', value: 20 }, { type: 'unlock_product_line', target: 'agents', value: 1 }, ], }, // === SAFETY === { id: 'alignment-research', name: 'Alignment Research', description: 'RLHF and value alignment techniques. +10 safety, +5 reputation.', era: 'startup', category: 'safety', prerequisites: [], cost: { researchPoints: 0, compute: 8, ticks: 270, money: 4050 }, effects: [ { type: 'safety_boost', target: 'models', value: 10 }, { type: 'capability_boost', target: 'reputation', value: 5 }, ], }, { id: 'interpretability', name: 'Interpretability', description: 'Understand model reasoning and detect failure modes. +10 safety, +5 reputation.', era: 'scaleup', category: 'safety', prerequisites: ['alignment-research'], cost: { researchPoints: 3, compute: 40, ticks: 720, money: 36000 }, effects: [ { type: 'safety_boost', target: 'models', value: 10 }, { type: 'capability_boost', target: 'reputation', value: 5 }, ], }, { id: 'constitutional-ai', name: 'Constitutional AI', description: 'Self-supervised alignment at scale. +15 safety, +10 reputation.', era: 'bigtech', category: 'safety', prerequisites: ['interpretability'], cost: { researchPoints: 5, compute: 80, ticks: 1260, money: 252000 }, effects: [ { type: 'safety_boost', target: 'models', value: 15 }, { type: 'capability_boost', target: 'reputation', value: 10 }, ], }, // === MARKET / PRODUCTS === { id: 'code-assistant-product', name: 'Code Assistant Product', description: 'Launch an AI code assistant product for developers. Requires Code Generation research.', era: 'scaleup', category: 'specialization', branch: 'coding', prerequisites: ['code-generation'], cost: { researchPoints: 2, compute: 20, ticks: 525, money: 26250 }, effects: [{ type: 'unlock_product_line', target: 'code-assistant', value: 1 }], }, { id: 'developer-relations', name: 'Developer Relations', description: 'Invest in developer community building. Unlocks dev-rel budget allocation and boosts API adoption.', era: 'startup', category: 'efficiency', prerequisites: [], cost: { researchPoints: 0, compute: 3, ticks: 158, money: 2370 }, effects: [{ type: 'unlock_feature', target: 'developer-relations', value: 1 }], }, { id: 'enterprise-sales', name: 'Enterprise Sales', description: 'Build a formal enterprise sales pipeline. Unlocks enterprise lead generation and contract management.', era: 'startup', category: 'efficiency', prerequisites: [], cost: { researchPoints: 0, compute: 3, ticks: 112, money: 1680 }, effects: [{ type: 'unlock_feature', target: 'enterprise-sales', value: 1 }], }, { id: 'sdk-platform', name: 'SDK Platform', description: 'Comprehensive SDK and tooling platform. Significantly boosts developer ecosystem growth.', era: 'scaleup', category: 'efficiency', prerequisites: ['developer-relations'], cost: { researchPoints: 2, compute: 15, ticks: 300, money: 15000 }, effects: [{ type: 'efficiency_boost', target: 'sdk_coverage', value: 0.3 }], }, { id: 'agents-platform-product', name: 'Agents Platform Product', description: 'Launch an enterprise AI agents platform. Requires Agentic Architecture research.', era: 'bigtech', category: 'specialization', branch: 'agents', prerequisites: ['agentic-architecture'], cost: { researchPoints: 4, compute: 60, ticks: 1050, money: 210000 }, effects: [{ type: 'unlock_product_line', target: 'agents-platform', value: 1 }], }, // === SERVING INFRASTRUCTURE === { id: 'request-routing', name: 'Intelligent Request Routing', description: 'Route requests to optimal model size/variant. Unlocks routing strategy and per-tier rate limits.', era: 'scaleup', category: 'efficiency', prerequisites: ['inference-optimization'], cost: { researchPoints: 2, compute: 25, ticks: 375, money: 18750 }, effects: [{ type: 'unlock_feature', target: 'request-routing', value: 1 }], }, { id: 'priority-queues', name: 'Priority Queue System', description: 'SLA-aware scheduling with granular priority controls. Unlocks priority ordering and overflow policies.', era: 'scaleup', category: 'efficiency', prerequisites: ['request-routing'], cost: { researchPoints: 3, compute: 30, ticks: 450, money: 22500 }, effects: [{ type: 'unlock_feature', target: 'priority-queues', value: 1 }], }, { id: 'request-batching', name: 'Request Batching', description: 'Group inference requests for higher throughput. Unlocks Batch API product line at 50% discount.', era: 'scaleup', category: 'efficiency', prerequisites: ['inference-optimization'], cost: { researchPoints: 2, compute: 20, ticks: 300, money: 15000 }, effects: [{ type: 'unlock_feature', target: 'request-batching', value: 1 }], }, { id: 'auto-scaling', name: 'Auto-Scaling Infrastructure', description: 'Dynamically reallocate compute during demand spikes. +20% effective capacity headroom.', era: 'bigtech', category: 'efficiency', prerequisites: ['request-routing'], cost: { researchPoints: 4, compute: 60, ticks: 750, money: 150000 }, effects: [{ type: 'efficiency_boost', target: 'auto_scaling', value: 0.2 }], }, // === DATA === { id: 'data-pipeline', name: 'Data Pipeline Optimization', description: 'Automated data cleaning and deduplication. +20% data quality.', era: 'startup', category: 'efficiency', prerequisites: [], cost: { researchPoints: 0, compute: 5, ticks: 150, money: 2250 }, effects: [{ type: 'efficiency_boost', target: 'data_quality', value: 0.2 }], }, ];