konamgil/mandu
konamgil/mandu has 46 GitHub stars and 3 forks. GitHot measured -1 stars in 24 hours, -1 in 7 days, and -1 in 15 days. Last checked 2026-11-12 06:16 UTC. Last push 2026-08-27.
An open-source framework that prevents AI agents from breaking your codebase.
Crecimiento de estrellas medido
- in 24h
- -1
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original
Mandu
The agent-safe fullstack framework for Bun and React.
Keep architecture, contracts, and build state safe while AI agents change code.
Refoundation status: Mandu v0.x is an early beta. The Agent-Safe product contract is the accepted v1 direction; typed apply and the full reliability gates are still being implemented. See the strategy and execution plan.
Why Mandu?
AI can write code fast. The hard part is keeping the app understandable after many changes.
Mandu combines a focused fullstack runtime with contracts, architecture guardrails, and a controlled agent workflow so people and agents can change code without losing a valid project state.
| You want | Mandu gives you |
|---|---|
| A fullstack React app | File-based pages and API routes |
| Less client JavaScript | Island hydration and server rendering |
| Safer API changes | Zod contracts, typed handlers, and OpenAPI output |
| Cleaner AI-generated code | Guard rules, MCP tools, and Mandu-aware skills |
| A fast local workflow | Bun-native dev, build, and test commands |
The short version: Mandu is for developers who delegate real changes to AI agents but still own architecture and release quality.
Start in One Minute
bunx @mandujs/cli create my-app --yes
cd my-app
bun install
bun run dev
Open http://localhost:3333.
Want the realtime chat starter?
bunx @mandujs/cli create my-chat --template realtime-chat --yes
Prefer installing a reusable mandu command first?
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/konamgil/mandu/main/install.sh | sh
# Windows PowerShell
iwr https://raw.githubusercontent.com/konamgil/mandu/main/install.ps1 -useb | iex
Then run mandu create my-app --yes.
Make a Page
Create app/page.tsx:
export default function Home() {
return (
<main>
<h1>Hello from Mandu</h1>
<p>Edit this file and the page updates instantly.</p>
</main>
);
}
Make an API Route
Create app/api/hello/route.ts:
export function GET() {
return Response.json({ message: "Hello from Mandu" });
}
Visit http://localhost:3333/api/hello.
Project Shape
my-app/
|-- app/ # Pages, layouts, and API routes
|-- src/
| |-- client/ # Browser-side code
| |-- server/ # Server-side code
| `-- shared/ # Contracts, types, and shared utilities
|-- spec/ # Contracts, slots, and architecture metadata
`-- .mandu/ # Generated output
You can start simple with just app/. Add contracts, slots, and guard rules when the app grows.
Built for Agents
Mandu is designed for codebases that AI agents will actively edit.
- The CLI can scaffold routes, APIs, contracts, and project structure.
- Guard rules catch architecture drift before it spreads.
- MCP tools and Mandu skills give agents project-aware actions instead of blind text edits.
- Release checks help keep generated code reviewable.
For the full agent workflow, read Mandu Agent Workflow.
Learn More
Requirements
- Bun
>= 1.3.12 - TypeScript
- React 19
License
Mandu is licensed under MPL-2.0.
Explorar proyectos relacionados
freeCodeCamp/freeCodeCamp
Base de código abierto y plan de estudios de freeCodeCamp.org. Aprende matemáticas, programación y ciencias de la computación gratis.
459,027 estrellasdonnemartin/system-design-primer
Aprende a diseñar sistemas a gran escala y prepárate para la entrevista de diseño de sistemas. Incluye fichas de Anki.
377,659 estrellasreact/react
La biblioteca para interfaces de usuario web y nativas.
252,538 estrellasvuejs/vue
Este es el repositorio de Vue 2. Para Vue 3, visita https://github.com/vuejs/core
212,530 estrellas