Kanishk Gupta

🚀 Meet AHITL — The Protocol Powering Interactive AI Agents

Ever noticed how apps like ChatGPT, Cursor, or Gemini ask you a series of questions before they can actually do something for you?

✈️ “Book me a trip” → Where?

💸 “Find me the best flights to Japan” → When?

✍️ “Write me a post” → How long (short / medium / long)?

You have to type out each answer… manually. Additionally for complicated tasks like app building or deep research, agents pose a series of multi-faceted questions all of which need to be answered, in one single text response.

But what if the agent could just show you a form instead? 👇

✅ A date picker when it needs a date

🔘 Radio buttons for single-choice questions

☑️ Checkboxes for multiple selections

💬 Text fields for open responses

Now it can — with AHITL (Agentic Human-in-the-Loop) 🎉

AHITL is an open protocol that lets agents automatically render structured, interactive forms inside your chat.

It bridges the gap between conversation and action — so the agent doesn’t just talk, it builds with you.

No more guessing what input the model needs. Just clean, contextual, dynamic UIs that move your agent workflow forward — instantly.

🔗 AHITL Spec: https://promptius.ai/ahitl-spec

💻 Implementation Code: https://github.com/AgentBossMode/AHITL-protocol/tree/main

⚡ Live Demo: https://promptius.ai/ahitl-agent

Discord channel: https://discord.gg/pz4B2ByH3A

💡 Why It Matters

AI agents today can reason, but they can’t interact naturally. You still have to type every answer in the perfect format — like guessing what the AI wants.

AHITL changes that.

It lets agents render interactive UIs on the fly — forms, pickers, checkboxes, and more — so users give structured input without friction.

⚙️ The Impact

No more prompt guessing — agents show exactly what they need. With AHITL, conversations evolve into dynamic, visual flows, creating a smarter and more intuitive user experience. It’s structured by design, giving developers typed, validated user input as the interface seamlessly morphs from chat to app. Think of AHITL as the HTML for agent UX — a universal way for LLMs to describe interfaces. It’s how AI stops just chatting… and starts collaborating. 💫

If you find value, please do star the github project! We at Promptius are already working on building other open-source projects which add value to the community! We are open to community contributions as well!

137 views

Add a comment

Replies

Best
Aashna Jha

The UI for AI :D

Sanskar Yadav

Super neat concept!
This is the kind of shift that moves AI from chatbot vibes to actual productivity. Nice work!

Sravani Priyanka Vaddiparti

love this, makes so much sense! 🙌

Abhishek Chopra

Nice work. Needed for the future development of agents