This project is not covered by Drupal’s security advisory policy.
Connects Drupal to NodeDB, a single database with
vector, full-text, graph, document and key-value engines, and puts it to work
for AI features.
Modules
- NodeDB (required): a checked, least-privilege connection to a NodeDB server.
- TLS with certificate verification by default.
- SCRAM-only authentication with libpq 16 or later.
- The password is stored with the Key module.
- A small SQL API that never puts values into SQL text.
- Status report checks.
- NodeDB Vector Database: a vector database provider for
AI Search, with optional hybrid search (vector similarity + BM25 keyword ranking). Filterable attributes and access-checked results. - NodeDB Agent Memory: long-term, per-user memory tools for AI agents (Remember, Recall, Forget). Users can review and delete their memories, and memories are deleted with the account.
- NodeDB GraphRAG: a "related content" tool for AI agents. It starts from the content closest to a question and follows the links between content (tags, references) to related items. Every result is access-checked for the current user.
Requirements
- Drupal 10.5, or 11.2 and later.
- PHP 8.2 or later with `pdo_pgsql` (libpq must fix CVE-2025-1094; 16 or later is recommended)
- A NodeDB server, 0.6 or later.
- For the AI submodules: AI 1.5 and an embeddings provider. The vector database submodule also needs
AI Search 1.3.
composer require drupal/nodedb
# For the AI submodules:
composer require drupal/ai drupal/ai_searchStatus and caveats
- NodeDB is pre-1.0 software. Its own security policy does not yet recommend it for production. Behaviors of NodeDB 0.6 that this project works around are documented in `docs/nodedb-known-issues.md`.
- AI Search 1.3 is in alpha. With AI 1.5, its deprecated built-in copy of AI Search shares the machine name `ai_search`; the provider works with both.
- Licensing. The NodeDB server is licensed under the Business Source License 1.1. This project only connects to it over the network and is GPL-2.0-or-later.
Security and privacy
The project is built to the Drupal security team's guidance.
docs/threat-model.md lists every trust boundary, its mitigation and the test that proves it. The README covers:
- the least-privilege NodeDB setup;
- which data leaves Drupal (to NodeDB and to the embeddings provider);
- the limits of prompt-injection defenses.
Report security issues privately through the Drupal Security Team.
Development
Code was written with AI assistance (Claude), reviewed and tested by the maintainer.
The repository includes a DDEV setup with a local TLS-enabled NodeDB:
ddev nodedb-provisionsets up the NodeDB database and user.ddev nodedb-test-liveruns the tests against that NodeDB server.
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: Integrations
- Ecosystem: Drupal AI
- Created by akmalfikri on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
