The Action Composer: A Better Interface for AI Actions
What Is A Pill Composer?
A Pill Composer transforms structured actions into editable sentences. Instead of presenting a modal full of controls, the interface generates a human-readable command where parameters become interactive pills embedded directly inside the sentence.
For example:
Place an order for [BTC/USDT] [Limit] [10]
Each pill represents a structured parameter. Some pills may open dropdowns, some may accept text input, and others may provide richer controls such as dates, users, accounts, or assets. This is important because it provides a natural step towards natural language interfaces.
Structured Under The Hood
Despite appearing conversational, the Pill Composer is not unstructured. Every pill maps directly to a typed parameter. Dropdowns remain dropdowns. Quantities remain quantities. Validation rules still exist. Execution remains deterministic. The difference is that structure is no longer the primary visual language of the interface.
Users interact with meaning.
Systems interact with data.
The composer acts as a translation layer between the two.
This becomes particularly valuable in AI applications where natural language understanding and structured execution must coexist.
A Better Model For AI Products
Many AI products today swing between two extremes. Some rely entirely on chat, forcing users to describe everything through language and hoping the system interprets it correctly. Others fall back to traditional forms whenever precision becomes necessary. The Pill Composer occupies the space between those approaches. It preserves the flexibility and familiarity of conversation while retaining the reliability of structured inputs. Users gain the expressiveness of natural language without sacrificing the predictability required for execution. That balance becomes increasingly important as AI systems move beyond answering questions and begin performing real actions.
The Future Of Intent Driven Interfaces
The most interesting aspect of the Pill Composer is not the pills themselves. It is the shift in perspective. Instead of designing interfaces around fields, screens, and forms, the interface is designed around intent.