GridWork HQ

GridWork HQ Documentation

Complete documentation for GridWork HQ — the self-hosted agency ops dashboard with 17 AI pipelines, 12 automated cron jobs, and a full knowledge vault system.

GridWork HQ Documentation

GridWork HQ is a self-hosted agency operations dashboard built for solo agency owners who want AI-powered automation without giving up control. It ships as two packages — a Next.js dashboard and a Node.js pipeline server — that work together to run your entire agency from one interface.

What You Get

  • Dashboard — Next.js 16 app with client tracking, pipeline management, finance overview, cron monitoring, and an AI chat assistant. Authenticated via GitHub OAuth.
  • Pipeline Server — Node.js HTTP server that spawns Claude Code processes to execute 17 AI pipelines. Handles job queuing, cron scheduling, and SSE streaming back to the dashboard.
  • Knowledge Vault — A git-backed repository of templates, client files, pipeline definitions, and memory files that the AI uses as context for every pipeline run.
  • 12 Cron Jobs — Automated tasks for knowledge maintenance, output archiving, weekly updates, scope audits, email sync, and more.
  • Document Compiler — 7 compile types that transform raw pipeline output into branded, client-ready documents.

Architecture

┌──────────────────────────┐
│   GridWork HQ Dashboard  │  ← Next.js 16 + TypeScript + Tailwind v4
│   (port 3000)            │     SQLite via Drizzle ORM
│                          │     GitHub OAuth authentication
│   - Mission Control      │
│   - Client Tracker       │
│   - Pipeline Kanban      │
│   - Finance Panel        │
│   - Cron Dashboard       │
│   - AI Chat (FAB)        │
└────────┬─────────────────┘
         │ Bearer token auth
┌────────▼─────────────────┐
│   Pipeline Server        │  ← Node.js HTTP server
│   (port 8750)            │     Claude Code spawner
│                          │     12 cron jobs
│   - Job queue (max 3)    │     SSE streaming
│   - Cron scheduler       │
│   - Telegram alerts      │
└────────┬─────────────────┘

┌────────▼─────────────────┐
│   Knowledge Vault        │  ← Git repository
│                          │     Pipeline definitions
│   - system/rules/        │     Client folders
│   - clients/             │     Memory files
│   - memory/              │     Output archive
│   - .output/             │
└──────────────────────────┘

Getting Started

Installation

Core Features

Configuration

Reference

Tech Stack

LayerTechnology
DashboardNext.js 16, TypeScript, Tailwind CSS v4, shadcn/ui
DatabaseSQLite via Drizzle ORM (local) or Turso (cloud)
AuthNextAuth with GitHub OAuth
Pipeline ServerNode.js, Claude Code CLI
AIClaude (Anthropic) — Haiku, Sonnet, and Opus models
IntegrationsNotion, GitHub, Stripe, Vercel, GA4, Search Console
NotificationsTelegram bot

Requirements at a Glance

RequirementMinimum
Node.js20.x (22.x recommended)
RAM8 GB (16 GB recommended)
Disk10 GB free
OSmacOS 13+ or Ubuntu 22.04+
Anthropic API KeyRequired
GitHub AccountRequired

On this page