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

# Introduction

AllegroForthKit (aka AFKit) is a framework for making games (and other apps) in standard Forth using [Allegro 5](https://rogerlevy.gitbook.io/afkit/docs/www.liballeg.org).

It's written to the DPANS94 standard.

AFKit consists of a collection of ANS-compatible libraries, bindings for external libraries, core modules, and optional libraries.

*Note: The words "module" and "library" are used interchangeably, in the sense that a library is a kind of module.*


---

# 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:

```
GET https://rogerlevy.gitbook.io/afkit/docs/undefined.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.
