File size: 30,887 Bytes
1e0579c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Enhanced Super Agent UI</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #6e8efb, #a777e3);
}
.agent-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.fade-in {
animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.typing {
border-right: 2px solid;
animation: typing 1s steps(40, end), blink-caret .75s step-end infinite;
}
@keyframes typing {
from { width: 0 }
to { width: 100% }
}
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #4f46e5; }
}
</style>
</head>
<body class="bg-gray-50 min-h-screen">
<!-- Header -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-3">
<i class="fas fa-robot text-3xl"></i>
<h1 class="text-2xl font-bold">Enhanced Super Agent</h1>
<span class="bg-indigo-100 text-indigo-800 text-xs font-medium px-2.5 py-0.5 rounded-full">v0.2-dev</span>
</div>
<div class="flex space-x-4">
<button class="bg-white/20 hover:bg-white/30 px-4 py-2 rounded-lg flex items-center space-x-2 transition">
<i class="fas fa-cog"></i>
<span>Settings</span>
</button>
<button class="bg-white/20 hover:bg-white/30 px-4 py-2 rounded-lg flex items-center space-x-2 transition">
<i class="fas fa-question-circle"></i>
<span>Help</span>
</button>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Left Sidebar - Agent Selection -->
<div class="lg:col-span-1 space-y-6">
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-xl font-semibold mb-4 text-gray-800">Available Agents</h2>
<div class="space-y-4">
<!-- Planner Agent -->
<div class="agent-card bg-white border border-gray-200 rounded-lg p-4 transition cursor-pointer hover:border-indigo-300">
<div class="flex items-center space-x-3">
<div class="bg-indigo-100 p-2 rounded-full">
<i class="fas fa-tasks text-indigo-600"></i>
</div>
<div>
<h3 class="font-medium">Planner Agent</h3>
<p class="text-sm text-gray-500">Creates detailed plans and itineraries</p>
</div>
</div>
</div>
<!-- Phone Agent -->
<div class="agent-card bg-white border border-gray-200 rounded-lg p-4 transition cursor-pointer hover:border-indigo-300">
<div class="flex items-center space-x-3">
<div class="bg-blue-100 p-2 rounded-full">
<i class="fas fa-phone-alt text-blue-600"></i>
</div>
<div>
<h3 class="font-medium">Phone Agent</h3>
<p class="text-sm text-gray-500">Makes calls and handles reservations</p>
</div>
</div>
</div>
<!-- Video Agent -->
<div class="agent-card bg-white border border-gray-200 rounded-lg p-4 transition cursor-pointer hover:border-indigo-300">
<div class="flex items-center space-x-3">
<div class="bg-purple-100 p-2 rounded-full">
<i class="fas fa-video text-purple-600"></i>
</div>
<div>
<h3 class="font-medium">Video Agent</h3>
<p class="text-sm text-gray-500">Generates video content</p>
</div>
</div>
</div>
<!-- Research Agent -->
<div class="agent-card bg-white border border-gray-200 rounded-lg p-4 transition cursor-pointer hover:border-indigo-300">
<div class="flex items-center space-x-3">
<div class="bg-green-100 p-2 rounded-full">
<i class="fas fa-search text-green-600"></i>
</div>
<div>
<h3 class="font-medium">Research Agent</h3>
<p class="text-sm text-gray-500">Performs deep research on topics</p>
</div>
</div>
</div>
<!-- Data Analysis Agent -->
<div class="agent-card bg-white border border-gray-200 rounded-lg p-4 transition cursor-pointer hover:border-indigo-300">
<div class="flex items-center space-x-3">
<div class="bg-yellow-100 p-2 rounded-full">
<i class="fas fa-chart-bar text-yellow-600"></i>
</div>
<div>
<h3 class="font-medium">Data Analysis</h3>
<p class="text-sm text-gray-500">Analyzes datasets and statistics</p>
</div>
</div>
</div>
<!-- Web Agent -->
<div class="agent-card bg-white border border-gray-200 rounded-lg p-4 transition cursor-pointer hover:border-indigo-300">
<div class="flex items-center space-x-3">
<div class="bg-red-100 p-2 rounded-full">
<i class="fas fa-globe text-red-600"></i>
</div>
<div>
<h3 class="font-medium">Web Agent</h3>
<p class="text-sm text-gray-500">Creates web content</p>
</div>
</div>
</div>
<!-- Content Synthesis Agent -->
<div class="agent-card bg-white border border-gray-200 rounded-lg p-4 transition cursor-pointer hover:border-indigo-300">
<div class="flex items-center space-x-3">
<div class="bg-pink-100 p-2 rounded-full">
<i class="fas fa-file-alt text-pink-600"></i>
</div>
<div>
<h3 class="font-medium">Content Synthesis</h3>
<p class="text-sm text-gray-500">Creates summaries and reports</p>
</div>
</div>
</div>
</div>
</div>
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-xl font-semibold mb-4 text-gray-800">Quick Actions</h2>
<div class="grid grid-cols-2 gap-3">
<button class="bg-indigo-50 hover:bg-indigo-100 text-indigo-700 py-2 px-3 rounded-lg text-sm font-medium transition flex items-center space-x-2">
<i class="fas fa-plane"></i>
<span>Plan Trip</span>
</button>
<button class="bg-blue-50 hover:bg-blue-100 text-blue-700 py-2 px-3 rounded-lg text-sm font-medium transition flex items-center space-x-2">
<i class="fas fa-book"></i>
<span>Research</span>
</button>
<button class="bg-purple-50 hover:bg-purple-100 text-purple-700 py-2 px-3 rounded-lg text-sm font-medium transition flex items-center space-x-2">
<i class="fas fa-video"></i>
<span>Create Video</span>
</button>
<button class="bg-green-50 hover:bg-green-100 text-green-700 py-2 px-3 rounded-lg text-sm font-medium transition flex items-center space-x-2">
<i class="fas fa-file-csv"></i>
<span>Analyze Data</span>
</button>
</div>
</div>
</div>
<!-- Main Chat Area -->
<div class="lg:col-span-2 space-y-6">
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="border-b border-gray-200 px-6 py-4">
<h2 class="text-xl font-semibold text-gray-800">Agent Console</h2>
</div>
<!-- Chat Messages -->
<div class="h-96 overflow-y-auto p-6 space-y-4" id="chat-messages">
<div class="flex items-start space-x-3">
<div class="bg-indigo-100 p-2 rounded-full">
<i class="fas fa-robot text-indigo-600"></i>
</div>
<div class="bg-gray-50 rounded-lg p-3 max-w-3xl">
<p class="text-gray-800">Hello! I'm your Enhanced Super Agent. How can I assist you today?</p>
<p class="text-xs text-gray-500 mt-1">System initialized with safety protocols active</p>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="bg-gray-100 p-2 rounded-full">
<i class="fas fa-user text-gray-600"></i>
</div>
<div class="bg-blue-50 rounded-lg p-3 max-w-3xl">
<p class="text-gray-800">Plan a trip to San Diego for April 24-29, focusing on seafood and cultural sites. Then book Peohe's for dinner on the 26th for 4 people (one shellfish allergy, one vegetarian), window table preferred.</p>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="bg-indigo-100 p-2 rounded-full">
<i class="fas fa-robot text-indigo-600"></i>
</div>
<div class="bg-gray-50 rounded-lg p-3 max-w-3xl">
<p class="text-gray-800">[PlannerAgent] Creating itinerary for 5-day trip to San Diego...</p>
<p class="text-gray-800 mt-2">[PhoneAgent] Calling Peohe's restaurant for reservation...</p>
<div class="mt-3 bg-green-50 border border-green-100 rounded-lg p-3">
<p class="text-green-800 font-medium">Success! Your trip is planned and reservation is confirmed.</p>
<div class="mt-2 text-sm text-gray-700">
<p>• 5-day itinerary created with seafood and cultural focus</p>
<p>• Dinner reservation at Peohe's on April 26th for 4 people</p>
<p>• Special requests noted: shellfish allergy & vegetarian</p>
</div>
</div>
</div>
</div>
</div>
<!-- Input Area -->
<div class="border-t border-gray-200 p-4 bg-gray-50">
<div class="flex space-x-3">
<div class="flex-grow relative">
<textarea id="user-input" class="w-full border border-gray-300 rounded-lg pl-4 pr-12 py-3 focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500" rows="2" placeholder="Type your request here..."></textarea>
<div class="absolute right-3 bottom-3 flex space-x-2">
<button class="text-gray-400 hover:text-gray-600">
<i class="fas fa-paperclip"></i>
</button>
<button class="text-gray-400 hover:text-gray-600">
<i class="fas fa-microphone"></i>
</button>
</div>
</div>
<button id="send-button" class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-3 rounded-lg transition">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<!-- Agent Status -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-xl font-semibold mb-4 text-gray-800">Agent Status</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div class="bg-gray-50 rounded-lg p-4">
<div class="flex items-center justify-between mb-2">
<h3 class="font-medium text-gray-700">System Health</h3>
<span class="bg-green-100 text-green-800 text-xs font-medium px-2.5 py-0.5 rounded-full">Active</span>
</div>
<div class="space-y-3">
<div>
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-500">CPU Usage</span>
<span class="font-medium">24%</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-1.5">
<div class="bg-blue-600 h-1.5 rounded-full" style="width: 24%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span class="text-gray-500">Memory</span>
<span class="font-medium">1.2GB/4GB</span>
</div>
<div class="w-full bg-gray-200 rounded-full h-1.5">
<div class="bg-purple-600 h-1.5 rounded-full" style="width: 30%"></div>
</div>
</div>
</div>
</div>
<div class="bg-gray-50 rounded-lg p-4">
<div class="flex items-center justify-between mb-2">
<h3 class="font-medium text-gray-700">Recent Activity</h3>
<span class="bg-blue-100 text-blue-800 text-xs font-medium px-2.5 py-0.5 rounded-full">3 tasks</span>
</div>
<div class="space-y-3">
<div class="flex items-center space-x-3">
<div class="bg-green-100 p-1 rounded-full">
<i class="fas fa-check-circle text-green-600 text-sm"></i>
</div>
<div>
<p class="text-sm font-medium">Trip planning completed</p>
<p class="text-xs text-gray-500">2 minutes ago</p>
</div>
</div>
<div class="flex items-center space-x-3">
<div class="bg-green-100 p-1 rounded-full">
<i class="fas fa-check-circle text-green-600 text-sm"></i>
</div>
<div>
<p class="text-sm font-medium">Restaurant reservation</p>
<p class="text-xs text-gray-500">5 minutes ago</p>
</div>
</div>
<div class="flex items-center space-x-3">
<div class="bg-yellow-100 p-1 rounded-full">
<i class="fas fa-spinner text-yellow-600 text-sm animate-spin"></i>
</div>
<div>
<p class="text-sm font-medium">Processing request</p>
<p class="text-xs text-gray-500">Just now</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-100 border-t border-gray-200 py-6 mt-12">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-2 mb-4 md:mb-0">
<i class="fas fa-robot text-indigo-600"></i>
<span class="font-medium">Enhanced Super Agent</span>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-600 hover:text-indigo-600 transition">Privacy</a>
<a href="#" class="text-gray-600 hover:text-indigo-600 transition">Terms</a>
<a href="#" class="text-gray-600 hover:text-indigo-600 transition">Documentation</a>
<a href="#" class="text-gray-600 hover:text-indigo-600 transition">Contact</a>
</div>
</div>
<div class="mt-4 text-center md:text-left text-sm text-gray-500">
<p>© 2023 Enhanced Super Agent. All rights reserved. Version 0.2-dev</p>
</div>
</div>
</footer>
<script>
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=3rd3y3/w9s3r" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |