"use client"; import React, { useState } from "react"; import { ArrowRightIcon, Network, Filter, TrendingUp, Shield, Server, XIcon, } from "lucide-react"; import { Button, Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription, DialogClose, } from "@katanemo/ui"; import { motion, AnimatePresence } from "framer-motion"; import Link from "next/link"; interface UseCase { id: number; category: string; title: string; summary: string; fullContent: string; icon: React.ComponentType<{ className?: string }>; gradient: string; } const useCasesData: UseCase[] = [ { id: 1, category: "AGENT ORCHESTRATION", title: "Multi-agent systems without framework lock-in", summary: "Seamless routing and orchestration for complex agent interactions", fullContent: "Plano manages agent routing and orchestration without framework dependencies, allowing seamless multi-agent interactions. This is ideal for building complex systems like automated customer support or data processing pipelines, where agents hand off tasks efficiently to deliver end-to-end solutions faster.", icon: Network, gradient: "from-[rgba(119,128,217,0.15)] via-[rgba(119,128,217,0.08)] to-[rgba(17,28,132,0.05)]", }, { id: 2, category: "CONTEXT ENGINEERING", title: "Reusable filters for smarter agents", summary: "Inject data, reformulate queries, and enforce policies efficiently", fullContent: "Plano's filter chain encourages reuse and decoupling for context engineering tasks like injecting data, reformulating queries, and enforcing policy before calls reach an agent or LLM. This means faster debugging, cleaner architecture, and more accurate, on-policy agents —without bespoke glue code.", icon: Filter, gradient: "from-[rgba(177,184,255,0.15)] via-[rgba(177,184,255,0.08)] to-[rgba(17,28,132,0.05)]", }, { id: 3, category: "REINFORCEMENT LEARNING", title: "Production signals for continuous improvement", summary: "Capture rich traces to accelerate training and refinement", fullContent: "Plano captures hyper-rich tracing and log samples from production traffic, feeding into reinforcement learning and fine-tuning cycles. This accelerates iteration in areas like recommendation engines, helping teams quickly identify failures, refine prompts, and boost agent effectiveness based on real-user signals.", icon: TrendingUp, gradient: "from-[rgba(185,191,255,0.15)] via-[rgba(185,191,255,0.08)] to-[rgba(17,28,132,0.05)]", }, { id: 4, category: "CENTRALIZED SECURITY", title: "Built-in guardrails and centralized policies", summary: "Safe scaling with jailbreak detection and access controls", fullContent: "With built-in guardrails, centralized policies, and access controls, Plano ensures safe scaling across LLMs, detecting issues like jailbreak attempts. This is critical for deployments in regulated fields like finance or healthcare, and minimizing risks while standardizing reliability and security of agents.", icon: Shield, gradient: "from-[rgba(119,128,217,0.15)] via-[rgba(119,128,217,0.08)] to-[rgba(17,28,132,0.05)]", }, { id: 5, category: "ON-PREMISES DEPLOYMENT", title: "Full data control in regulated environments", summary: "Deploy on private infrastructure without compromising features", fullContent: "Plano's lightweight sidecar model deploys effortlessly on your private infrastructure, empowering teams in regulated sectors to maintain full data control while benefiting from unified LLM access, custom filter chains, and production-grade tracing—without compromising on security or scalability.", icon: Server, gradient: "from-[rgba(177,184,255,0.15)] via-[rgba(177,184,255,0.08)] to-[rgba(17,28,132,0.05)]", }, ]; export function UseCasesSection() { const [selectedUseCase, setSelectedUseCase] = useState(null); return (
{/* Section Header */}
{/* USE CASES Badge */}
USE CASES
{/* Main Heading and CTA Button */}

What's possible with Plano

{/* 5 Card Grid - Horizontal Row */}
{useCasesData.map((useCase) => ( setSelectedUseCase(useCase)} > {/* Category */}

{useCase.category}

{/* Title */}

{useCase.title}

{/* Learn More Link */}
))}
{/* Start building button - Mobile only, appears last */}
{/* Modal */} !open && setSelectedUseCase(null)} > {selectedUseCase && (() => { const IconComponent = selectedUseCase.icon; return ( {/* Gradient Background */}
{/* Decorative Border */}
{/* Custom Close Button */} Close {/* Content Container */}
{/* Header Section with Icon */}
{/* Icon Container - hidden on mobile */} {/* Title Section */}
USE CASE {selectedUseCase.title}
{selectedUseCase.category}
{selectedUseCase.fullContent} {/* Footer with CTA - mobile friendly */} {/* "Ready to get started?" is now first in column on mobile */}
Ready to get started?
); })()}
); }