# Python SDK

The Python SDK provides interfaces for extending Lunar's functionality through Python-based plugins. This SDK enables you to create custom collectors and policies tailored to your organization's needs.

## SDK Components

Explore these pages to learn about the types of plugins you can create with the Python SDK:

* [Collector](/plugin-sdks/python-sdk/collector.md) - Create collectors for gathering component metadata (**coming soon**)
* [Policy](/plugin-sdks/python-sdk/policy.md) - Develop policies for validating components against custom rules


---

# 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-lunar.earthly.dev/plugin-sdks/python-sdk.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.
