Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 91
  • 82k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-advanced

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install agentdb-advanced in Claude Code

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 →
hugging-face-datasetssickn33
94

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.

AAA Skill 50k
db-repairgarrytan
94

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.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

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.

AAA Skill 116k
fix-slow-queriespaperclipai
94

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.

AAA Skill 119k
prisma-8prisma
94

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.

AAA Skill 48k

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.

agentdb-advanced Install

Add to stack

Loading.