---
title: 'AI Rules: Neon Python SDK'
subtitle: Context rules for AI tools to use the Neon Python SDK
summary: >-
  Covers the context rules for AI tools utilizing the Neon Python SDK, currently
  in beta, and invites user feedback for improvements.
enableTableOfContents: true
updatedOn: '2026-02-06T22:07:32.724Z'
---

<Admonition type="note" title="AI Rules are in Beta">
AI Rules are currently in beta. We're actively improving them and would love to hear your feedback. Join us on [Discord](https://discord.gg/92vNTzKDGp) to share your experience and suggestions.
</Admonition>

<InfoBlock>
<DocsList title="Related docs" theme="docs">
  <a href="/docs/reference/python-sdk">Get started with Neon Python SDK</a>
  <a href="/docs/reference/api-reference">Neon API Reference</a>
</DocsList>

<DocsList title="Repository" theme="repo">
  <a href="https://github.com/neondatabase/neon-api-python">Github Repo</a>
  <a href="https://neon-api-python.readthedocs.io/en/latest/">Python SDK Docs</a>
  <a href="https://github.com/neondatabase-labs/ai-rules/blob/main/neon-python-sdk.mdc">neon-python-sdk.mdc</a>
</DocsList>
</InfoBlock>

<AIRule file="neon-python-sdk.mdc" name="Neon Python SDK" />

## Rules

<ExternalCode
  url="https://raw.githubusercontent.com/neondatabase-labs/ai-rules/main/neon-python-sdk.mdc"
  language="md"
/>
