-
Notifications
You must be signed in to change notification settings - Fork 49
Description
Description
We would like to see a new tool in Arcade that allows AI agents to interact with Neon, the serverless Postgres platform. This tool would let agents create and manage Neon databases, branches, and perform basic operations. It would be useful for AI workflows that rely on structured data storage, such as RAG pipelines, multi-tenant apps, and version-controlled AI experiments. Developers building AI agents could fully automate their database operations in real time.
With Neon, AI agents can create a new database or branch in milliseconds, making it ideal for dynamic and ephemeral workloads driven by AI logic.
Proposed Feature
A new neon_tool that supports:
- Creating and deleting Neon projects and databases
- Creating and managing branches (Neon branching guide)
- Running SQL queries
- Viewing project metadata
The tool should work with the Neon API and accept API key as credentials.
Alternatives Considered
One option is to use custom Python tools inside the agent logic or use the Neon MCP server, but it adds a lot of boilerplate and security concerns. Developers would need to manually handle auth, API calls, and error handling. A built-in Arcade tool would simplify everything and make it reusable for many apps.
Implementation Strategy
Create a new neon_tool using Arcade’s existing tool SDK
Wrap Neon’s REST API for common operations
Use environment variables for API keys
Allow tool parameters like branch_name, sql=..., etc.
Return structured output to agents for decision making
Optional: add logging and response summaries to make agent decisions more transparent.
Use Case
Imagine an AI agent that spins up a temporary database branch when a user starts a new project. After processing or testing, it automatically deletes the branch to save costs. Another example: an agent that runs analytics by querying data directly from a Neon database and replying in natural language. I also wrote about why to use a separate database per agent in this article.
Example 1: An AI agent instantly creates a new Neon database for a user session and deletes it when the task is done, optimizing cost and isolation.
Example 2: An AI assistant managing multi-tenant apps can create isolated branches per customer for analytics and experimentation.
With built-in Neon support, these workflows become much easier and more secure for developers.
Additional Context
Neon is a fast-growing serverless Postgres provider used in many AI and SaaS apps. Adding Arcade integration opens up many automation and AI-driven data workflows. This would also be the first database management tool in Arcade’s toolset, enabling a whole new category of use cases.
Thanks for considering this feature! Happy to contribute to community tool or test prototypes if needed.