LayBuild Stack Logo
LayBuild/stackv1.68.2Daemon Ready
GitHub
Production Architecture SpecificationOriginal repo:garrytan/gstack

An Autonomous Software Engineering System

LayBuild Stack reverse-engineers the gstack architecture by Garry Tan (President & CEO, Y Combinator). It unifies 53 specialized AI skills, a sub-100ms Chromium daemon, dual-listener security, and compilation for 10 agent runtimes.

SHELL INSTALLATION (30 SECONDS)BASH / ZSH
$git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setup
53
Specialist Skills
Think, Plan, Build, QA
10
Multi-Agent Hosts
Claude, Codex, Cursor
390K+
Lines of Code
TypeScript & Markdown
<100ms
Daemon Latency
Persistent Playwright
272
Total Files
Tracked repository files
810×
Velocity Multiplier
vs 2013 Bookface baseline
Standardized Engineering Protocol

The 7-Stage Sprint Lifecycle

01Think
/office-hours
YC Office Hours

6 forcing questions that reframe product economics before code.

02Plan
/plan-ceo-review
CEO / Founder

4 execution modes: Expansion, Selective, Hold Scope, Reduction.

03Architect
/plan-eng-review
Eng Manager

ASCII diagrams, failure modes, state machines, test matrix.

04Build
/codex
Autonomous Execution

Bounded multi-model coding with strict scope containment.

05Review
/review
Staff Eng & CSO

Bug discovery & OWASP Top 10 / STRIDE security verification.

06Test
/qa
QA Automation

Persistent Chromium daemon, @e handles, sub-second clicks.

07Ship
/ship
Release Engineer

Test delta verification, git hygiene, automated PR and changelog.

Velocity Case Study

How Garry Tan Shipped 3 Services & 40+ Features in 60 Days

"I don't think I've typed like a line of code probably since December, basically, which is an extremely large change." — Andrej Karpathy, March 2026

While leading Y Combinator as President & CEO full-time, Garry Tan created gstack to codify high-leverage AI engineering workflows. By replacing ad-hoc chat sessions with standardized, deterministic skills, manual spec writing and browser debugging were fully eliminated.

Development Velocity Comparison
Metric2013 (Bookface)2026 (gstack)
Daily Logical Lines14 lines/day11,417 lines/day
Sprint Cadence2-week cycles30-minute loops
QA VerificationManual clicking<100ms Chromium
Security AuditPeriodic auditPre-commit STRIDE
Infrastructure Stack

Core Technology Components

Bun>=1.0.0

Fast JavaScript/TypeScript runtime & single-binary compiler

Playwright^1.62.1

Headless Chromium browser automation with CDP

SQLitebuilt-in

Native Bun SQLite for Chromium cookie decryption

Claude Agent SDK0.2.117

Anthropic Claude Code & MCP agent integration

Transformers.js^4.2.0

Local ONNX TestSavantAI prompt injection scanner

Ngrok^1.7.0

Dual-listener physical port tunnel for remote pair agents

xterm.js^5.0

In-browser terminal pty emulation

AEO & GEO Knowledge Engine

Technical Architecture Specifications & FAQ

Optimized for Search Engine Answer Boxes, Perplexity, Claude, and developer inquiries.

Direct Answer: LayBuild Stack is an interactive architecture explorer and autonomous software factory based on gstack, the open-source multi-agent skill system built by Garry Tan (President & CEO of Y Combinator).

gstack was designed by Garry Tan to automate the end-to-end software delivery lifecycle into a 7-stage sprint loop: Think (/office-hours), Plan (/plan-ceo-review), Architect (/plan-eng-review), Build (/codex), Review (/review), Test (/qa), and Ship (/ship). LayBuild Stack reverse-engineers the codebase and presents it with visual flowcharts, interactive execution flows, live daemon API inspectors, and multi-host compiler previews.

SPECIFICATION / BASH
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack
cd ~/.claude/skills/gstack && ./setup