Built for developers who ship
x4 was born from the frustration of setting up the same infrastructure over and over. We built the boilerplate we wished existed.
Every new project starts the same way: choose a framework, wire up auth, connect a database, add validation, configure CI/CD, write tests. By the time infrastructure is ready, you've lost weeks and the excitement has faded.
x4 eliminates that cold start. It's a production-ready monorepo with web (Next.js), mobile (Expo), and desktop (Electron) clients sharing a single backend (Hono + tRPC) — all type-safe, all tested, all deployed.
The goal is simple: go from idea to deployed product in minutes, not weeks. Everything else is just infrastructure.
How we got here
Monorepo Foundation
Bun workspaces, Turborepo, TypeScript config, shared packages.
Shared Types & Database
Zod schemas, Drizzle ORM, Neon Postgres, migrations, seed data.
API Server
Hono + tRPC v11 with CRUD routers, middleware, and OpenAPI docs.
Authentication
Better Auth with sessions, bearer tokens, RBAC, multi-platform clients.
AI Integration
Vercel AI SDK, Claude provider, streaming, cost tracking.
Multi-Platform Clients
Next.js 15 web, Expo mobile, Electron desktop — all sharing the API.
CI/CD & Testing
GitHub Actions, Neon branching, 350+ tests, Playwright E2E.
Documentation & DX
Fumadocs site, getting started guide, contributing docs, READMEs.
Ready to stop building manually?
Three commands. Your machine is ready. Your agents are waiting.
# Add the marketplace /plugin marketplace add studiox4/x4-agent-plugins # Install x4 /plugin install x4@x4-agent-plugins # Start onboarding /x4:onboard
v3.15.0 · Apache 2.0 · studiox4/x4-agent-plugins