import { useHealth } from "../lib/health";
import type { ViewKey } from "../shell/LeftNav";
function Stat({ label, value, sub, accent }: { label: string; value: string; sub: string; accent: string }) {
return (
);
}
const CAPS = [
{ icon: "◆", title: "Agent 编排", desc: "React Flow 画布 → Eino 动态图 → 流式执行", to: "studio" as ViewKey, color: "text-violet-400" },
{ icon: "▣", title: "RAG 知识库", desc: "多文件入库 + 向量/全文/图谱 三路混合检索", to: "kb" as ViewKey, color: "text-cyan-400" },
{ icon: "◇", title: "偏好记忆", desc: "画像 + 多轮历史,让模型“知道是你”", to: "memory" as ViewKey, color: "text-emerald-400" },
];
// 工作台:平台概览 + 快捷入口(深色 AI 控制台首页)。
export function Home({ onSelect }: { onSelect: (v: ViewKey) => void }) {
const h = useHealth();
return (
S
sundynix-agentix
分层式 AI Agent 平台 · 编排 / 知识库 / 记忆
{CAPS.map((c) => (
))}
快速开始
);
}