> For the complete documentation index, see [llms.txt](https://help.lawlibrary.org.za/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.lawlibrary.org.za/additional-resources/pocket-law.md).

# Pocket Law

Pocket Law is an offline copy of the caselaw, legislation and other legal materials

To access Pocket Law:

1. Go to the homepage
2. Scroll to the bottom of the homepage
3. Click the **Pocket Law** button

<div align="left"><figure><img src="https://3117175017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtG3SFnzbvSZsm9BZgnKM%2Fuploads%2Fgit-blob-87c4954cd8f9c8d811cf35e3d2e4ae5eb8a08815%2Flawlibrary--tz%2017.png?alt=media" alt=""><figcaption></figcaption></figure></div>

4. **Download** Pocket Law for your specific operating system whether it's Windows or Mac
5. Click on the .exe file to begin the installation process
6. Click Run Anyway when Microsoft Defender SmartScreen shows a warning
7. Once installed, Pocket Law will launch automatically
8. Click the **Updates link** on the top right corner to download the latest content

<div align="left"><figure><img src="https://3117175017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtG3SFnzbvSZsm9BZgnKM%2Fuploads%2Fgit-blob-04e7dcc8a21237cd451f54da9eb4ee11fadfd2ee%2Flawlibrary--Updates%20Pocket%20Law.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>

9. Install the content packs you want for offline access

<div align="left"><figure><img src="https://3117175017-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtG3SFnzbvSZsm9BZgnKM%2Fuploads%2Fgit-blob-0b6374037fce2cb9cdab8f27af91b6b3c3f2065a%2Flawlibrary--content%20packs.png?alt=media" alt="" width="563"><figcaption></figcaption></figure></div>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.lawlibrary.org.za/additional-resources/pocket-law.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
