{"slug": "show-hn-a-monorepo-where-ai-agents-can-safely-build-and-maintain-applications", "title": "Show HN: A monorepo where AI agents can safely build and maintain applications", "summary": "A developer has released a pnpm monorepo template designed for AI agents to safely build and maintain applications, using TypeScript with Zod, Cloudflare infrastructure, and tools like Claude Code and Cursor. The template, which helped the creator become a finalist at the {Tech: Europe} Paris AI Hackathon, aims to enable rapid prototyping with security and best practices.", "body_md": "Hello everyone,\n\nI have spent dozens of hours working on my ideal template to quickly bring applications into production, which could be of interest to those who want to rapidly deliver a scalable prototype, in an AI-native manner and at low cost on Cloudflare infrastructures.\n\nIn this template, you will find:\n\n- A pnpm monorepo in strictly typed TypeScript with Zod, allowing you to develop both your React applications and your backend (here with Hono and the native Zod validator) without duplicating contracts; - A fully designed setup to maximize the capabilities of AI agents (mainly Claude Code and Cursor for now), with precise and path-scoped rules to enforce conventions without polluting the context, hooks based on OXC for ultra-fast formatting and linting, and sub-agents enabling optimal context collection, notably thanks to Context7 and Cloudflare MCPs; - A next-generation configuration for Vite 8, TanStack Router, TanStack Query, and React 19; - A set of make commands enabling fast and intuitive development for both humans and AI agents; - Clear documentation aimed at supporting the introduction of dozens of microservices, simplifying inter-application communication at zero cost thanks to the RPC protocol supported between multiple workers, etc.; - A turborepo configuration enabling the parallel execution of all essential commands for development on a scaling codebase and the rapid deployment of dozens of services at the edge.\n\nI have already been able to battle-test this template in production for the development of MCPs with authentication, personal applications, as well as in hackathon contexts, and it notably enabled us to finish as finalists in the {Tech: Europe} Paris AI Hackathon organized at Hexa. I believe it could greatly help entrepreneurs to vibe code or prototype applications quickly while preserving certain guarantees of security and best practices thanks to the investments made in the harness, and it can appeal to a wide variety of developers concerned with minimizing friction and avoiding duplicated code between backend and frontend or across multiple services (queues, RPC, etc.).\n\nThis repo is natively based on modern and relatively well-documented technologies, with the intention of offering the best possible developer experience, including for those who do not work daily with TypeScript (in practice, the granular configuration used makes it possible to adapt with minimal changes to the development of both backend microservices and React applications without friction and in a relatively secure manner).\n\nI strongly encourage you, if you are familiar with Cloudflare infrastructure and the concept of a monorepo, to take a look at it, particularly regarding the setup for AI agents, as I welcome any recommendations to further improve this tool that I genuinely enjoy working with.\n\nA big thank you to all the contributors of the various dependencies used in this template for the great experience they provide, and I look forward to seeing what you will be able to ship with this monorepo.\n\nComments URL: [https://news.ycombinator.com/item?id=49034424](https://news.ycombinator.com/item?id=49034424)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-a-monorepo-where-ai-agents-can-safely-build-and-maintain-applications", "canonical_source": "https://github.com/louisbrulenaudet/monorepo-template", "published_at": "2026-07-24 12:10:40+00:00", "updated_at": "2026-07-24 12:22:19.108244+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "ai-agents"], "entities": ["Claude Code", "Cursor", "Cloudflare", "pnpm", "Zod", "Vite 8", "TanStack Router", "TanStack Query"], "alternates": {"html": "https://wpnews.pro/news/show-hn-a-monorepo-where-ai-agents-can-safely-build-and-maintain-applications", "markdown": "https://wpnews.pro/news/show-hn-a-monorepo-where-ai-agents-can-safely-build-and-maintain-applications.md", "text": "https://wpnews.pro/news/show-hn-a-monorepo-where-ai-agents-can-safely-build-and-maintain-applications.txt", "jsonld": "https://wpnews.pro/news/show-hn-a-monorepo-where-ai-agents-can-safely-build-and-maintain-applications.jsonld"}}