Constructive
Co-Founder & Head of Infrastructure
AI Agent Infrastructure
- Built Calvin, an AI automation platform on Kubernetes (GKE + NVIDIA L4 GPUs) that automates issue triage, PR review, CI debugging, and cross-repo failure analysis. Eliminated the need for a dedicated PM and reduced QA turnaround significantly.
- Deployed self-hosted LLM inference via vLLM: Gemma 3 12B and GLM-4.5 Air (106B MoE) with 32K–128K context, OpenAI-compatible APIs, and tool calling.
- Built Go sidecars for agent infrastructure: multi-provider OAuth PKCE credential manager (Anthropic, OpenAI, Google) and a workspace introspection HTTP server.
- Architected a skills-as-code system: agent capabilities packaged as versioned markdown runbooks, deployed via init containers with persistent storage.
- Designed AgenticKit (TypeScript) and MCP tooling for multi-provider LLM streaming and structured agent-tool integration.
Platform & Developer Infrastructure
- Built Constructive, a multi-tenant database platform — 134+ packages across 3 monorepos — enforcing tenant isolation through a session-aware security layer (PostgreSQL RLS + JWT claims).
- Architected SPRT (Security Predicate Resolution Tables), an authorization system that reduces recursive permission lookups from O(n^d) to O(log n) across a three-level hierarchy (app/org/group).
- Designed a bitstring permission model for O(1) authorization checks via bitwise operations, materializing multi-source permission bundles into a single bitmask per actor-entity pair.
- Built pgpm, a package manager for SQL modules with npm-style dependency resolution and deterministic migrations backed by a content-addressable object store.
- Architected a GraphQL plugin ecosystem with 14+ custom plugins covering unified search (full-text + vector + trigram), geospatial queries, file uploads, and LLM/RAG integration.
- Designed a composable authentication system supporting password, OAuth/OIDC, magic link, OTP, WebAuthn/passkeys, and TOTP 2FA.
- Built a cross-repo integration testing system using git submodules as a "known-good stack pointer." CI/CD state machine with rolling PRs and automated merge. 175+ automated cycles, 67% of PRs fully automated. Eliminated manual integration testing.
- Maintained widely-used open-source tooling: pgsql-parser (221 stars), libpg-query-node (75 stars), postgres-ast-deparser (39 stars), and KubernetesJS (27 stars).