Ask questions about Neon
A read-only managed agent for Neon Postgres diagnostics.
- chat
- neon-answerer
- neon-readonly
neon-answerer-pool
- neon-answerer-model
neon
What this template gives you
Interface
A chat window, in your browser
Use the included interface to send a request to this template.
Gateway
neon-readonly gateway
This template sends its requests through neon-readonly gateway, where its access rules and limits apply.
Model
neon-answerer-model
This template uses neon-answerer-model through the neon-answerer-pool pool.
Usage
Hand this template to an AI agent to set up this template
Node.js and npm to run npx.
Dome CLI, installed with brew install dome-systems/tap/dome, then signed in with dome auth login.
Docker Compose to run the companion app locally.
- 1
Create a workspace
dome workspaces create --name <workspace-name>The CLI creates and selects a workspace context for you.
- 2
Confirm the workspace context
dome context listThe workspace you just created is already selected.
- 3
Pull the template
npx @domesystems/templates pull dome-systems/ai-agent-for-neon@0.1.0 --dir ai-agent-for-neonDownloads this immutable release and verifies its digest.
- 4
Run the template
npx @domesystems/templates up --dir ai-agent-for-neonImports it into Dome and starts the companion app.
Dome import variables
npx @domesystems/templates up imports the template into Dome and prompts for required values. For unattended runs, set them as DOME_IMPORT_VAR_… environment variables.
Required values
DOME_IMPORT_VAR_anthropic_api_keyDOME_IMPORT_VAR_neon_bearer_token
Setup guide
Follow this template's setup guidance for agent variables and upstream connections.
# Configure Neon
- `anthropic_api_key`: enter the Anthropic key used by this agent's model.
- `neon_bearer_token`: enter `Bearer ` followed by a Neon API key for the Neon account or organization the agent will inspect.
This template uses Neon API-key authentication rather than OAuth, so it does not open a browser or require a callback URL. Create a dedicated Neon API key with only the access needed for the test account, then store it in Dome with the `Bearer ` prefix. Neon documents this API-key connection method in its [MCP client guide](https://neon.com/docs/ai/connect-mcp-clients-to-neon).
The MCP URL is pinned to read-only mode; do not remove that restriction in this template. The agent's instructions also prohibit project, branch, schema, role, data, and compute changes.Runtime environment
These variables are required to run the agent. During pull, .env.example is copied to .env when available. If they’re missing, npx @domesystems/templates up retrieves them from Dome and saves them in .env. Pass --provision to refresh them.
No .env.example is included in this release.Agent instructions
Inspect Neon projects, schemas, and read-only database diagnostics. Do not create or
change projects, branches, schemas, computes, roles, data, or connection settings.