AI Dashboard Canvas Agent
An agent that populates live charts, metrics, and real-time data into a Canvas dashboard instead of just streaming text. Built with CopilotKit, AG-UI,…
- OpenAI
- Gemini
Generative Interfaces ·Advanced
Describe an MCP app in chat and get a live, sandboxed instance back. Built with CopilotKit AG-UI Mastra( and E2B( sandboxes.
E2B_API_KEYOPENAI_API_KEYLicense Apache-2.0 · content curated and maintained by Doutor AI.
Describe an MCP app in chat and get a live, sandboxed instance back. Built with CopilotKit, AG-UI, Mastra, and E2B sandboxes.
Gen UI concept - agent-generated apps. Most generative UI picks from a fixed catalogue of components. This goes a step further: the agent authors a brand-new MCP app at runtime, the builder provisions an E2B sandbox to host it, and the app renders inline with full bidirectional tool access. The "component" the agent emits is a whole app.
This monorepo wires up the MCP App builder web UI (apps/web) to a Mastra agent (/api/mastra-agent) that provisions E2B sandboxes running the mcp-use-server template (apps/mcp-use-server). An optional local sample is the Three.js MCP example in apps/threejs-server (used for sidebar defaults when running everything locally).
https://github.com/user-attachments/assets/4bb35806-5e42-43c0-a8fe-01c0d1e5b8b3
OPENAI_API_KEY); optional OPENAI_MODEL for /api/mastra-agent (default gpt-5.5)From the project root (generative_ui_agents/ai-mcp-app-builder):
pnpm i
Copy-Item .env.example .env
# Edit .env: set OPENAI_API_KEY=sk-proj-... at minimum; add E2B_* for sandbox provisioning (see below)
pnpm dev
pnpm dev runs Turbo and starts workspace dev tasks (the Next.js app and other configured apps - see root package.json / turbo.json).
Run pieces individually
| Goal | Command |
|---|---|
| Web app only | pnpm --filter web dev (from repo root) or cd apps/web && pnpm dev |
| Three.js MCP sample (local sidebar default) | cd apps/threejs-server && pnpm dev |
mcp-use-server (local MCP, not the E2B image) | cd apps/mcp-use-server && pnpm dev |
Open the URL shown by Next (usually http://localhost:3000).
serverId); list is sent as x-mcp-servers. Built-in default: Excalidraw (https://mcp.excalidraw.com). Override via NEXT_PUBLIC_DEFAULT_MCP_SERVERS / DEFAULT_MCP_SERVERS.md+).| Variable | Description |
|---|---|
E2B_API_KEY | From e2b.dev/dashboard |
E2B_TEMPLATE | templateId from Template.build output after build.dev.ts / build.prod.ts |
E2B_REPO_URL | Used when E2B_TEMPLATE is empty - clones repo into sandbox (slower cold start). Default in code: mcp-use-server-template GitHub URL |
UI entry: apps/web/app/page.tsx (theme, layout, CopilotKit wiring).
External
An agent that populates live charts, metrics, and real-time data into a Canvas dashboard instead of just streaming text. Built with CopilotKit, AG-UI,…
A deep research assistant that plans, searches the web, writes to a virtual filesystem, and renders each tool call as a live card in a workspace pane.…
A multi-agent financial coach that analyzes your budget, plans your savings, and builds debt-payoff strategies - rendered as interactive UI cards in a…
Need a tailor-made solution?
Not sure where to start with AI in your business? Get a free assessment and a tailored plan - no commitment.
Doutor AI gives you 1,859 ready-to-copy AI prompts, by industry and in plain English - plus a complete technical library for those who want to go further.