> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: The Runtime
description: The LuaJIT runtime, bundled libraries, and conventions behind Neverlose CS:GO scripts.
icon: boxes
sidebar_position: 3
---

# The Runtime

Scripts run on **LuaJIT**, with a couple of extra libraries available out of the box. This page covers what you're working with before you start writing.

## Prerequisites

* An active Neverlose CS:GO subscription.
* Basic knowledge of Lua 5.1 / LuaJIT — see the [Lua Crash Course](/csgo/guides/lua-crash-course).

## Bundled libraries

| Library                                          | Description                                                                                                                                                           |
| ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [LuaJIT 2.1.0](https://github.com/LuaJIT/LuaJIT) | A Just-In-Time (JIT) compiler for the Lua programming language.                                                                                                       |
| [FFI](https://luajit.org/ext_ffi.html)           | The Foreign Function Interface lets you call external C functions and use C data structures from pure Lua. See the [FFI Crash Course](/csgo/guides/ffi-crash-course). |
| [BIT](https://bitop.luajit.org/api.html)         | BitOp adds fast bitwise operations on numbers.                                                                                                                        |

## Architecture

CS:GO is a 32-bit (**x86**) Source-engine game. For everyday scripting through the [Lua API](/csgo/api-reference/namespaces/_g) this never comes up — it only surfaces once you reach for FFI, where the [FFI Crash Course](/csgo/guides/ffi-crash-course) covers the x86 specifics in full.

## How to read these docs

<Note>
  **Arguments in square brackets are optional.** A signature like `render.text(font, pos, clr[, flags], text)` means `flags` may be omitted.
</Note>

## Next steps

<Columns cols={2}>
  <Card title="Lua Crash Course" icon="graduation-cap" href="/csgo/guides/lua-crash-course">
    The language essentials — variables, tables, functions, metatables, and modules.
  </Card>

  <Card title="API Reference" icon="code" href="/csgo/api-reference/namespaces/_g">
    Every namespace your script can call: events, render, entity, ui, and more.
  </Card>
</Columns>
