For Developers
Platform Overview
Section titled “Platform Overview”MIFY is a 41-package TypeScript monorepo: Hono API (790+ endpoints), Next.js 15 frontend (155 pages), PostgreSQL + pgvector, Redis, Prisma 6, and 117 native nodes across 24 categories.

Access
Section titled “Access”MIFY is not open-source at this time. Access is available through the hosted platform or by arrangement with the MIFY team.
What’s available now:
- Hosted platform — use MIFY at mify.com
- API access — 790+ REST endpoints for programmatic integration
- Plugin system — build and publish plugins without access to the core codebase
Coming later:
- The Home Client (local agent runtime) may be released as a public repository
- Additional open-source components may follow
API (790+ Endpoints)
Section titled “API (790+ Endpoints)”Full interactive reference: API Explorer | API Reference
Core Workflow API
Section titled “Core Workflow API”# CRUDPOST /api/graphs # Create workflowGET /api/graphs # List workflowsGET /api/graphs/{id} # Get workflowPUT /api/graphs/{id} # Update workflowDELETE /api/graphs/{id} # Delete workflow
# Import from external platformsPOST /api/graphs/import/flowisePOST /api/graphs/import/difyPOST /api/graphs/import/langflowPOST /api/graphs/import/n8n
# ExecutionPOST /api/graphs/{id}/run-templates/{tid}/executeGET /api/graphs/{id}/comparison-historyPOST /api/graphs/{id}/baselineContent Generation API
Section titled “Content Generation API”POST /api/content-gen/queue # Async GPU generation (ComfyUI)POST /api/content-gen/provider # Sync/streaming from AI providersPOST /api/content-gen/comfyui-local/finalize # Local ComfyUIGET /api/content-gen/runs # HistoryGET /api/content-gen/runs/{id} # Run detailExecution & Training API
Section titled “Execution & Training API”POST /api/execution/runs # Submit image/video/vision jobPOST /api/execution/training/submit # Submit training runPOST /api/execution/training/datasets/upload # Create datasetPOST /api/execution/training/datasets/{id}/presign-file # R2 upload URLGET /api/execution/training/models # Model registryKnowledge Base / RAG API
Section titled “Knowledge Base / RAG API”POST /api/knowledge-bases # Create KBPOST /api/knowledge-bases/{id}/ingest # Ingest documentsPOST /api/knowledge-bases/{id}/search # Semantic searchOther Key APIs
Section titled “Other Key APIs”| Area | Base Path | Endpoints |
|---|---|---|
| Templates | /api/templates | Browse, categories, enterprise |
| Evaluations | /api/evaluations | Datasets, runs, results |
| Chat | /api/chat | Sessions, messages |
| Tools | /api/tools | CRUD for agent tools |
| AI Builder | /api/ai-builder | Natural language → workflow |
| Prompt Lab | /api/prompt-lab | Prompt versioning, A/B compare |
| Vector Stores | /api/vector-stores | Store, query vectors |
| Batch | /api/batch | Batch job management |
| Triggers | /api/triggers | Webhook, schedule, event triggers |
| Packs | /api/packs | Provider pack management |
| ComfyUI | /api/comfyui | Workflow registry, job submission |
| Plugins | /api/plugins | Plugin ecosystem |
117 Native Nodes (24 Categories)
Section titled “117 Native Nodes (24 Categories)”| Category | Count | Key Nodes |
|---|---|---|
| Platform | 26 | Dify, Flowise, Langflow, n8n, ActivePieces, Node-RED, 20+ more |
| LLM | 13 | Chat, Embed, Image, Vision, ASR, TTS, Translate, Classify |
| HITL | 12 | Pause, review gates, Home Client runtime nodes |
| I/O | 11 | HTTP, Cloudflare D1/KV/R2/Queue |
| RAG | 8 | Ingest, Chunk, Embed, Store, Retrieve, Rerank |
| Agent | 6 | ReAct, Multi-Agent, CLI Agent, EnvInspect, Browser Use, Computer Use |
| Control | 6 | Route If, Route Switch, Loop Map, Sub-Workflow |
| Safety | 3 | PII Detector, Injection Detector, Jailbreak Detector |
| Enterprise | 8 | Email, Calendar, Notifications, Messaging |
Plugin System
Section titled “Plugin System”Build, test, and publish plugins:
npx mify-plugin init my-pluginnpx mify-plugin dev # Hot reload dev servernpx mify-plugin test # Run testsnpx mify-plugin validate # Check manifestnpx mify-plugin publish # Publish to marketplacePlugin manifest v1.4.0 — extend with custom nodes, adapters, and credentials. Sandboxed execution in V8 or WASM runtimes.
Plugin guide: Plugin Development
Hub & Integrations
Section titled “Hub & Integrations”Integration Hub (/integrations)
Section titled “Integration Hub (/integrations)”Central discovery page for 28+ platform integrations. Platform registry with health monitoring, quick-connect flows.
Platform Adapters
Section titled “Platform Adapters”- Track A (native): Dify, Flowise, Langflow, n8n, OpenClaw, RAGFlow, DocuSeal
- Track B (registry-driven): 28+ self-hosted and SaaS platforms
OAuth Integrations
Section titled “OAuth Integrations”- Gmail, Outlook (email)
- Google Calendar, Outlook Calendar
- Composio connector marketplace
Platform Package (@mify/platform)
Section titled “Platform Package (@mify/platform)”8 service interfaces: Identity, Payments, Ledger, Jobs, AIExecution, Media, Events, Notifications. Studio-backed adapters with JWT auth.
Home Runtime (Local Agent Execution)
Section titled “Home Runtime (Local Agent Execution)”Run AI coding agents locally:
- CAO multi-agent backend — coordinate Claude Code + Codex with human review
- 9-state FSM — INIT → Agent1 → Diff → Agent2 Review → Human Gate → Done
- Cron scheduler — scheduled agent runs with timezone support
- LiteLLM client — model selection and provider-aware scheduling
- Prompt templates — structured prompt assembly with provenance tracking
WebSocket bridge on port 3020. API: /api/home/schedules, /api/home/sync.
Guide: Home Client
Execution Engine
Section titled “Execution Engine”Three execution classes:
- Deterministic — same input = same output (Template, JavaScript nodes)
- Probabilistic — AI nodes where output varies (Chat, Embed)
- Opaque — external platform calls (Dify, Flowise)
Trust levels: Trusted → Semi-Trusted → Opaque. Rigor modes: Experimental (fast) vs Audited (full trail).
Batch processing with concurrency control, pause/resume/cancel.
Guide: Execution & Trust
Content Generation Pipeline
Section titled “Content Generation Pipeline”Three paths:
| Path | How | Best For |
|---|---|---|
| MIFY Queue | ComfyUI workflows → GPU providers (Novita, Vast) | High-quality image/video |
| AI Provider | Direct AI calls, sync or SSE streaming | Text, quick images |
| ComfyUI Local | Local GPU | Custom models |
WorkflowDefinition model with 12 override types, 11 UI widgets for dynamic forms. Redis-based rate limiter, Prometheus metrics, cost tracking.
Guide: Content Generation
AI Providers (108 Total)
Section titled “AI Providers (108 Total)”16 native: OpenAI, Anthropic, Google Gemini, Groq, Mistral, Cohere, xAI, DeepSeek, Together AI, Fireworks, Hugging Face, OpenRouter, SambaNova, GitHub Models, Cloudflare Workers AI, Ollama.
92+ via LiteLLM proxy. Admin at /admin/litellm.
Provider packs (Fast/Balanced/Accurate), BYOK credential management, cost estimation.
Guide: AI Provider System
Cloudflare Native Nodes (12)
Section titled “Cloudflare Native Nodes (12)”- D1: Query
- KV: Get, Put, List, Delete
- R2: Get, Put, List, Delete
- Vectorize: Query, Upsert
- Queues: Send
Marketplace API
Section titled “Marketplace API”# Expert servicesGET /api/experts # Browse expertsPOST /api/jobs # Post a jobPOST /api/bids # Submit a proposal
# SolutionsGET /api/solutions # Browse solutionsPOST /api/purchases # Purchase a solution
# PaymentsPOST /api/escrow # Escrow operationsGET /api/payouts # Payout managementDatabase
Section titled “Database”Main DB: PostgreSQL with Prisma 6 (154 models). Franchise DB: separate bounded-context database (10 models).
Testing
Section titled “Testing”1200+ E2E tests across 157 Playwright spec files. Vitest for unit tests.
pnpm test # All unit testspnpm test:e2e # Full E2E suitepnpm test:e2e:smoke # Fast smoke testsKey Resources
Section titled “Key Resources”| Resource | Link |
|---|---|
| Interactive API Explorer | /api-explorer/ |
| API Reference | /reference/api-reference/ |
| Building Workflows | /guides/workflows/ |
| Plugin Development | /guides/plugins/ |
| Platform Connections | /guides/connections/ |
| Content Generation | /guides/content-generation/ |
| Home Client | /guides/home-client/ |
| Glossary | /reference/glossary/ |