| What it is | Embeddable AI agent runtime — a headless engine your product talks to over REST + SSE | AI application studio — you build chatbots and workflows inside Dify’s visual editor |
| What you operate | Nothing — one managed REST and SSE endpoint your product calls | A Python (Flask + Celery) stack with a Next.js frontend — 15 containers in the default deployment (v1.16) if you run it yourself |
| Multi-agent | Dynamic: a supervisor delegates and spawns sub-agents at runtime, with concurrency and cycle policies | Agent nodes inside a workflow canvas (Function Calling or ReAct, capped iterations); no documented runtime sub-agent spawning — agents are composed at design time |
| Tenant context in tools | Declared once per MCP server as a list of header names; from then on Authorization, org, user, and custom headers ride with every tool call that server serves, sub-agent calls included | Per-server headers set at config time; since v1.16 an MCP connection can interpolate named request headers via placeholders — a template written into the value of each outgoing header you want populated |
| Human confirmation | Per-tool: mark any tool confirm-before and execution pauses for explicit user approval | Workflow-level Human Input node; as of v1.16 there is no gate on an individual tool call |
| MCP | HTTP, SSE, streamable-HTTP, and stdio transports; per-agent tool scoping; server-side execution | Two-way MCP over HTTP only (no stdio); can also publish Dify apps as MCP servers |
| Knowledge | Vector RAG plus typed knowledge graphs with auto-generated, deterministic retrieval tools | Knowledge bases with vector retrieval and summary-index options |
| Giving each customer their own agents | Built in: memory and knowledge isolated per tenant, your product forwards its own user and organization identity | Operating a multi-tenant environment — one workspace per customer — requires written authorization from Dify; their logo may not be removed from the frontend |
| Implementation service | Optional done-for-you production build with a measured acceptance bar | Platform plus partner ecosystem |