Skip to content

For Developers

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.

MIFY Canvas — visual workflow editor with 117 nodes

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

Full interactive reference: API Explorer | API Reference

Terminal window
# CRUD
POST /api/graphs # Create workflow
GET /api/graphs # List workflows
GET /api/graphs/{id} # Get workflow
PUT /api/graphs/{id} # Update workflow
DELETE /api/graphs/{id} # Delete workflow
# Import from external platforms
POST /api/graphs/import/flowise
POST /api/graphs/import/dify
POST /api/graphs/import/langflow
POST /api/graphs/import/n8n
# Execution
POST /api/graphs/{id}/run-templates/{tid}/execute
GET /api/graphs/{id}/comparison-history
POST /api/graphs/{id}/baseline
Terminal window
POST /api/content-gen/queue # Async GPU generation (ComfyUI)
POST /api/content-gen/provider # Sync/streaming from AI providers
POST /api/content-gen/comfyui-local/finalize # Local ComfyUI
GET /api/content-gen/runs # History
GET /api/content-gen/runs/{id} # Run detail
Terminal window
POST /api/execution/runs # Submit image/video/vision job
POST /api/execution/training/submit # Submit training run
POST /api/execution/training/datasets/upload # Create dataset
POST /api/execution/training/datasets/{id}/presign-file # R2 upload URL
GET /api/execution/training/models # Model registry
Terminal window
POST /api/knowledge-bases # Create KB
POST /api/knowledge-bases/{id}/ingest # Ingest documents
POST /api/knowledge-bases/{id}/search # Semantic search
AreaBase PathEndpoints
Templates/api/templatesBrowse, categories, enterprise
Evaluations/api/evaluationsDatasets, runs, results
Chat/api/chatSessions, messages
Tools/api/toolsCRUD for agent tools
AI Builder/api/ai-builderNatural language → workflow
Prompt Lab/api/prompt-labPrompt versioning, A/B compare
Vector Stores/api/vector-storesStore, query vectors
Batch/api/batchBatch job management
Triggers/api/triggersWebhook, schedule, event triggers
Packs/api/packsProvider pack management
ComfyUI/api/comfyuiWorkflow registry, job submission
Plugins/api/pluginsPlugin ecosystem
CategoryCountKey Nodes
Platform26Dify, Flowise, Langflow, n8n, ActivePieces, Node-RED, 20+ more
LLM13Chat, Embed, Image, Vision, ASR, TTS, Translate, Classify
HITL12Pause, review gates, Home Client runtime nodes
I/O11HTTP, Cloudflare D1/KV/R2/Queue
RAG8Ingest, Chunk, Embed, Store, Retrieve, Rerank
Agent6ReAct, Multi-Agent, CLI Agent, EnvInspect, Browser Use, Computer Use
Control6Route If, Route Switch, Loop Map, Sub-Workflow
Safety3PII Detector, Injection Detector, Jailbreak Detector
Enterprise8Email, Calendar, Notifications, Messaging

Build, test, and publish plugins:

Terminal window
npx mify-plugin init my-plugin
npx mify-plugin dev # Hot reload dev server
npx mify-plugin test # Run tests
npx mify-plugin validate # Check manifest
npx mify-plugin publish # Publish to marketplace

Plugin manifest v1.4.0 — extend with custom nodes, adapters, and credentials. Sandboxed execution in V8 or WASM runtimes.

Plugin guide: Plugin Development

Central discovery page for 28+ platform integrations. Platform registry with health monitoring, quick-connect flows.

  • Track A (native): Dify, Flowise, Langflow, n8n, OpenClaw, RAGFlow, DocuSeal
  • Track B (registry-driven): 28+ self-hosted and SaaS platforms
  • Gmail, Outlook (email)
  • Google Calendar, Outlook Calendar
  • Composio connector marketplace

8 service interfaces: Identity, Payments, Ledger, Jobs, AIExecution, Media, Events, Notifications. Studio-backed adapters with JWT auth.

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

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

Three paths:

PathHowBest For
MIFY QueueComfyUI workflows → GPU providers (Novita, Vast)High-quality image/video
AI ProviderDirect AI calls, sync or SSE streamingText, quick images
ComfyUI LocalLocal GPUCustom models

WorkflowDefinition model with 12 override types, 11 UI widgets for dynamic forms. Redis-based rate limiter, Prometheus metrics, cost tracking.

Guide: Content Generation

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

  • D1: Query
  • KV: Get, Put, List, Delete
  • R2: Get, Put, List, Delete
  • Vectorize: Query, Upsert
  • Queues: Send
Terminal window
# Expert services
GET /api/experts # Browse experts
POST /api/jobs # Post a job
POST /api/bids # Submit a proposal
# Solutions
GET /api/solutions # Browse solutions
POST /api/purchases # Purchase a solution
# Payments
POST /api/escrow # Escrow operations
GET /api/payouts # Payout management

Main DB: PostgreSQL with Prisma 6 (154 models). Franchise DB: separate bounded-context database (10 models).

1200+ E2E tests across 157 Playwright spec files. Vitest for unit tests.

Terminal window
pnpm test # All unit tests
pnpm test:e2e # Full E2E suite
pnpm test:e2e:smoke # Fast smoke tests
ResourceLink
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/