Instagram Direct handles billions of user messages every day, and its team chose Jetpack Compose as a key component in building an AI-native UI architecture, according to Android Developers Blog. The case puts a practical design question in focus: how the structure of a software system can shape the work of AI agents used in engineering.
The reported complexity is substantial: a single conversation screen handles more than 200 message types, while individual UI components can render in over 160 state permutations. The source says Compose’s declarative nature makes code concise and predictable, and structurally easier for AI models to reason about.
The reported outcomes span code size and agent workflow: the AI-native UI codebase was 50% smaller than the original implementation, and the AI agents achieved a 35% reduction in execution time. The engineering workflow also had 32% fewer engineer-agent exchanges, alongside a 33% reduction in token cost for the codebase.
The migration approach also paired individual engineering work with shared guidance: engineers ran their own AI agents against a common knowledge base of reusable skills and conventions. The team planned the Compose migration to be gradual and smooth, with zero disruption to the experience; the supplied account describes that as the plan, not as a verified outcome.
For design and delivery practice, the transferable point is the connection between system structure and workflow: the team paired a declarative UI approach with reusable conventions for agent-assisted work. The reported figures are specific to Instagram Direct’s UI codebase and engineering workflow; they do not establish results for BIM, construction, or other project-delivery settings.






