# Messages

Messages are the building blocks of a chat-based app. AgentLabs allows you to handle and send messages in many different ways.

{% content-ref url="/pages/dBvzNbh4cKmxEtjf623f" %}
[Messages Format](/core-concepts/messages/messages-format.md)
{% endcontent-ref %}

{% content-ref url="/pages/FXBHZv5aUW0t7GD20hqh" %}
[One-off vs Stream](/core-concepts/messages/one-off-vs-stream.md)
{% endcontent-ref %}

{% content-ref url="/pages/XZtqo0Ls6muYVkFlIWjT" %}
[Broken mention](broken://pages/XZtqo0Ls6muYVkFlIWjT)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.agentlabs.dev/core-concepts/messages.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
