MDK Logo

How agents build with MDK

Why an AI coding agent can build MDK dashboards from a prompt without hallucinating components — the local manifests and stable-export contract behind the flow

MDK is built so your AI coding agent can turn a plain-language prompt into a working dashboard, without you wiring components by hand. This page explains why those results are trustworthy — the build-time flow an agent follows on your machine. For the setup steps, see Build dashboards with your AI agent. For the runtime path where agents drive a live fleet, see AI agents and the MCP Server.

What your agent does for you

Behind a single prompt, the agent:

  • Finds the right MDK components and hooks for your intent
  • Wires real adapter hooks and state, with no guessed imports or props
  • Scaffolds a page and verifies that it compiles
  • Reaches for stable, supported components by default, so the result is something you can ship

The outcome: the agent pulls real metadata, real examples, and real types instead of hallucinating an API.

How it works

You do not need any of this to use the tooling, it is here to explain why the results are trustworthy.

Next steps

On this page