Six powerful modules for developers. Smart contract auditing, code learning, prompt engineering, diff analysis, RFC generation, and an interactive playground — all powered by MiMo V2.5 Pro.
| Module | Route | Description |
|---|---|---|
| AuditLens | /audit |
Smart contract security auditor — vulnerability reports with severity, PoC, and fixes |
| Mentor | /learn |
AI code learning platform — step-by-step tutorials, concepts, quizzes |
| PromptForge | /prompts |
Prompt engineering workbench — quality scores, improvements, templates |
| DiffSense | /diff |
Git diff intelligence — risk scoring, breaking changes, changelogs |
| ThreadWeaver | /rfc |
RFC generator — architecture, API design, migration plans |
| Playground | /playground |
Interactive code playground — paste code, ask questions, get instant analysis |
- Streaming responses — Real-time token-by-token output powered by MiMo V2.5 Pro
- Analysis history — Locally saved with localStorage, recallable anytime
- Export as Markdown — Download any analysis result as a
.mdfile - API documentation — Full endpoint reference at
/docs - Product changelog — Versioned release history at
/changelog - No sign-up required — Zero friction, just paste and analyze
- No data stored — All processing is stateless, history stays in your browser
- Mobile responsive — Works on all screen sizes
- Framework: Next.js 16 (App Router, Server Components, Streaming)
- Language: TypeScript
- Styling: Tailwind CSS 4 with custom design tokens
- AI Model: Xiaomi MiMo V2.5 Pro (100T parameter reasoning model)
- Icons: Lucide React
- Deployment: Vercel
- Node.js 18+
- A MiMo API key from platform.xiaomimimo.com
git clone https://github.com/XinnBlueBird/devforge.git
cd devforge
npm installCreate a .env.local file:
MIMO_API_KEY=your-mimo-api-key
MIMO_BASE_URL=https://token-plan-sgp.xiaomimimo.com/v1
MIMO_MODEL=mimo-v2.5-pronpm run devOpen http://localhost:3000.
npm run build
npm startDevForge exposes a streaming endpoint:
POST /api/analyze
Content-Type: application/json
{
"type": "audit" | "learn" | "prompts" | "diff" | "rfc" | "playground",
"input": "your code or text here"
}Responses stream as Server-Sent Events (SSE) in OpenAI-compatible format.
See API Documentation for full details.
src/
├── app/
│ ├── api/analyze/route.ts # Streaming MiMo API proxy
│ ├── audit/page.tsx # Smart contract auditor
│ ├── learn/page.tsx # Code learning platform
│ ├── prompts/page.tsx # Prompt workbench
│ ├── diff/page.tsx # Diff intelligence
│ ├── rfc/page.tsx # RFC generator
│ ├── playground/page.tsx # Code playground
│ ├── docs/page.tsx # API documentation
│ ├── changelog/page.tsx # Product changelog
│ ├── page.tsx # Homepage
│ ├── layout.tsx # Root layout
│ └── globals.css # Design tokens + global styles
├── components/
│ ├── Navbar.tsx # Navigation bar
│ ├── Footer.tsx # Site footer
│ └── AnalysisPage.tsx # Shared analysis page component
└── lib/
├── api.ts # API client + history management
└── prompts.ts # System prompts for each module
Xiaomi MiMo 100T Grant — Token Creator Incentive Program
Built with Next.js · Powered by MiMo V2.5 Pro · Open Source