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

# 29a Scripting API

Complete documentation for the 29a Lua API — memory, analysis, hooks, UI and more, all with real examples.

29a exposes a built-in **LuaJIT** engine inside the overlay. Each script runs in its own Lua state and sees a set of global tables — `mem`, `ui`, `hook`, `render`, etc — that give direct access to the target process's memory, the ImGui overlay, and the native runtime. There's no separate SDK to install: everything a script can call is already registered before your code runs.

## Where to start

* **New here?** Start with [What is 29a](/0x29a-docs/introduction/introduction.md), then [Your first script](/0x29a-docs/introduction/first-script.md).
* **Already know the pattern?** Jump straight into the API reference, starting with [mem](/0x29a-docs/memory-and-analysis/mem.md).

## What's covered

| Area              | Modules                                                                                                                                                                                                                                                                                        |
| ----------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Memory & Analysis | [mem](/0x29a-docs/memory-and-analysis/mem.md), [disasm](/0x29a-docs/memory-and-analysis/disasm.md), [sig](/0x29a-docs/memory-and-analysis/sig.md), [func](/0x29a-docs/memory-and-analysis/func.md), [pe](/0x29a-docs/memory-and-analysis/pe.md), [sym](/0x29a-docs/memory-and-analysis/sym.md) |
| Runtime           | [hook / \_29a](/0x29a-docs/runtime/hook.md), [thread](/0x29a-docs/runtime/thread.md), [input](/0x29a-docs/runtime/input.md)                                                                                                                                                                    |
| Interface         | [ui](/0x29a-docs/interface/ui.md), [render / draw](/0x29a-docs/interface/render.md)                                                                                                                                                                                                            |
| Data & Platform   | [db](/0x29a-docs/data-and-platform/db.md), [save](/0x29a-docs/data-and-platform/save.md), [libs](/0x29a-docs/data-and-platform/libs.md), [cloudscripts](/0x29a-docs/data-and-platform/cloudscripts.md)                                                                                         |
| Globals           | [proc](/0x29a-docs/globals/proc.md), [utility functions](/0x29a-docs/globals/helpers.md)                                                                                                                                                                                                       |

## Guides

* [What is 29a](/0x29a-docs/introduction/introduction.md)
* [Your first script](/0x29a-docs/introduction/first-script.md)
* [Lifecycle & scheduler](/0x29a-docs/introduction/lifecycle.md)
* [Hotkeys](/0x29a-docs/introduction/hotkeys.md)
* [Persistence (save)](/0x29a-docs/introduction/persistence.md)
* [Libs & require()](/0x29a-docs/introduction/libs.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://0x29a.gitbook.io/0x29a-docs/readme.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.
