# Session Instructions

<figure><img src="/files/eZXr36ESBzfosl3SDc9o" alt=""><figcaption></figcaption></figure>

Session instructions are a set of rules that tell your AI how to behave in a live conversation. This is where you set boundaries and give specific directives that go beyond its core personality or knowledge base.\
\
These instructions will have extra emphasis over personality and knowledge.

For example, you can tell your mascot to "never give out personal information" or "ignore trolls and spam." These instructions are critical for controlling how your mascot interacts with users, ensuring it stays safe, helpful, and on-brand, even in unpredictable situations. They act as guardrails for your character's behavior.


---

# 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://hallway.gitbook.io/embed/basics/editor/session-instructions.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.
