Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
PostgreSQL platform for hybrid AI agent memory and retrieval
Polygres is a managed PostgreSQL platform that turns your existing Postgres database into internal search for AI agents. It combines rows, relationships, and embeddings into a single hybrid query that returns one ranked answer, making it feel like extended context for AI models.
pip install polygres-cli to manage projects, import data, and run queries from your terminal.polygres.retrieve() function in your code to query your database. Specify the query, graph hops, filters, and token limit to get a ranked context block.Q: Can I use my existing Postgres database? A: Yes, you can connect Supabase, Neon, or any Postgres instance with a connection string.
Q: Is Polygres open source? A: The engines under Polygres (pgGraph and pgContext) are open source Postgres extensions. You can run them on your own cluster.
Q: How fast is retrieval? A: Queries return in milliseconds, thanks to HNSW indexing and graph traversal optimized for memory.
Q: Does Polygres require a separate vector store? A: No, embeddings and graph data live inside Postgres, so no sidecar services or sync jobs are needed.