Mandu Character

ఒక Agent-నేటివ్
ఫుల్-స్టాక్ ఫ్రేమ్‌వర్క్

AI ఎంత కోడ్ కురిపించినా, మండు పగలదు. 🥟

Engineering decisions, handed to the framework. 100+ MCP tools · battle-tested Skills workflows · runtime Guard.

⚠️Warning

10,000 lines a day from coding agents,

who fixes it?

నిర్మాణాత్మక రక్షణ రేళ్ళు లేకుండా, AI-ఉత్పత్తి చేసిన కోడ్ వేగంగా సాంకేతిక రుణాల చిక్కుగా మారుతుంది.

1
🔥

ఫీచర్ వ్యాప్తి

AI ఏజెంట్లు డూప్లికేట్ యుటిలిటీలను సృష్టించి, ఇప్పటికే ఉన్న నమూనాలను విస్మరించి, మీ కోడ్‌బేస్‌ను ఉబ్బిస్తాయి.

→ negotiate + Skills keep structure consistent

2
💀

నిశ్శబ్ద వైఫల్యాలు

ఉత్పత్తి చేసిన ఫంక్షన్లలో లోతుగా పాతిపెట్టిన లాజిక్ లోపాలు బేసిక్ టెస్ట్‌లు పాస్ అవుతాయి కానీ ప్రొడక్షన్‌లో విఫలమవుతాయి.

→ ATE writes tests and heals failures

3
🌀

ఆర్కిటెక్చర్ డ్రిఫ్ట్

AI సరిహద్దులు అర్థం చేసుకోకుండా కోడ్ అతికిస్తే మీ శుభ్రమైన ఆర్కిటెక్చర్ క్షీణిస్తుంది.

→ Guard enforces boundaries at runtime

Mandu solves this
ప్రధాన భావనలు

సురక్షితం. స్కేలబుల్. నిర్మాణాత్మకం.

📋

Already giving your agent the same instruction for the third time?

One contract file brings types, API, tests, and runtime validation with it. When the agent drifts, Guard stops it at runtime.

🛡️

Clean architecture, fell apart in a week?

Guard enforces layer boundaries, naming, and dependency rules at runtime. Six presets ready — FSD, Clean, Hexagonal, Atomic, CQRS, Mandu.

// layer violation detected

Agent "claude" blocked.

Reason: layer-violation: shared → features

Architecture preserved. ✅

🧩

Slot-ఆధారిత ఆర్కిటెక్చర్

వేరుచేయబడిన ఎగ్జిక్యూషన్ కాంటెక్స్ట్‌లు. మొత్తాన్ని విచ్ఛిన్నం చేయకుండా మీ సిస్టమ్ భాగాలను భర్తీ చేయండి.

🤖

Agent-నేటివ్ (MCP)

Model Context Protocol కోసం నిర్మించబడింది. ఏజెంట్లు మీ కోడ్‌బేస్ నిర్మాణాన్ని నేటివ్‌గా అర్థం చేసుకుంటాయి.

🧪

Still writing tests yourself?

ATE auto-generates Playwright specs from your routes. Pick an oracle level (L0–L3, smoke to contract). When a test fails, the LLM suggests a repair diff.

One click to undo an agent's mistake.

Snapshot with `mandu change begin` before the agent edits. Rollback if it's wrong, commit if it's right. File-level atomic recovery — no branches.

How is this different from Next · Remix · Hono?

Mandu vs
See for yourself

6-line handler, 8-line contract.

A 30-line file becomes two files, 14 lines total. Same /api/signup.

app/api/signup/route.ts
30 lines
import { z } from "zod";
import { NextRequest, NextResponse } from "next/server";
import { db, hash, isRateLimited } from "@/lib";

const SignupSchema = z.object({
  email: z.string().email(),
  password: z.string().min(8),
});

export async function POST(req: NextRequest) {
  const csrf = req.headers.get("x-csrf-token");
  if (csrf !== req.cookies.get("__csrf")?.value)
    return NextResponse.json({ error: "csrf" }, { status: 403 });
  if (await isRateLimited(req.ip))
    return NextResponse.json({ error: "rate" }, { status: 429 });

  const raw = await req.json().catch(() => null);
  const parsed = SignupSchema.safeParse(raw);
  if (!parsed.success)
    return NextResponse.json({ error: parsed.error.flatten() }, { status: 400 });

  try {
    const user = await db.user.create({
      data: {
        email: parsed.data.email,
        password: await hash(parsed.data.password),
      },
    });
    return NextResponse.json({ id: user.id }, { status: 201 });
  } catch (err) {
    if ((err as any).code === "P2002")
      return NextResponse.json({ error: "duplicate" }, { status: 409 });
    return NextResponse.json({ error: "internal" }, { status: 500 });
  }
}
Next.js · hand-wiredCSRF · rate limit · auth · error mapping — all manual
app/api/signup/route.ts
6 lines
import { Mandu } from "@mandujs/core";
import { SignupContract } from "@/spec/contracts/signup.contract";

export default Mandu.filling(SignupContract, async (ctx) =>
  ctx.ok(await ctx.db.user.create({ ...ctx.body }))
).guard("auth").rateLimit({ rpm: 10 });
Mandu · Filling handlerCSRF · rate · auth composed via middleware chain
spec/contracts/signup.contract.ts
8 lines
import { defineContract } from "@mandujs/core/contract";
import { z } from "zod";

export const SignupContract = defineContract({
  method: "POST",
  request: z.object({ email: z.string().email(), password: z.string().min(8) }),
  response: z.object({ id: z.string() }),
});
Mandu · ContractTypes · OpenAPI · tests derived automatically
Deploy

One command, 7 destinations.

Mandu generates platform configs for you. wrangler.toml · vercel.json · Dockerfile · …

$mandu deploy --to=<target>
Cloudflare logoCloudflareEdge runtime
Vercel logoVercelEdge runtime
Netlify logoNetlifyEdge runtime
Deno Deploy logoDeno DeployEdge runtime
Fly.io logoFly.ioContainer
Railway logoRailwayContainer
Render logoRenderContainer
Docker logoDockerContainer

అనుకూలం

Bun logoBun
TypeScript logoTypeScript
React logoReact
Postgres logoPostgres
SQLite logoSQLite
OpenAI logoOpenAI
Anthropic logoAnthropic
Mandu Character

కిచెన్‌లో చేరండి

Mandu ఓపెన్-సోర్స్ మరియు కమ్యూనిటీ ఆధారితం. AI అభివృద్ధిని సురక్షితంగా చేసే Guard లు నిర్మించడంలో మాకు సహాయం చేయండి.