> For the complete documentation index, see [llms.txt](https://kaizo-1.gitbook.io/kaizo-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kaizo-1.gitbook.io/kaizo-docs/lua-engine/unsafe-memory.md).

# Unsafe memory

Raw process memory helpers. Lower level than SDK.

Writes are queued async. Easy to break things if the address is wrong. Needs Disable memory writes off for writes.

## Pages

1. [Essentials](/kaizo-docs/lua-engine/unsafe-memory/essentials.md) most important memory helpers
2. [unsafe\_memory.module\_base](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory.module_base.md)
3. [unsafe\_memory.rva](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory.rva.md)
4. [unsafe\_memory.is\_mapped](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory.is_mapped.md)
5. [unsafe\_memory u64 get/set](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory-u64-get-set.md)
6. [unsafe\_memory u32 get/set](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory-u32-get-set.md)
7. [unsafe\_memory f32 get/set](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory-f32-get-set.md)
8. [unsafe\_memory.read\_i64](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory.read_i64.md)
9. [unsafe\_memory.read\_vec3](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory.read_vec3.md)
10. [unsafe\_memory.read\_string](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory.read_string.md)
11. [unsafe\_memory.read\_name](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory.read_name.md)
12. [unsafe\_memory bytes get/set](/kaizo-docs/lua-engine/unsafe-memory/unsafe_memory-bytes-get-set.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://kaizo-1.gitbook.io/kaizo-docs/lua-engine/unsafe-memory.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
