agentdb-advanced
Skill by ruvnet
Covers advanced AgentDB features for distributed AI systems, including QUIC sync between instances, distance metrics, hybrid vector and metadata search, and multi-database sharding. Aimed at developers building multi-agent or advanced vector search applications.
Install agentdb-advanced
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ruvnet/ruflo /tmp/ruflo && mkdir -p ~/.claude/skills && cp -r /tmp/ruflo/.claude/skills/agentdb-advanced ~/.claude/skills/agentdb-advancedRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ruvnet/ruflo /tmp/ruflo && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ruflo/.claude/skills/agentdb-advanced ~/.gemini/antigravity-cli/skills/agentdb-advancedAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
AgentDB Advanced is a skill that covers advanced AgentDB features for distributed systems. It describes QUIC synchronization between AgentDB instances across network boundaries, with automatic retry, multiplexed streams and TLS 1.3 encryption. The source states latency under 1ms between nodes. It also covers cosine, Euclidean and dot product distance metrics, a custom distance function example, and hybrid search that combines vector similarity with metadata filters.
The skill also explains multi-database management and sharding by domain, MMR for diverse search results, context synthesis, and production patterns such as connection pooling, error handling and monitoring. It is aimed at developers building distributed AI systems, multi-agent coordination, or advanced vector search applications. The source lists Node.js 18+, AgentDB v1.0.7+ via agentic-flow, and familiarity with distributed systems and vector search as prerequisites.
Written from the project's SKILL.md and checked against it.
What it can do
- QUIC synchronizationSyncs AgentDB patterns across peer instances using QUIC on a configurable port.
- Distance metricsSupports cosine, Euclidean (L2) and dot product similarity for vector search.
- Custom distance metricsShows how to write a weighted Euclidean distance function in TypeScript.
- Hybrid searchCombines vector similarity with metadata filters such as ranges, lists and tags.
- Weighted hybrid scoringBlends vector similarity and metadata match scores with set weights.
- Multi-database managementUses separate database files per domain and shards data by domain key.
- MMR retrievalReturns diverse, non-redundant results using a lambda balance between relevance and diversity.
- Context synthesisGenerates a combined narrative and common patterns from multiple retrieved memories.
- Import, export and mergeRuns CLI commands to export, import and merge AgentDB database files.
What you need
- Node.js 18+
- AgentDB v1.0.7+ (via agentic-flow)
- Understanding of distributed systems (for QUIC sync)
- Vector search fundamentals
Try asking
- Set up QUIC sync between three AgentDB nodes on my local network
- Run a hybrid search for ML papers from 2023 or later with 50+ citations
- Return diverse results using MMR with lambda 0.5 for my query
Good to know
- The custom distance metric example needs a custom search implementation, which the source does not provide.
- Domain sharding routing in the source is a simple prefix-based example.
- Performance figures such as sub-millisecond sync are stated in the source without benchmark details.
Security check
C- Asks for administrator rights (sudo)In
.claude/skills/agentdb-advanced/SKILL.md:sudo
Checked automatically: .claude/skills/agentdb-advanced/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md13 KB
Alternatives to agentdb-advanced
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
agentdb-advanced: common questions
Can AgentDB sync data across several machines?
Yes. The skill describes QUIC sync where patterns inserted on one instance are made available on peers listed in the configuration, with the source stating availability within about 1ms.
Which distance metrics does this skill cover?
It covers cosine similarity (the default), Euclidean distance (L2) and dot product, with CLI and API examples for each. It also shows a custom weighted distance function.
What does MMR do in AgentDB?
MMR (Maximal Marginal Relevance) returns diverse results to avoid redundancy. The mmrLambda setting balances relevance at 0 against diversity at 1.
How do I install agentdb-advanced?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is agentdb-advanced free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is agentdb-advanced safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to agentdb-advanced?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
