# Context Lock

Context Lock is a session-based memory layer for local LLMs. It enables users to hold conversations across multiple turns — with the AI remembering previous context for better responses. But unlike cloud chatbots, Invinos never stores this memory beyond the current session.

Once the session ends, the context is gone. Nothing is saved, and nothing is synced. This gives users the benefit of coherent, multi-step reasoning without the privacy cost of maintaining a profile or history.

Context Lock allows local AI to function more naturally, while still protecting user intent, prompt structure, and mental patterns from exposure.


---

# 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://invinos.gitbook.io/invinos/core-app-modules/context-lock.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.
