# Contexts and attributes

Contexts are information stores that the ConversationEngine and ResponseEngine use to read and write attributes. Each context has its own persistence rules — some survive across sessions, others exist only for a single request or a specific processing step.

Attribute references use the format `{context_name.attribute_name}`. When no context prefix is given, OpenDialog defaults to the `user` context.

For a full breakdown of all available contexts, their scope, and usage examples, see [Contexts](/core-concepts/contexts-and-attributes/contexts.md).

For information on attribute types, naming, and how to create and manage attributes, see [About attributes](/core-concepts/contexts-and-attributes/about-attributes.md).


---

# 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.opendialog.ai/core-concepts/contexts-and-attributes.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.
