'use client' import React, { useState } from 'react' import { useAgentAnalysis } from './_hooks/useAgentAnalysis' import { AnalysisResult } from './_components/AnalysisResult' import { AnalysisHistory } from './_components/AnalysisHistory' import { FollowUpQuestions } from './_components/FollowUpQuestions' export default function AgentPage() { const [url, setUrl] = useState('') const { analyze, answerFollowUp, loading, error, result, history } = useAgentAnalysis() const handleSubmit = (e: React.FormEvent) => { e.preventDefault() if (!url.trim()) return analyze(url.trim()) } return (
Analysiere Webseiten auf DSGVO-Konformitaet. Der Agent holt das Dokument, klassifiziert es, bewertet das Risiko und weist die Aufgabe der zustaendigen Rolle zu.