Shipping psql without psql: a pure-TypeScript Postgres client in neonctl
Blog post from Neon
Vadim Kharitonov details the development of a pure-TypeScript implementation of the psql client embedded within neonctl, highlighting the challenges and solutions in creating a reliable and platform-independent alternative to the traditional psql. The project was largely executed by an AI coding agent, Claude, with human oversight for scope and review, emphasizing the necessity of rigorous testing and security reviews to ensure accuracy and trustworthiness. A significant aspect of the development was the creation of a conformance harness to validate the TypeScript client's behavior against PostgreSQL's own regression suite, ensuring byte-for-byte accuracy. This approach underscores the importance of adversarial review and continuous integration checks in maintaining secure and reliable code, especially when AI is involved in the coding process. The result is a seamless experience across platforms without the need for native dependencies, addressing the frequent absence of psql in environments like macOS, slim Linux containers, and Windows without pgAdmin.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| AI Coding Assistant | 2 | 2,161 | 541 | 167 | +20% |
| AI Agents | 1 | 6,119 | 1,396 | 266 | +24% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.