> For the complete documentation index, see [llms.txt](https://docs.safetycli.com/safety-2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.safetycli.com/safety-2/welcome-to-safety-2.md).

# Welcome to Safety 2

<figure><img src="/files/YLANs5IRPXu2m4XiVzGI" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/Gb2aG5JuIv3R0EMF8kIO" %}
[2023 Rebrand from PyUp to Safety Cybersecurity](/safety-2/2023-rebrand-from-pyup-to-safety-cybersecurity.md)
{% endcontent-ref %}

{% hint style="info" %}
**Existing Customers: Upgrade to Safety 3.0**

Safety 3.0 is now available, providing system-wide scanning, unpinned package support, new SBOM and JSON output formats, and more.&#x20;
{% endhint %}

### About Safety 2 / PyUp

Safety Cybersecurity (née PyUp) is a Python Supply Chain Security company. We help keep thousands of Python developer teams and codebases around the world secure using our industry-leading Python Dependency Vulnerability Database and our security scanning and analysis tools. To learn more, head over to our [website](https://safetycli.com).

### Get started

Dive right in, and [run your first security scan](/safety-2/safety-2.x-basics/running-a-safety-scan.md) using the Safety CLI command-line tool.

Then, check out our Getting Started guide to start implementing security scans into your development and production systems.


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.safetycli.com/safety-2/welcome-to-safety-2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
