File size: 12,263 Bytes
e3c45a3 | 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 | <!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Agent Workspace | VAI</title>
<link rel="icon" type="image/x-icon" href="https://static.photos/technology/200x200/42">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
.glass-panel {
backdrop-filter: blur(16px);
background: rgba(16, 21, 27, 0.7);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.agent-header-gradient {
background: linear-gradient(90deg, rgba(16,185,129,0.1) 0%, rgba(16,21,27,0.7) 100%);
}
.task-item:hover {
transform: translateX(2px);
background: rgba(63, 242, 140, 0.05);
}
</style>
</head>
<body class="bg-dark-900 text-gray-200 font-sans min-h-screen">
<div class="container mx-auto px-4 py-8 max-w-7xl">
<!-- Agent Header -->
<header class="glass-panel rounded-2xl p-6 mb-8 agent-header-gradient">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-4">
<div class="w-16 h-16 rounded-full bg-gradient-to-br from-primary-500 to-secondary-500 flex items-center justify-center">
<i data-feather="cpu" class="text-dark-900 text-xl"></i>
</div>
<div>
<h1 class="text-3xl font-bold" id="agentName">Investor Director</h1>
<div class="flex items-center space-x-4 mt-1">
<span class="text-sm bg-secondary-500/20 text-secondary-500 px-3 py-1 rounded-full">Capital Team</span>
<span class="text-sm text-gray-400 flex items-center">
<span class="w-2 h-2 rounded-full bg-green-400 mr-1.5"></span>
Active
</span>
</div>
</div>
</div>
<div class="flex space-x-3">
<button class="px-4 py-2 bg-dark-800 hover:bg-dark-700 rounded-lg transition flex items-center">
<i data-feather="activity" class="mr-2"></i>
<span>Analytics</span>
</button>
<button class="px-4 py-2 bg-primary-500 hover:bg-primary-600 text-dark-900 rounded-lg transition flex items-center">
<i data-feather="settings" class="mr-2"></i>
<span>Configure</span>
</button>
</div>
</div>
</header>
<!-- Workspace Grid -->
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Task Management -->
<div class="lg:col-span-2 glass-panel rounded-2xl p-6">
<div class="flex justify-between items-center mb-6">
<h2 class="text-xl font-bold">Current Mission</h2>
<button class="px-3 py-1 bg-primary-500 hover:bg-primary-600 text-dark-900 rounded-lg text-sm">
<i data-feather="plus" class="w-3 h-3 mr-1"></i> New Task
</button>
</div>
<div class="space-y-3">
<!-- Task Item -->
<div class="task-item bg-dark-800 p-4 rounded-lg border-l-4 border-secondary-500 transition cursor-pointer">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium">Research Series A funding trends</h3>
<p class="text-sm text-gray-400 mt-1">Analyze last quarter's AI startup investments</p>
</div>
<div class="flex space-x-2">
<button class="text-xs text-green-400 hover:text-green-300">
<i data-feather="check" class="w-3 h-3"></i>
</button>
<button class="text-xs text-gray-400 hover:text-primary-500">
<i data-feather="more-vertical" class="w-3 h-3"></i>
</button>
</div>
</div>
<div class="flex items-center justify-between mt-3">
<span class="text-xs bg-secondary-500/10 text-secondary-500 px-2 py-0.5 rounded">In Progress</span>
<span class="text-xs text-gray-400">Started 2h ago</span>
</div>
</div>
<!-- Task Item -->
<div class="task-item bg-dark-800 p-4 rounded-lg border-l-4 border-primary-500 transition cursor-pointer">
<div class="flex justify-between items-start">
<div>
<h3 class="font-medium">Prepare investor memo</h3>
<p class="text-sm text-gray-400 mt-1">Summarize key findings for CEO review</p>
</div>
<div class="flex space-x-2">
<button class="text-xs text-gray-400 hover:text-primary-500">
<i data-feather="more-vertical" class="w-3 h-3"></i>
</button>
</div>
</div>
<div class="flex items-center justify-between mt-3">
<span class="text-xs bg-primary-500/10 text-primary-500 px-2 py-0.5 rounded">Pending Review</span>
<span class="text-xs text-gray-400">Due tomorrow</span>
</div>
</div>
</div>
<!-- Agent Communication -->
<div class="mt-8">
<h2 class="text-xl font-bold mb-4">Direct Command</h2>
<div class="bg-dark-800 rounded-xl p-4 border border-gray-700">
<textarea class="w-full bg-transparent border-none focus:outline-none resize-none mb-3" rows="3" placeholder="Issue direct command to this agent..."></textarea>
<div class="flex justify-end space-x-3">
<button class="px-4 py-2 bg-dark-700 hover:bg-dark-600 rounded-lg transition">
<i data-feather="paperclip" class="w-4 h-4 mr-2"></i>
<span>Attach</span>
</button>
<button class="px-4 py-2 bg-primary-500 hover:bg-primary-600 text-dark-900 rounded-lg transition">
<i data-feather="send" class="w-4 h-4 mr-2"></i>
<span>Send Instruction</span>
</button>
</div>
</div>
</div>
</div>
<!-- Agent Details -->
<div class="glass-panel rounded-2xl p-6">
<h2 class="text-xl font-bold mb-6">Agent Profile</h2>
<div class="space-y-6">
<div>
<h3 class="font-medium mb-3">Specialization</h3>
<p class="text-sm text-gray-300">Investor relations, market analysis, funding strategy, and capital acquisition.</p>
</div>
<div>
<h3 class="font-medium mb-3">Performance Metrics</h3>
<div class="space-y-4">
<div>
<div class="flex justify-between text-sm mb-1">
<span>Task Completion</span>
<span>87%</span>
</div>
<div class="h-1.5 bg-gray-800 rounded-full overflow-hidden">
<div class="bg-green-400 h-full rounded-full" style="width: 87%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span>Time Saved</span>
<span>14.5h this week</span>
</div>
<div class="h-1.5 bg-gray-800 rounded-full overflow-hidden">
<div class="bg-blue-400 h-full rounded-full" style="width: 72%"></div>
</div>
</div>
</div>
</div>
<div>
<h3 class="font-medium mb-3">Connected Services</h3>
<div class="flex flex-wrap gap-2">
<span class="text-xs bg-blue-400/10 text-blue-400 px-2 py-1 rounded">Crunchbase API</span>
<span class="text-xs bg-purple-500/10 text-purple-500 px-2 py-1 rounded">PitchBook</span>
<span class="text-xs bg-green-400/10 text-green-400 px-2 py-1 rounded">Notion</span>
<span class="text-xs bg-yellow-500/10 text-yellow-500 px-2 py-1 rounded">Google Sheets</span>
</div>
</div>
<div>
<h3 class="font-medium mb-3">Recent Activity</h3>
<div class="space-y-3 text-sm">
<div class="flex items-start space-x-3">
<div class="w-5 h-5 rounded-full bg-secondary-500/20 flex items-center justify-center mt-0.5">
<i data-feather="activity" class="text-secondary-500 w-3 h-3"></i>
</div>
<div>
<p>Completed market analysis of Q2 AI investments</p>
<p class="text-xs text-gray-400 mt-0.5">2 hours ago</p>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="w-5 h-5 rounded-full bg-secondary-500/20 flex items-center justify-center mt-0.5">
<i data-feather="file-text" class="text-secondary-500 w-3 h-3"></i>
</div>
<div>
<p>Generated investor memo draft</p>
<p class="text-xs text-gray-400 mt-0.5">4 hours ago</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
feather.replace();
// Get agent name from URL
const urlParams = new URLSearchParams(window.location.search);
const agent = urlParams.get('agent');
if (agent) {
document.getElementById('agentName').textContent = agent;
}
// Task interaction
document.querySelectorAll('.task-item').forEach(item => {
item.addEventListener('click', (e) => {
if (!e.target.closest('button')) {
// Show task details in a modal
alert(`Opening task details for: ${item.querySelector('h3').textContent}`);
}
});
});
</script>
</body>
</html> |