@breadai/store-postgres
v0.1.2
Published
PostgreSQL BreadStore for bread — the default backend. Persists sessions, checkpoints, the knowledge graph, and documents; optional pgvector semantic search via an embed function.
Maintainers
Readme
@breadai/store-postgres
Postgres BreadStore — bread's production-default persistence: sessions, messages, checkpoints,
loops, task runs, knowledge graph, and documents, with optional
pgvector semantic search when you pass an embed
function.
bun add @breadai/store-postgres # or: npm i @breadai/store-postgresimport { defineConfig } from '@breadai/core'
import { store } from '@breadai/store-postgres'
export default defineConfig({
entrypoints: ['researcher'],
store: store(), // reads DATABASE_URL; or store({ url })
})Tables are bread_-prefixed and created by migrate() (the server runs it at boot). Works on
both Bun and Node.
Part of bread — an explicit-by-design framework for AI agents. Docs: store · all docs.
License
MIT © Matteo Zambon
