qdrant-multitenancy
Skill by qdrant
Guides tenant isolation architecture in Qdrant for multi-tenant and multi-user applications. Covers payload partitioning, tiered multitenancy and data residency. Aimed at developers deciding how to separate customer data.
Install qdrant-multitenancy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/qdrant/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/qdrant-multitenancy ~/.claude/skills/qdrant-multitenancyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/qdrant/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/qdrant-multitenancy ~/.gemini/antigravity-cli/skills/qdrant-multitenancyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install qdrant-multitenancy in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an assistant pick a tenant isolation strategy for Qdrant. It starts from the question of how many tenants there are and how unevenly sized they are. It covers three isolation levels: payload-based, shard-based and collection-based. The default it recommends is one collection partitioned by a tenant payload field, with a keyword index marked is_tenant and a must filter on every query.
The skill also covers tiered multitenancy for a few large tenants plus many small ones, using custom sharding and dedicated shards. It describes per-tenant collections for limited tenants with different embedding models, and region-based custom sharding for data residency. It is written for developers building multi-tenant search or RAG applications on Qdrant.
Written from the project's SKILL.md and checked against it.
What it can do
- Choose an isolation strategyPicks payload partitioning, tiered multitenancy or collection per tenant based on tenant count and size.
- Payload partitioning setupCreates a keyword payload index with is_tenant=true and filters queries by the tenant field.
- Per-tenant scoringPasses the idf search parameter with the tenant filter so tenants with different vocabularies do not skew scores.
- Tiered multitenancyKeeps small tenants in a shared fallback shard and isolates large tenants in dedicated shards.
- Tenant promotionMoves a growing tenant's data into a dedicated shard without downtime.
- Data residency with custom shardingUses region as the shard key so each region's data lands on shards placed in specific locations.
- Security guidanceWarns that a payload filter alone is not a full security model for tenant isolation.
What you need
- Qdrant v1.11 or newer for the is_tenant flag
- Qdrant v1.16 or newer for tiered multitenancy
- Qdrant v1.19 or newer for the idf search parameter
Try asking
- How should I isolate customer data in one Qdrant collection?
- Should I create a collection per tenant or partition by payload?
- Help me promote a large tenant to a dedicated shard in Qdrant.
Good to know
- Tiered multitenancy requires Qdrant v1.16 or newer.
- Sharding method is fixed at collection creation and cannot be converted in place.
- Regional residency only holds if cluster nodes are in the target regions. Qdrant Cloud has no managed multi-region today.
- Not recommended to exceed about 1000 dedicated shards per cluster.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/qdrant-multitenancy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to qdrant-multitenancy
All alternatives →Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.
Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.
Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.
Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.
Compare with hugging-face-datasets, db-repair or alloydb-basics
qdrant-multitenancy: common questions
Should I use one collection per tenant in Qdrant?
Only when you have a limited number of tenants that need strict isolation, or when tenants use different embedding models. The default is one collection with payload partitioning.
Is a payload filter enough to isolate tenants in Qdrant?
No. The source says tenant isolation is payload-based and an application-layer responsibility, and the filter is only one small part of it.
Can Qdrant keep one customer's data in a specific region?
Yes, by using custom sharding with region as the shard key. Geographic residency only holds if your cluster's nodes are in the target regions.
How do I install qdrant-multitenancy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is qdrant-multitenancy free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is qdrant-multitenancy safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to qdrant-multitenancy?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
