Skip to content

SaintVisionAi/DevChatAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Cookin' Knowledge - Your Gotta Guyβ„’

Patent Protected Enterprise Ready AI Powered

πŸ”₯ Vision & Mission

Cookin' Knowledge (SaintSalβ„’) embodies the digital legacy of Sal Couzzo - IQ 157, former Goldman Sachs executive track. This isn't just another AI chatbot. It's The Gotta Guyβ„’ - your on-demand expert across EVERY domain. Like having a Goldman Sachs CEO, Silicon Valley CTO, elite law firm partner, and Pentagon contractor all in your pocket, available 24/7.

The Gotta Guyβ„’ Principle

  • Whatever the problem β†’ You HAVE the answer. Not "I'll try" - you KNOW.
  • Whatever the need β†’ You HAVE the solution. Not "maybe" - you DELIVER.
  • Whatever the complexity β†’ You SOLVE it. Not "it's complicated" - you EXECUTE.

Full-spectrum dominance across business, technology, law, and strategy. Protected by U.S. Patent #10,290,222 for escalation/de-escalation in virtual environments.


✨ Core Functionalities

🎯 Five AI Modes

  1. πŸ’¬ Chat Mode - Context-aware conversations with extended memory that learns your preferences
  2. πŸ” Web Search - Real-time internet search via Perplexity API with cited sources
  3. 🧠 Deep Research - 3-step chain-of-thought analysis: Understanding β†’ Research β†’ Synthesis
  4. πŸ’» Code Agent - Multi-file code generation, editing, debugging, and refactoring
  5. 🎀 Voice Mode - Walkie-talkie push-to-talk with ElevenLabs TTS (critical for 81% mobile users)

🧠 Revolutionary Memory Architecture

  • Personal Memory: Per-user conversation context, writing style, domain knowledge, and preferences
  • Team Memory: Shared organizational knowledge base with category tagging and access control
  • AI Summaries: Automatic conversation summarization with topic extraction
  • Context Persistence: Full historical context maintained across all sessions

