# Create a package

To create a custom package, one can begin by running the `package generate` command of the CLI. The resulting output will have folder structure with files as below:

```
.
├── docker-compose.dev.yml
├── docker-compose.yml
├── package-metadata.json
└── swarm.sh
```

See the following section for more details on how each of these files can be used.

{% hint style="info" %}
Review packages in <https://github.com/jembi/platform>, for examples on how to structure packages for importing configs, using several convenience utilities, running in clustered mode, and more.
{% endhint %}


---

# Agent Instructions: 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://jembi.gitbook.io/instant-v2/package/create-a-custom-package.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.
