> ## Documentation index
> Fetch the complete documentation index at: https://docs.heurastudios.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export package

> Run a model fully offline. The Heura Runtime package carries its server, chat page, knowledge and adapter in one zip.

Source: https://docs.heurastudios.com/ship/export-package/

*Available on Pro and Studio plans.*

The export package is a model you can run without Heura Studios: one zip with a local server, a chat page, an OpenAI-compatible API and everything the model was taught. Use it for air-gapped environments, on-premises deployments or a laptop demo with no network.

Make one from the model's **api** tab with **Export package**.

## What's inside

```text title="quarry/"
START (Mac).command      double-click to start on a Mac
START (Windows).bat      double-click to start on Windows
start.sh                 start on Linux
README.html              how to run it, call it and embed it
requirements.txt
LICENSE, NOTICE
runtime/                 the server, chat page, demo site and website agent
ai/
├── ai.json              the model's settings
├── instructions.json    its script, rules and facts
├── examples.jsonl       its examples and fixes
├── knowledge/           its files, split into sections
├── exam.json            its tests
├── api_key.txt          this package's own key
└── adapter/             the live version's LoRA
```

Accounts, sessions, chats, other models and your live API key never go in. Each package gets a random key of its own for its own server.

## Run it

Double-click the start file for your system, or run the server directly:

```bash
python3 runtime/server.py --port 8800 --open
```

The first start fetches Heura Arche, about 4.3 GB, once. Then it serves:

| Path | What it is |
| --- | --- |
| `/` | A chat page |
| `/demo` | A sample web page with the website agent on it |
| `/widget.js` | The website agent, for your own site |
| `/v1/chat/completions` | The API in OpenAI's format; the key is in `ai/api_key.txt` |
| `/health` | `{"status": "ok"}` once it's up |

By default it listens on `127.0.0.1` only. To serve other machines, start it with `--host 0.0.0.0` behind HTTPS, and name your domain with `--allowed-hosts`.

## Safety travels with it

The package includes the same guard the Studio runs, so messages from someone who may be in danger get the same careful reply offline. See [Safety and guardrails](https://docs.heurastudios.com/account/safety/).

> **Note:**
>
> A package is kept on the server for a day after it's made; export again for a fresh one with the current live version. Packages for models on an imported base are coming. Sound models download as a listener instead: see [Sound models](https://docs.heurastudios.com/build/sound-models/).
