{"slug": "human-in-the-loop-ui-for-ai-agent-apps-6-screens-to-design-before-you-wire-the", "title": "Human-in-the-loop UI for AI agent apps: 6 screens to design before you wire the model", "summary": "A developer built four agent-style apps in FlutterFlow — a personal agent, a workflow automation studio, a WhatsApp chatbot inbox and a voice receptionist — and found the same six human-in-the-loop screens recurring in each: a pre-execution plan, live step progress with failure and needs-input states, a single gated approval action, human handoff, a run log with an admin review queue, and memory, spending-limit and connection controls. Each AI call sits behind named custom action stubs such as askAgent, planRun, startRun, approveStep and transcribeVoice that return plain data to parameterized custom widgets, letting screens be designed with sample data before any model is wired in.", "body_md": "Most AI app demos stop at a chat box. That is fine while the AI only talks. Once it can book a table, pay a deposit, send a WhatsApp message or answer a phone call for a business, people need to see what it is about to do and stop it in time.\n\nOver the last weeks I built four agent-style apps in FlutterFlow: a personal agent, a workflow automation studio, a WhatsApp chatbot inbox and a voice receptionist. Different products, but the same six screens came back in every one of them. Here they are, with how I built each one.\n\nShow the steps before anything happens. \"I'll search three restaurants, check Saturday at 8, hold the best table, then ask you before paying the deposit.\"\n\nA plan does two jobs. The user can catch a wrong guess early (\"not Saturday, Friday\"), and they learn what the agent is able to do without reading a help page.\n\n**In FlutterFlow:** a custom action (`planRun`) returns a list of steps, and a custom widget takes that list as a parameter and draws each step with its state. The page doesn't care where the steps come from, so you can design it with sample data long before a model is connected.\n\nWhile the agent works, show the step it is on, what it found and what is left. Design all of the states, not only success:\n\n\"Needs you\" and \"failed\" are the states people actually remember. If those two look like an afterthought, the whole product feels unsafe.\n\nKeep one action that pays or sends, and only one. Everything else reads, drafts or plans.\n\nIn the personal agent ([Nod](https://migambiglobal.com/flutterflow/nod-ai-agent-assistant-and-personal-app-with-admin?utm_source=devto&utm_medium=article&utm_campaign=ai-apps)), the custom action `approveStep` is the only one allowed to spend money, and the user approves by pulling a dot down, a small nod. In the automation studio ([Weft](https://migambiglobal.com/flutterflow/weft-ai-agent-builder-automation-workflow-and-agents-studio-with-admin?utm_source=devto&utm_medium=article&utm_campaign=ai-apps)), held steps are approved by holding a button until a thread ties off.\n\nBoth are deliberate on purpose. An approval that a stray tap can trigger isn't an approval. Make it a gesture that takes half a second of intent, and show the amount and the recipient right on it.\n\nEvery agent hits a case it shouldn't handle alone. Design that moment instead of hiding it:\n\nThe detail that matters most: always show who has the conversation now. I give the AI one colour and people another, everywhere in the app, so a glance at any list says whether the bot or a person is talking.\n\nKeep every run: what went in, what each step returned, how long it took, what it cost and who approved what. Users open it when something surprises them. You open it when a customer writes to support.\n\nOn the admin side, the same data becomes a review queue: failed steps, flagged chats, calls that went badly. All four apps have an admin desk for exactly this, because an AI product with no place to review its mistakes can't get better.\n\nIf the agent remembers things, show the memory as a list the user can read and delete. If it can spend, give them limits they set themselves: per run, per day, per site. If it is connected to accounts, list the connections and an access log.\n\nPeople trust an agent more when they can see the edges of what it is allowed to do.\n\nAI calls cost money on every run. A credit meter for the user, and model costs per day on the admin desk, save you from a surprise invoice and give you the numbers you need to price plans.\n\nEvery AI call in these apps sits behind a named custom action stub: `askAgent`, `planRun`, `startRun`, `approveStep`, `transcribeVoice`. Each returns plain data (a reply, a list of steps, a list of picks), and the custom widgets take that data as parameters.\n\nThat gives three things:\n\nAll four are FlutterFlow templates, each in light and dark, with an admin desk:\n\nThe rest are on the [FlutterFlow AI app templates](https://migambiglobal.com/flutterflow/category/ai?utm_source=devto&utm_medium=article&utm_campaign=ai-apps) page.\n\n*Disclosure: I make these templates at Migambi Global.*\n\nWhat would you add to the list? I'm curious which screen people skip most often in their own AI apps.", "url": "https://wpnews.pro/news/human-in-the-loop-ui-for-ai-agent-apps-6-screens-to-design-before-you-wire-the", "canonical_source": "https://dev.to/migambi/human-in-the-loop-ui-for-ai-agent-apps-6-screens-to-design-before-you-wire-the-model-2ma7", "published_at": "2026-12-06 00:38:59+00:00", "updated_at": "2026-12-06 00:44:54.614298+00:00", "lang": "en", "topics": ["ai-agents", "ai-products", "ai-tools", "developer-tools"], "entities": ["FlutterFlow", "Nod", "Weft", "WhatsApp"], "also_reported_by": [], "takeaway": "Route every AI call through a named custom action stub returning plain data (reply, step list, picks) so custom widgets can render plan, progress, approval and handoff screens from sample data before a model is connected.", "recommendation": {"advice": "Put every AI call behind a named action stub returning plain data, and gate spending or sending behind one deliberate gesture that shows the amount and recipient.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/human-in-the-loop-ui-for-ai-agent-apps-6-screens-to-design-before-you-wire-the", "markdown": "https://wpnews.pro/news/human-in-the-loop-ui-for-ai-agent-apps-6-screens-to-design-before-you-wire-the.md", "text": "https://wpnews.pro/news/human-in-the-loop-ui-for-ai-agent-apps-6-screens-to-design-before-you-wire-the.txt", "jsonld": "https://wpnews.pro/news/human-in-the-loop-ui-for-ai-agent-apps-6-screens-to-design-before-you-wire-the.jsonld"}}