pgai keeps search embeddings in sync with PostgreSQL data for developers building RAG applications and AI agents. It's a Python library with database components and workers you can self-host, including in Docker. The project is archived and no longer maintained or supported. Its code is open source under the PostgreSQL License.
The vectorizer creates embeddings from database columns, files and S3 documents, then updates them as the underlying data changes. It can parse PDF, HTML and Markdown documents, split text into chunks, and produce separate embeddings with different models for comparison. Search uses pgvector, with pgvectorscale available for larger vector workloads.
Embedding jobs run separately from ordinary database writes, so a slow or failed model endpoint doesn't block changes to your application data. Batch processing, queues and retries handle provider failures, rate limits and latency spikes. Embeddings and text chunks live in PostgreSQL. Ollama supports local model use; choosing a cloud provider such as OpenAI, Cohere or Voyage AI sends embedding input to that service. The database can be self-hosted or hosted through services including Timescale Cloud, Amazon RDS and Supabase.
The Semantic Catalog supports natural language queries by generating database descriptions that people can review and revise. It also stores SQL examples and business facts to give models context about the data. A separate PostgreSQL extension lets applications call models directly from SQL for classification, summarization and data enrichment.
Claim this page and we'll verify you by hand. pgai gets the verified badge, and you can upgrade the listing to be featured on localhosted. Proud to be listed? Put our badge on your site.
Want more people to find pgai?Promote it
Something wrong or outdated on this page?
13KUpdated 21 hours agoApache-2.0
Docker#Agent Skills#Hugging Face integration#Knowledge graphs
txtai is a Python framework for developers building search applications, chat with their data, and AI agents on their own hardware or servers. Its embeddings database combines sparse and dense vector search with graphs and relational data, so the same system can find related content and supply context to language models. It's open source under Apache 2.0.
26.6KUpdated 1 day agoApache-2.0
Docker#Guardrails#Hugging Face integration#Hybrid search
9.7KUpdated 9 months agoMIT
#Ollama integration#RAG#Semantic search
52.4KUpdated 2 days agoMIT
#Ollama integration#RAG#Reranking
39.6KUpdated 1 year ago
#Ollama integration#RAG#Reranking
Quivr Core is a Python framework for developers adding document-based AI answers to their own applications. It combines file ingestion with retrieval-augmented generation (RAG), so a model can answer questions using material from your documents. It supports local models through Ollama as well as cloud APIs from OpenAI, Anthropic, and Mistral.
13.2KUpdated 1 day agoApache-2.0
#MCP#Ollama integration#RAG
Haystack is a Python framework for developers building self-hosted AI agents, document search, and apps that answer questions using their own data. Its modular pipelines let teams control which information reaches a model and inspect how retrieval, memory, tools, and generation contribute to an answer. It's open source under Apache 2.0.
LangChainGo is a Go implementation of LangChain for developers building LLM applications in their own software. It connects Go programs to model backends, including Ollama for local LLM use and cloud services such as OpenAI and Gemini. It's a library, so its audience is developers who want to build an application rather than use a ready-made chat interface.
LlamaIndex is an MIT-licensed Python framework for developers building AI agents and apps that answer questions using their own data. It connects documents and other sources to language models, then helps an app find the relevant material when a user asks something. Its open source framework can work with models served through Ollama.
LangChain4j is an Apache 2.0 open-source Java library for developers building chatbots, assistants and AI agents in JVM applications. It connects application code to local LLM backends such as Ollama as well as cloud providers such as OpenAI and Google Vertex AI. Where model requests go depends on the backend you choose.