# Runtime Environment

{% hint style="info" %}
Panther [SaaS](/system-configuration/panther-deployment-types/saas.md) customers must file a support ticket to have a custom set of libraries or layer applied to their hosted instance of Panther. The following Python libraries are available to be used in Panther in addition to `boto3` provided by [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html):
{% endhint %}

<table data-header-hidden><thead><tr><th width="204">Package</th><th width="174">Version</th><th width="186">Description</th><th>License</th></tr></thead><tbody><tr><td>Package</td><td>Version</td><td>Description</td><td>License</td></tr><tr><td><code>jsonpath-ng</code></td><td><code>1.5.2</code></td><td>JSONPath Implementation</td><td>Apache v2</td></tr><tr><td><code>policyuniverse</code></td><td><code>1.3.3.20210223</code></td><td>Parse AWS ARNs and Policies</td><td>Apache v2</td></tr><tr><td><code>requests</code></td><td><code>2.23.0</code></td><td>Easy HTTP Requests</td><td>Apache v2</td></tr></tbody></table>

For **self-hosted** instances of Panther, you can add custom libraries by editing the `PipLayer` below in the `panther_config.yml`:

```yaml
PipLayer:
  - jsonpath-ng=1.5.2
  - policyuniverse==1.3.3.20210223
  - requests==2.23.0
```

Alternatively, you can override the runtime libraries by attaching a custom Lambda layer in the `panther_config.yml`:

```yaml
BackendParameterValues:
  PythonLayerVersionArn: 'arn:aws:lambda:us-east-2:123456789012:layer:my-layer:3'
```


---

# 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://docs.panther.com/system-configuration/panther-deployment-types/legacy-configurations/self-hosted-deployments/run-time.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.
