import Link from "next/link"; import Image from "next/image"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { AgentFlowDiagram } from "@/components/AgentFlowDiagram"; export default function HomePage() { return (
{/* Hero Section */}

TradingAgentsX

多代理 LLM 金融交易框架

{/* Core Features Section */}

🎯 核心特色

基於 LangGraph 的智能股票交易分析平台,結合多個 AI 代理進行協作決策

{/* 12 Professional Agents Section */}

👥 12 位專業代理團隊

每個代理都有其專業職責,協同工作產生高質量的交易決策

{/* Analyst Team */}

📊 分析師團隊 (4 位)

{/* Research Team */}

🔍 研究團隊 (3 位)

{/* Trading Team */}

💼 交易團隊 (1 位)

{/* Risk Management Team */}

🛡️ 風險管理團隊 (4 位)

{/* Agent Flow Diagram Section */}

🔄 分析師協作流程

四大分析師代理如何從不同資料來源收集資訊,並產生綜合分析報告

{/* LLM Support Section */}

🌍 多模型支援

支援業界領先的多家 LLM 提供商,每個模型可配置獨立的 API Key 和 Base URL

✅ 完整支援自訂端點 | ✅ 三層獨立配置(快速思維/深層思維/嵌入) | ✅ BYOK 模式

{/* Workflow Section */}

⚙️ 工作流程

TradingAgentsX 模擬真實交易公司,配備專業化的 LLM 代理

{/* Technical Highlights */}

💡 技術亮點

{/* Call to Action Section */}

準備好開始智能交易分析了嗎?

立即體驗 12 位專業 AI 代理協同工作,為您提供全方位的股票分析報告

); } function FeatureCard({ title, description, icon, }: { title: string; description: string; icon: string; }) { return (
{icon}
{title}

{description}

); } function AgentCard({ name, role, responsibilities, }: { name: string; role: string; responsibilities: string[]; }) { return ( {name} {role}
    {responsibilities.map((item, index) => (
  • {item}
  • ))}
); } function LLMProviderCard({ name, models, icon, }: { name: string; models: string[]; icon: string; }) { // Map provider names to logo filenames const logoMap: Record = { "OpenAI": "/logos/openai.svg", "Anthropic": "/logos/claude-color.svg", "Google Gemini": "/logos/gemini-color.svg", "Grok (xAI)": "/logos/grok.svg", "DeepSeek": "/logos/deepseek-color.svg", "Qwen (Alibaba)": "/logos/qwen-color.svg", }; const logoSrc = logoMap[name]; return (
{logoSrc ? (
{`${name}
) : ( {icon} )} {name}
    {models.map((model, index) => (
  • {model}
  • ))}
); } function TechnicalCard({ title, features, }: { title: string; features: string[]; }) { return ( {title}
    {features.map((feature, index) => (
  • {feature}
  • ))}
); } function WorkflowStep({ number, title, description, }: { number: number; title: string; description: string; }) { return (
{number}

{title}

{description}

); }