Layer 4 - The Output
What comes back from the model. This could be a text response, a structured JSON object that feeds into another system, a decision that triggers an automation, or a document that gets saved somewhere. The output format is just as important as the content.. because it determines what the rest of the system can do with it.
Layer 5 - The Action
What happens as a result of the output. An email gets sent. A CRM record gets updated. A Slack message fires. A Bubble database entry gets created. A follow-up task gets scheduled. This is where the AI stops being a conversation and starts being a system.
That's it. Five layers. Every AI powered app.. from a simple chatbot to a complex multi-step agent.. is some version of this structure.
Understanding this changes how you look at your own business.
Because once you see the structure, you start asking a different question. Not "should we use AI?" but "which of our processes maps cleanly onto these five layers?"
That question is usually where the most useful answers live.