From 5fdfb47af4a98193f6fea6965df271e01030c919 Mon Sep 17 00:00:00 2001 From: vukrosic Date: Thu, 25 Sep 2025 12:41:49 +0200 Subject: [PATCH 01/12] a --- app/layout.tsx | 4 +- app/page.tsx | 120 +--- app/projects/page.tsx | 288 ++++++++ components/ui/avatar.tsx | 50 ++ components/ui/badge.tsx | 36 + components/ui/card.tsx | 76 +++ components/ui/dialog.tsx | 122 ++++ components/ui/dropdown-menu.tsx | 201 ++++++ components/ui/form.tsx | 178 +++++ components/ui/input.tsx | 22 + components/ui/label.tsx | 26 + components/ui/progress.tsx | 28 + components/ui/scroll-area.tsx | 48 ++ components/ui/select.tsx | 159 +++++ components/ui/separator.tsx | 31 + components/ui/table.tsx | 120 ++++ components/ui/tabs.tsx | 55 ++ components/ui/textarea.tsx | 22 + package-lock.json | 1135 +++++++++++++++++++++++++++++-- package.json | 14 +- 20 files changed, 2541 insertions(+), 194 deletions(-) create mode 100644 app/projects/page.tsx create mode 100644 components/ui/avatar.tsx create mode 100644 components/ui/badge.tsx create mode 100644 components/ui/card.tsx create mode 100644 components/ui/dialog.tsx create mode 100644 components/ui/dropdown-menu.tsx create mode 100644 components/ui/form.tsx create mode 100644 components/ui/input.tsx create mode 100644 components/ui/label.tsx create mode 100644 components/ui/progress.tsx create mode 100644 components/ui/scroll-area.tsx create mode 100644 components/ui/select.tsx create mode 100644 components/ui/separator.tsx create mode 100644 components/ui/table.tsx create mode 100644 components/ui/tabs.tsx create mode 100644 components/ui/textarea.tsx diff --git a/app/layout.tsx b/app/layout.tsx index f7fa87e..df19ef6 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -13,8 +13,8 @@ const geistMono = Geist_Mono({ }); export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", + title: "Auto AI Research System", + description: "Fully autonomous, web-based AI research platform", }; export default function RootLayout({ diff --git a/app/page.tsx b/app/page.tsx index 06b0fa6..7626644 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,120 +1,6 @@ -export default function Home() { - return ( -
- {/* Header */} -
- -
- - {/* Hero Section */} -
-
-

- Open Superintelligence Lab -

-

- Making AI development accessible with scalable superintelligence research -

- - {/* Vision Section */} -
-

Our Vision

-

- Any company or person (even with no technical experience) should be able to download this repository - and run it on their GPU setup - from 1 GPU to 1 million GPUs. The system will be able to automatically - detect your hardware configuration, tune hyperparameters for optimal performance, and run the best - possible training with or without manual configuration from your side. -

-
- - {/* Key Features */} -
-
-
šŸš€
-

Auto-Scaling

-

Seamlessly scale from single GPU to massive distributed clusters

-
-
-
⚔
-

Auto-Tuning

-

Intelligent hyperparameter optimization for your hardware

-
-
-
šŸ”§
-

Zero-Config

-

Works out of the box with automatic hardware detection

-
-
+import { redirect } from 'next/navigation'; - {/* Blueberry LLM Section */} -
-

Blueberry LLM 🫐

-

- Our flagship Mixture of Experts (MoE) language model implementation. Clone, install dependencies, - and train your own language model with a single command. Perfect for researchers and developers - looking to experiment with cutting-edge AI architectures. -

- -
- - {/* Call to Action */} -
- - Read Our Blog - - - Join Our Community - -
-
-
- - {/* Footer */} - -
- ); +export default function Home() { + redirect('/projects'); } diff --git a/app/projects/page.tsx b/app/projects/page.tsx new file mode 100644 index 0000000..bae486f --- /dev/null +++ b/app/projects/page.tsx @@ -0,0 +1,288 @@ +'use client'; + +import { useState } from 'react'; +import { Button } from '@/components/ui/button'; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'; +import { Badge } from '@/components/ui/badge'; +import { Input } from '@/components/ui/input'; +import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger } from '@/components/ui/dialog'; +import { Label } from '@/components/ui/label'; +import { Textarea } from '@/components/ui/textarea'; +import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'; +import { Plus, Search, Filter, Play, Pause, Square, MoreHorizontal } from 'lucide-react'; +import Link from 'next/link'; + +// Mock data for projects +const mockProjects = [ + { + id: '1', + name: 'Language Model Training', + description: 'Training a 7B parameter language model on custom dataset', + status: 'running', + runs: 3, + lastRun: '2 hours ago', + cost: '$45.20', + models: ['GPT-3.5', 'Llama-2'], + tags: ['NLP', 'Training'] + }, + { + id: '2', + name: 'Computer Vision Classification', + description: 'Image classification model for medical imaging', + status: 'completed', + runs: 8, + lastRun: '1 day ago', + cost: '$123.50', + models: ['ResNet', 'ViT'], + tags: ['CV', 'Medical'] + }, + { + id: '3', + name: 'Reinforcement Learning Agent', + description: 'RL agent for autonomous navigation', + status: 'paused', + runs: 2, + lastRun: '3 days ago', + cost: '$78.90', + models: ['PPO', 'SAC'], + tags: ['RL', 'Navigation'] + }, + { + id: '4', + name: 'Text Generation Research', + description: 'Exploring novel text generation techniques', + status: 'failed', + runs: 1, + lastRun: '1 week ago', + cost: '$12.30', + models: ['GPT-4', 'Claude'], + tags: ['NLP', 'Research'] + } +]; + +const statusColors = { + running: 'bg-green-500', + completed: 'bg-blue-500', + paused: 'bg-yellow-500', + failed: 'bg-red-500' +}; + +const statusLabels = { + running: 'Running', + completed: 'Completed', + paused: 'Paused', + failed: 'Failed' +}; + +export default function ProjectsPage() { + const [projects] = useState(mockProjects); + const [searchTerm, setSearchTerm] = useState(''); + const [statusFilter, setStatusFilter] = useState('all'); + + const filteredProjects = projects.filter(project => { + const matchesSearch = project.name.toLowerCase().includes(searchTerm.toLowerCase()) || + project.description.toLowerCase().includes(searchTerm.toLowerCase()); + const matchesStatus = statusFilter === 'all' || project.status === statusFilter; + return matchesSearch && matchesStatus; + }); + + return ( +
+ {/* Header */} +
+
+
+
+

Auto AI Research System

+

Fully autonomous AI research platform

+
+
+ + + + + + + Create New Project + + Create a new AI research project. Configure your research goals and connect your resources. + + +
+
+ + +
+
+ +