prisma-next  by prisma

AI-native ORM for extensible data access

Created 6 months ago
334 stars

Top 82.2% on SourcePulse

GitHubView on GitHub
1 Expert Loves This Project
Project Summary

Summary

Prisma Next is an AI-agent-friendly, extensible, and composable TypeScript rewrite of Prisma ORM. It targets developers seeking to integrate AI-driven workflows into their database interactions, offering a modern foundation for applications by simplifying complex data operations via natural language prompts.

How It Works

This project re-architects Prisma ORM in TypeScript, emphasizing extensibility via a public Service Provider Interface (SPI). Its core innovation is deep AI agent integration, enabling natural language schema edits and queries. The system uses "skills" that AI assistants execute, driving end-to-end changes for a more automated developer experience.

Quick Start & Requirements

  • Installation: Scaffold new projects with npm create prisma@next; integrate into existing projects using npx prisma-next@latest init.
  • Prerequisites: Node.js 24+, npm/pnpm/yarn.
  • Resources: Setup involves running init commands, which scaffolds configuration and registers AI skills.
  • Documentation: Links to Discord, X, and blog posts are available.

Highlighted Details

  • AI Agent Integration: Features a "skills" system for AI assistants to auto-load capabilities, enabling natural language database operations.
  • Extensibility: Built on a public SPI for third-party extensions like @prisma-next/extension-pgvector (vector search), @prisma-next/extension-paradedb (full-text search), and @cipherstash/prisma-next (searchable encryption).
  • Database Support: Primary support for PostgreSQL, with MongoDB available. SQLite and MySQL are planned.

Maintenance & Community

Developed openly with community involvement. Engage via Discord (prisma-next channel) or X (@prisma). A prisma-next-feedback skill facilitates issue reporting or directs users to Discord for Q&A.

Licensing & Compatibility

Licensed under Apache 2.0, permitting commercial use and integration into closed-source projects without significant copyleft restrictions.

Limitations & Caveats

Currently in Early Access, Prisma Next's APIs are subject to evolution based on community feedback. It is not recommended for production workloads at this stage, and developers should anticipate potential API changes.

Health Check
Last Commit

12 hours ago

Responsiveness

Inactive

Pull Requests (30d)
202
Issues (30d)
4
Star History
51 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Kent Dodds Kent Dodds(Cofounder of Remix), and
10 more.

agentic by transitive-bullshit

0.0%
18k
AI agent stdlib for LLM-based TypeScript tooling
Created 3 years ago
Updated 3 months ago
Feedback? Help us improve.