🎨 Premium "Apple meets SaintSalβ„’" Design

  • Deep charcoal black (#0f0f0f) for executive luxury
  • Metallic gold accents (#E6B325) with subtle glow effects
  • Neon blue highlights (#4DA6FF) for interactive elements
  • Glass-morphism UI optimized for mobile-first experience
  • Space Grotesk typography for modern, sophisticated aesthetic

πŸš€ Enterprise Features

  • Artifacts Panel: Display and manage generated code files, documents, and content in real-time
  • WebSocket Streaming: Token-by-token AI responses for instant feedback
  • Multi-Provider AI: Anthropic Claude, OpenAI GPT, Google Gemini, Perplexity, Grok
  • Vision Capabilities: Image analysis and understanding via Gemini Vision API
  • Text-to-Speech: Natural voice synthesis powered by ElevenLabs
  • API Playground: Enterprise-grade API testing with request/response inspection
  • Role-Based Access: Admin, developer, and viewer permissions with audit trails

πŸ’° Pricing Tiers

  • Starter ($27/mo): 500 messages, basic features, community support
  • Pro ($97/mo): 5,000 messages, priority support, advanced features, team memory
  • Enterprise ($297/mo): Unlimited messages, white-label, dedicated support, custom integrations

πŸ› οΈ Tech Stack

  • Frontend: React 18 + TypeScript + Vite + TailwindCSS + Shadcn/ui
  • Backend: Node.js + Express + WebSocket
  • Database: PostgreSQL (Neon) + Drizzle ORM
  • AI Providers:
    • Anthropic Claude (Sonnet 4.5, Haiku, Opus)
    • OpenAI (GPT-4o, GPT-4.5)
    • Perplexity (Web Search with Citations)
    • Google Gemini (Vision Analysis)
    • ElevenLabs (Text-to-Speech)
    • Grok (X.AI Integration)
  • Auth: OpenID Connect (Replit Auth) with session-based security
  • Payments: Stripe subscription management

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • PostgreSQL database (provided via Neon)
  • API Keys (see Environment Variables)

Installation

# Install dependencies
npm install

# Set up environment variables
# Copy secrets from Replit Secrets panel

# Push database schema
npm run db:push

# Start development server
npm run dev

Environment Variables

Required secrets (set in Replit Secrets panel):

# Core (Required)
DATABASE_URL=postgresql://...
SESSION_SECRET=your-secret-here
ISSUER_URL=https://replit.com/oidc
REPL_ID=your-repl-id

# AI Providers
ANTHROPIC_API_KEY=sk-ant-...
OPENAI_API_KEY=sk-...
PERPLEXITY_API_KEY=pplx-...
GEMINI_API_KEY=...
ELEVENLABS_API_KEY=...
GROK_API_KEY=xai-...

# Stripe (Optional)
STRIPE_SECRET_KEY=sk_live_...
VITE_STRIPE_PUBLIC_KEY=pk_live_...

πŸ“¦ Project Structure

cookin-knowledge/
β”œβ”€β”€ client/                 # React frontend
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ pages/         # Page components (Chat, Dashboard, Playground)
β”‚   β”‚   β”œβ”€β”€ components/    # Reusable UI components
β”‚   β”‚   └── lib/           # Utilities and helpers
β”œβ”€β”€ server/                # Express backend
β”‚   β”œβ”€β”€ providers/         # AI provider integrations
β”‚   β”‚   β”œβ”€β”€ anthropic.ts  # Claude integration
β”‚   β”‚   β”œβ”€β”€ openai.ts     # GPT integration
β”‚   β”‚   └── perplexity.ts # Web search
β”‚   β”œβ”€β”€ routes.ts          # RESTful API routes
β”‚   β”œβ”€β”€ websocket.ts       # Real-time streaming
β”‚   β”œβ”€β”€ replitAuth.ts      # OIDC authentication
β”‚   └── storage.ts         # Database operations
β”œβ”€β”€ shared/                # Shared types/schemas
β”‚   └── schema.ts          # Drizzle ORM schema
└── VERCEL_DEPLOYMENT.md   # Production deployment guide

πŸ” Security Features

  • OIDC Authentication via Replit (enterprise-grade)
  • Session-based WebSocket auth with PostgreSQL persistence
  • Role-based access control (Admin, Developer, Viewer)
  • Encrypted API key management via environment secrets
  • Multi-user data isolation verified and tested
  • Secure session handling with connect-pg-simple

πŸ“± Mobile-First PWA Features

  • Prominent walkie-talkie button for voice (81% mobile users)
  • Responsive chat UI with keyboard optimization
  • Touch-optimized controls (44px+ touch targets)
  • Sticky input positioning for seamless interaction
  • Installable on iOS and Android devices
  • Offline capable with service workers
  • App-like experience with native feel

🚒 Production Deployment

Vercel Deployment (Recommended)

See VERCEL_DEPLOYMENT.md for complete deployment guide including:

  • Environment variable setup
  • Database configuration
  • WebSocket configuration
  • Production build optimization
  • Domain configuration

Build Commands

# Production build
npm run build

# Database schema sync
npm run db:push

πŸ“Š Database Schema

Extended memory architecture with:

  • Users: Authentication, roles, Stripe subscriptions
  • Conversations: Chat sessions with mode, context, summaries, team sharing
  • Messages: Full message history with search results, reasoning, code files, voice transcripts
  • Team Memory: Shared organizational knowledge base
  • API Environments: Named configurations for API playground
  • Sessions: Secure PostgreSQL-based session storage

πŸ“– Synopsis

Cookin' Knowledge (SaintSalβ„’) represents the evolution from basic AI chatbots to comprehensive knowledge partners. Built for professionals who demand Goldman Sachs-level expertise on demand, this platform combines five specialized AI modes with revolutionary extended memory systems that learn and adapt to individual users and teams.

Designed mobile-first for the 81% of users on-the-go, featuring premium glass-morphism UI with deep charcoal, gold, and neon blue aesthetics. Enterprise-ready with Stripe subscription management, multi-provider AI integration (Claude, GPT, Gemini, Perplexity, Grok), and patent-protected interaction methodologies.

Whether you need instant answers, deep research with citations, multi-file code generation, or voice interaction via walkie-talkie, SaintSalβ„’ is Your Gotta Guyβ„’ - delivering full-spectrum dominance across every domain of knowledge. Not just AI. Not just a tool. Your complete knowledge partner operating at the apex of human intelligence across business, technology, law, and strategy.

Production Status: βœ… Ready for Vercel deployment with complete authentication, PostgreSQL database, WebSocket streaming, and multi-AI provider integration verified and tested.


🀝 Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes with clear commit messages
  4. Submit a pull request

πŸ“„ License

Protected by U.S. Patent #10,290,222 for escalation/de-escalation in virtual environments. All rights reserved.


🌐 Links & Support


πŸ‘¨β€πŸ’» Author

Ryan Keller - SaintSalβ„’
Bringing Sal Couzzo's legacy to the digital age


Your Gotta Guyβ„’ for Everything
Full-Spectrum Dominance. Patent Protected. Enterprise Ready.

Built with ❀️ using Replit