Skip to content

arnavgokhale12/cortex

Repository files navigation

Cortex - AI Agent Workspace

A visually stunning multi-agent AI system that demonstrates real-time collaboration between specialized AI agents. Watch agents reason, delegate tasks, and solve problems together.

Features

  • 5 Specialized Agents: Orchestrator (Nexus), Researcher (Scout), Coder (Forge), Critic (Sage), and Creative (Muse)
  • Real-time Streaming: See agent thoughts appear as they're generated
  • Visual Agent Network: Animated visualization of agent connections and activity
  • Task Delegation: Watch the orchestrator break down problems and delegate to specialists
  • Beautiful Dark UI: Glassmorphic design with smooth animations

Tech Stack

  • Next.js 16 with App Router
  • Vercel AI SDK with AI Gateway
  • Framer Motion for animations
  • Tailwind CSS + shadcn/ui
  • Zustand for state management

Getting Started

  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env.local

Add your API key:

  • ANTHROPIC_API_KEY for direct Anthropic access, or
  • Configure Vercel AI Gateway in your Vercel project
  1. Run the development server:
npm run dev
  1. Open http://localhost:3000

How It Works

  1. User Input: Enter a prompt or click an example
  2. Orchestration: Nexus analyzes the request and delegates subtasks
  3. Specialist Work: Relevant agents (Scout, Forge, Sage, Muse) process their assigned tasks
  4. Streaming Output: Watch thoughts stream in real-time with agent attribution
  5. Visual Feedback: See active agents pulse and connections light up

Deploy on Vercel

The easiest way to deploy is via Vercel:

  1. Push to GitHub
  2. Import to Vercel
  3. Add your ANTHROPIC_API_KEY environment variable
  4. Deploy

License

MIT

About

AI Agent Workspace - Watch AI agents collaborate in real-time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors