---
title: 'AI Rules: The @neondatabase/toolkit'
subtitle: Context rules for AI tools to use the @neondatabase/toolkit for ephemeral
  Postgres databases
summary: >-
  Covers the context rules for utilizing the @neondatabase/toolkit with
  ephemeral Postgres databases, currently in beta, and invites user feedback for
  improvements.
enableTableOfContents: true
updatedOn: '2026-02-06T22:07:32.725Z'
---

<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/neondatabase-toolkit">Get started with the @neondatabase/toolkit</a>
  <a href="/docs/reference/typescript-sdk">Neon API TypeScript SDK</a>
  <a href="/docs/reference/api-reference">Neon API Reference</a>
</DocsList>

<DocsList title="Repository" theme="repo">
  <a href="https://www.npmjs.com/package/@neondatabase/toolkit">`@neondatabase/toolkit` on npm</a>
  <a href="https://jsr.io/@neon/toolkit">`@neon/toolkit` on JSR</a>
  <a href="https://github.com/neondatabase-labs/ai-rules/blob/main/neon-toolkit.mdc">neon-toolkit.mdc</a>
</DocsList>
</InfoBlock>

<AIRule file="neon-toolkit.mdc" name="@neondatabase/toolkit" />

## Rules

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