How Messages Flow
Trace a message from a chat channel through the Gateway to the agent runtime and back to you.
How Messages Flow is a free OpenClaw Academy lesson on CoddyKit — lesson 4 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the OpenClaw Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Following a Message
Let us trace one message end to end, from your chat app to OpenClaw and back. Seeing the flow makes it all click. 🔁
Step One: You Send
It starts when you type in a channel, a connected chat app like WhatsApp or Telegram, and hit send.
Step Two: The Bridge
That channel is bridged into the Gateway. Your message crosses the bridge from the chat app into OpenClaw.
Step Three: The Gateway
The message lands at the Gateway, the central hub that knows about every session, route, and channel.
Step Four: Routing
The Gateway does its job of routing, deciding which agent and which session this particular message belongs to.
Per-Sender Sessions
Routing uses your session. Each sender has their own isolated session, so your context never mixes with someone else's.
Step Five: The Agent
The Gateway hands the message to the agent runtime, the part that actually thinks and decides how to respond.
Memory and Skills Help
The agent draws on persistent memory and any skills it has, so its reply fits the ongoing conversation.
Step Six: The Reply Returns
The agent's answer flows back through the Gateway, which sends it out over the same channel you used.
Step Seven: You Receive
The reply arrives right in your chat app. To you it feels like texting a friend, with the Gateway quietly in the middle.
The Gateway in the Middle
Every step touches the Gateway. It is the constant hub between your channels and the agent, in both directions.
Quick Check
Let us check the path a message takes.
Recap
A message flows from your channel through the Gateway to the agent, then back again. The Gateway is the hub at every step. 🎉
Frequently asked questions
Is the “How Messages Flow” lesson free?
Yes — the full text of “How Messages Flow” is free to read here on the web, and the OpenClaw Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the OpenClaw Academy course, upgrade to CoddyKit PRO.
What will I learn in “How Messages Flow”?
Trace a message from a chat channel through the Gateway to the agent runtime and back to you. You practise OpenClaw Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start OpenClaw Academy?
No prior experience is required. OpenClaw Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 4 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “How Messages Flow” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this OpenClaw Academy lesson?
Yes. Every OpenClaw Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.