AgentDB Performance Optimization
Skill96k starsChanged 9 months agoMITView on GitHub
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.
11 other projects use a version of this, 1 of them edited.
How people change it
All 1 edited versions we compared keep every one of its 3 rules.
Of the 1 edited version we compared: 1 keep every rule.
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- echo-mem/echo-memword for word, first seen Sep 11, 2026
- ruvnet/rufloword for word, first seen Sep 10, 2026
- Soulcynics404/AgentForgeword for word, first seen Aug 24, 2026
- shyftlabs/continuumword for word, first seen May 28, 2026
- jazz-max/ruflo-hubword for word, first seen Apr 19, 2026
- Zekiog/rufloedited, first seen Apr 8, 2026
Who's talking about ruvnet/RuView
- A Hacker News story“Top trending repo claims to detect movement via WiFi, yet no one can run it”Hacker News · Mar 9, 2026 · 10 points
- @bearstech.com“RuView : un projet Open Source qui transforme les signaux Wi-Fi en système de détection spatiale temps …”Bluesky · May 16, 2026 · 7 likes
- @anthonymoser.com“i'm thinking about corporate /govt locations where they can deploy as desired and dial in a new kind of …”Bluesky · Oct 2, 2026 · 6 likes
- A Hacker News story“Show HN: Turn commodity WiFi signals into real-time spatial intelligence”Hacker News · Jul 7, 2026 · 6 points
- A Hacker News story“WiFi-DensePose – open-source software that sees you through walls using wifi”Hacker News · Mar 8, 2026 · 6 points
The biggest 5 of 109 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 109
Talked about on GitHub, Bluesky and Hacker News (109 times).
On GitHub · 50
- Nov 26, 2026claude-code-marketplaces.github.ruvnet.ruview: 3815 → 3853 — sudosubin/agents.nix0 reactions
- Nov 25, 2026agent-skills.github.ruvnet.ruview: 3815 → 3853 — sudosubin/agents.nix0 reactions
- Nov 25, 2026claude-code-plugins.github.ruvnet.ruview: 3815 → 3853 — sudosubin/agents.nix0 reactions
- Nov 24, 2026fix: add a Codex hook shim for claude-terminal-mod — stuinfla/ruvnet-brain0 reactions · 1 comment
- Nov 23, 2026feat: governed Reality conditioning and Vast Serverless canary client (ADR 210) — ruvnet/worldgraph0 reactions · 1 comment
45 more on GitHub
- Nov 21, 2026claude-code-plugins.github.ruvnet.ruview: 3809 → 3815 — sudosubin/agents.nix0 reactions
- Nov 21, 2026agent-skills.github.ruvnet.ruview: 3809 → 3815 — sudosubin/agents.nix0 reactions
- Nov 21, 2026claude-code-marketplaces.github.ruvnet.ruview: 3809 → 3815 — sudosubin/agents.nix0 reactions
- Nov 21, 2026claude-code-plugins.github.ruvnet.ruview: 3750 → 3809 — sudosubin/agents.nix0 reactions
- Nov 21, 2026agent-skills.github.ruvnet.ruview: 3750 → 3809 — sudosubin/agents.nix0 reactions
- Nov 21, 2026claude-code-marketplaces.github.ruvnet.ruview: 3750 → 3809 — sudosubin/agents.nix0 reactions
- Nov 19, 2026Import RuView from upstream with full history — UncleWeapon/see_through_walls0 reactions · 1 comment
- Nov 18, 2026Backport collector dependency and firmware CSI fixes — ha-homelab/ruview-home-sensing0 reactions
- Nov 18, 2026agent-skills.github.ruvnet.ruview: 3727 → 3750 — sudosubin/agents.nix0 reactions
- Nov 18, 2026claude-code-plugins.github.ruvnet.ruview: 3727 → 3750 — sudosubin/agents.nix0 reactions
- Nov 18, 2026claude-code-marketplaces.github.ruvnet.ruview: 3727 → 3750 — sudosubin/agents.nix0 reactions
- Nov 14, 2026claude-code-plugins.github.ruvnet.ruview: 3702 → 3727 — sudosubin/agents.nix0 reactions
- Nov 14, 2026agent-skills.github.ruvnet.ruview: 3702 → 3727 — sudosubin/agents.nix0 reactions
- Nov 14, 2026claude-code-marketplaces.github.ruvnet.ruview: 3702 → 3727 — sudosubin/agents.nix0 reactions
- Nov 12, 2026agent-skills.github.ruvnet.ruview: 3691 → 3702 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-marketplaces.github.ruvnet.ruview: 3691 → 3702 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-plugins.github.ruvnet.ruview: 3664 → 3702 — sudosubin/agents.nix0 reactions
- Nov 12, 2026agent-skills.github.ruvnet.ruview: 3669 → 3691 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-marketplaces.github.ruvnet.ruview: 3664 → 3691 — sudosubin/agents.nix0 reactions
- Nov 11, 2026agent-skills.github.ruvnet.ruview: 3664 → 3669 — sudosubin/agents.nix0 reactions
- Nov 11, 2026claude-code-marketplaces.github.ruvnet.ruview: 3659 → 3664 — sudosubin/agents.nix0 reactions
- Nov 11, 2026claude-code-plugins.github.ruvnet.ruview: 3659 → 3664 — sudosubin/agents.nix0 reactions
- Nov 11, 2026agent-skills.github.ruvnet.ruview: 3632 → 3664 — sudosubin/agents.nix0 reactions
- Nov 11, 2026claude-code-marketplaces.github.ruvnet.ruview: 3632 → 3659 — sudosubin/agents.nix0 reactions
- Nov 11, 2026claude-code-plugins.github.ruvnet.ruview: 3632 → 3659 — sudosubin/agents.nix0 reactions
- Nov 10, 2026Add GhostView: rebranded RuView fork with one-command demo — Ghostfreakxx/3dmap-wartime-visual3dvideo0 reactions · 1 comment
- Nov 10, 2026claude-code-marketplaces.github.ruvnet.ruview: 3622 → 3632 — sudosubin/agents.nix0 reactions
- Nov 10, 2026agent-skills.github.ruvnet.ruview: 3614 → 3632 — sudosubin/agents.nix0 reactions
- Nov 10, 2026claude-code-plugins.github.ruvnet.ruview: 3614 → 3632 — sudosubin/agents.nix0 reactions
- Nov 9, 2026claude-code-marketplaces.github.ruvnet.ruview: 3600 → 3622 — sudosubin/agents.nix0 reactions
- Nov 9, 2026RuView update ready: v0.8.18-esp32 — giusemc1988/stock-predict0 reactions
- Nov 9, 2026agent-skills.github.ruvnet.ruview: 3600 → 3614 — sudosubin/agents.nix0 reactions
- Nov 9, 2026claude-code-plugins.github.ruvnet.ruview: 3600 → 3614 — sudosubin/agents.nix0 reactions
- Nov 9, 2026مرشحون جدد للدليل (2026-11-09) — mgrd281/Skill-0 reactions
- Nov 9, 2026claude-code-plugins.github.ruvnet.ruview: 3558 → 3600 — sudosubin/agents.nix0 reactions
- Nov 9, 2026agent-skills.github.ruvnet.ruview: 3558 → 3600 — sudosubin/agents.nix0 reactions
- Nov 9, 2026claude-code-marketplaces.github.ruvnet.ruview: 3558 → 3600 — sudosubin/agents.nix0 reactions
- Nov 7, 2026`npm update --package-lock-only` drops lock entries for unpublished optional dependencies, then `npm ci` rejects the lock — npm/cli0 reactions · 1 comment
- Nov 7, 2026agent-skills.github.ruvnet.ruview: 3548 → 3558 — sudosubin/agents.nix0 reactions
- Nov 7, 2026claude-code-plugins.github.ruvnet.ruview: 3548 → 3558 — sudosubin/agents.nix0 reactions
- Nov 7, 2026claude-code-marketplaces.github.ruvnet.ruview: 3446 → 3558 — sudosubin/agents.nix0 reactions
- Nov 6, 2026claude-code-plugins.github.ruvnet.ruview: 3446 → 3548 — sudosubin/agents.nix0 reactions
- Nov 6, 2026agent-skills.github.ruvnet.ruview: 3446 → 3548 — sudosubin/agents.nix0 reactions
- Oct 29, 2026RuView update ready: v0.8.17-esp32 — giusemc1988/stock-predict0 reactions
- Oct 28, 2026claude-code-plugins.github.ruvnet.ruview: init at 3446 — sudosubin/agents.nix0 reactions
On Bluesky · 50
- May 16, 2026RuView : un projet Open Source qui transforme les signaux Wi-Fi en système de détection spatiale temps réel… Selon vous, où se situe-t-on… — @bearstech.com7 likes and reposts · 2 replies
- Oct 2, 2026i'm thinking about corporate /govt locations where they can deploy as desired and dial in a new kind of surveillance the amount this… — @anthonymoser.com6 likes and reposts
- Nov 11, 2026wifi が発する信号で壁越しに室内を観察する技術もオープンソースで公開中∠(`・ω・´) 以前、お掃除ロボットで室内の位置情報を取得していたお話もありました。 便利なものに逃げ場所なし(・・*)。。oO(想像中)… — @t-tanaka3.bsky.social5 likes and reposts
- Mar 31, 2026ruvnet / RuView: π RuView: WiFi DensePose turns commodity WiFi signals into real-time human pose estimation, vital sign monitoring, and… — @rusttrending.bsky.social5 likes and reposts · 1 reply
- Jun 15, 2026ruvnet / RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection —… — @rusttrending.bsky.social4 likes and reposts · 1 reply
45 more on Bluesky
- Jul 5, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 ruvnet / RuView ⭐ 76,521 (+133) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending.bsky.social3 likes and reposts
- Sep 7, 2026ruvnet / RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection —… — @rusttrending.bsky.social2 likes and reposts
- Aug 10, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 ruvnet / RuView ⭐ 89,169 (+156) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending.bsky.social2 likes and reposts
- Jun 8, 2026https://github.com/ruvnet/RuView — @tom-doerr.bsky.social2 likes and reposts
- May 22, 2026📈 Today's GitHub Trending: 1. https://github.com/anthropics/claude-plugins-official - Python, 2556 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy2 likes and reposts
- May 14, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 ruvnet / RuView ⭐ 55,045 (+1,757) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Mar 19, 2026based it off of this, but added in the visual reinforcement because I started with the wrong little esp doodads. github.com/ruvnet/RuView — @doeshapedclouds.com2 likes and reposts
- Mar 16, 2026ruvnet / RuView: π RuView: WiFi DensePose turns commodity WiFi signals into real-time human pose estimation, vital sign monitoring, and… — @rusttrending.bsky.social2 likes and reposts
- Nov 9, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 103,150 (+203) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending.bsky.social1 likes and repost · 1 reply
- Oct 20, 2026🚀 GitHub Intelligence Drop angular (TypeScript • 🟢) ⭐ 101.1K → https://github.com/angular/angular RuView (Rust • 🟢) ⭐ 98.8K →… — @githubfeed.bsky.social1 likes and repost
- Sep 14, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 93,642 (+370) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending.bsky.social1 likes and repost · 1 reply
- Sep 13, 2026そして wifi が発する信号で壁越しに室内を観察する技術もオープンソースで公開中∠(`・ω・´) 以前、お掃除ロボットで室内の位置情報を取得していたお話もありました。 便利なものに逃げ場所なし(・・*)。。oO(想像中) github.com/ruvnet/RuView — @t-tanaka3.bsky.social1 likes and repost · 1 reply
- Aug 21, 2026🔓 Open Source Tool of the Week: RuView RuView uses Wi-Fi CSI + low-cost ESP32 hardware to detect presence, movement and even breathing —… — @linuxassociation.bsky.social1 likes and repost
- Aug 9, 2026ruvnet / RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection —… — @rusttrending.bsky.social1 likes and repost
- Jul 22, 2026ruvnet / RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection —… — @rusttrending.bsky.social1 likes and repost
- Jul 11, 2026@timb_machine On an unrelated note, have you come across this before? https://github.com/ruvnet/RuView — @snkhan.infosec.exchange.ap.brid.gy1 likes and repost
- May 30, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 68,541 (+656) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending.bsky.social1 likes and repost · 1 reply
- May 23, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 63,707 (+992) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending.bsky.social1 likes and repost · 1 reply
- May 18, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 59,591 (+963) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending-rs.bsky.social1 likes and repost
- May 17, 2026ruvnet / RuView: π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection —… — @rusttrending.bsky.social1 likes and repost
- May 3, 2026ruvnet / RuView: π RuView: WiFi DensePose turns commodity WiFi signals into real-time human pose estimation, vital sign monitoring, and… — @rusttrending.bsky.social1 likes and repost
- Apr 19, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 ruvnet / RuView ⭐ 47,163 (+118) 🗒 Rust π RuView: WiFi DensePose turns commodity WiFi signals into… — @github-trending.bsky.social1 likes and repost
- Apr 14, 2026https://github.com/ruvnet/RuView — @tom-doerr.bsky.social1 likes and repost
- Mar 18, 2026😳 "Instead of relying on cameras or cloud models, it observes whatever signals exist in a space such as WiFi, radio waves across the… — @pauldokas.bsky.social1 likes and repost · 1 reply
- Oct 30, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 101,679 (+849) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Oct 28, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 100,546 (+415) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Oct 13, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 97,722 (+263) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Sep 30, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 95,669 (+272) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Sep 14, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 93,642 (+370) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Aug 19, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 90,903 (+299) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Jul 25, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 86,218 (+615) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Jul 22, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 ruvnet / RuView ⭐ 82,984 (+1,114) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Jul 21, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 82,241 (+902) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Jul 8, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 78,888 (+793) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Jul 8, 2026📈 Today's GitHub Trending: 1. https://github.com/MadsLorentzen/ai-job-search - TypeScript, 5071 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy0 likes and reposts · 1 reply
- Jun 10, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 72,645 (+439) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Jun 9, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 72,251 (+444) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- May 30, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 68,541 (+656) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- May 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 63,707 (+992) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- May 19, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 ruvnet / RuView ⭐ 59,591 (+963) 🗒 Rust π RuView turns commodity WiFi signals into real-time spatial… — @github-trending.bsky.social0 likes and reposts · 1 reply
- May 14, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 ruvnet / RuView ⭐ 55,045 (+1,757) 🗒 Rust π RuView turns commodity WiFi signals into real-time… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- May 3, 2026I found an open-source program on GitHub that allows you to monitor people through walls using Wi-Fi. It is powered by AI and turns… — @madinflation.bsky.social0 likes and reposts · 2 replies
- May 1, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 51,185 (+263) 🗒 Rust π RuView: WiFi DensePose turns commodity WiFi signals into… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Apr 23, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 49,632 (+427) 🗒 Rust π RuView: WiFi DensePose turns commodity WiFi signals into… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
- Apr 23, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 ruvnet / RuView ⭐ 49,632 (+427) 🗒 Rust π RuView: WiFi DensePose turns commodity WiFi signals into… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 9
- Mar 9, 2026Top trending repo claims to detect movement via WiFi, yet no one can run it10 points · 2 comments
- Jul 7, 2026Show HN: Turn commodity WiFi signals into real-time spatial intelligence6 points · 3 comments
- Mar 8, 2026WiFi-DensePose – open-source software that sees you through walls using wifi6 points · 1 comment
- Mar 3, 2026RuView – WiFi DensePose: See Through Walls with WiFi5 points · 2 comments
- May 28, 2026RuView: See Through Walls with WiFi4 points
4 more on Hacker News
- Aug 21, 2026See Through Walls with WiFi2 points · 1 comment
- May 20, 2026WiFi Spatial Sensing2 points
- Apr 22, 2026Π RuView: turn WiFi into realtime human detection,vitals monitoring, and more2 points
- Apr 20, 2026DensePose turns commodity WiFi signals into real-time human pose estimation2 points · 1 comment
Other versions11 projects use a version of this.
Word for word · 10
- ruvnet/ruflo★ 74k100% same
- ruvnet/agentic-flow★ 815100% same
- spencermarx/open-code-review★ 371100% same
- shyftlabs/continuum★ 84100% same
- justSteve/XState-Skill★ 19100% same
- jazz-max/ruflo-hub★ 4100% same
- Blockchainpreneur/CLAUDEMAX★ 2100% same
- echo-mem/echo-mem★ 2100% same
- get-proofpilot/claude-skills-catalog★ 1100% same
- Soulcynics404/AgentForge★ 1100% same
Edited · 1
- Zekiog/ruflo★ 2100% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository32 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/commands/monitoring/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- AgentDB Advanced FeaturesSkill
- AgentDB Learning PluginsSkill
- AgentDB Memory PatternsSkill
- AgentDB Vector SearchSkill
- browserSkill
- github-code-reviewSkill
- github-multi-repoSkill
- github-project-managementSkill
- github-release-managementSkill
- github-workflow-automationSkill
- Hooks AutomationSkill
- Pair ProgrammingSkill
- ReasoningBank with AgentDBSkill
- ReasoningBank IntelligenceSkill
- Skill BuilderSkill
- sparc-methodologySkill
- stream-chainSkill
- swarm-advancedSkill
- Swarm OrchestrationSkill
- V3 CLI ModernizationSkill
- V3 Core ImplementationSkill
- V3 DDD ArchitectureSkill
- V3 Deep IntegrationSkill
- V3 MCP OptimizationSkill
- V3 Memory UnificationSkill
- V3 Performance OptimizationSkill
- V3 Security OverhaulSkill
- V3 Swarm CoordinationSkill
- Verification & Quality AssuranceSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 76
Search Speed: 10x faster (bit operations)
- Distinctive: line 99
Search Speed: 3x faster
- Distinctive: line 128
Trade-off: No accuracy loss, full memory usage
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AgentDB Performance Optimization
What This Skill Does
Provides comprehensive performance optimization techniques for AgentDB vector databases. Achieve 150x-12,500x performance improvements through quantization, HNSW indexing, caching strategies, and batch operations. Reduce memory usage by 4-32x while maintaining accuracy.
Performance: <100µs vector search, <1ms pattern retrieval, 2ms batch insert for 100 vectors.
Prerequisites
- Node.js 18+
- AgentDB v1.0.7+ (via agentic-flow)
- Existing AgentDB database or application
Quick Start
Run Performance Benchmarks
# Comprehensive performance benchmarking
npx agentdb@latest benchmark
# Results show:
# ✅ Pattern Search: 150x faster (100µs vs 15ms)
# ✅ Batch Insert: 500x faster (2ms vs 1s for 100 vectors)
# ✅ Large-scale Query: 12,500x faster (8ms vs 100s at 1M vectors)
# ✅ Memory Efficiency: 4-32x reduction with quantizationEnable Optimizations
import { createAgentDBAdapter } from 'agentic-flow/reasoningbank';
// Optimized configuration
const adapter = await createAgentDBAdapter({
dbPath: '.agentdb/optimized.db',
quantizationType: 'binary', // 32x memory reduction
cacheSize: 1000, // In-memory cache
enableLearning: true,
enableReasoning: true,
});Quantization Strategies
1. Binary Quantization (32x Reduction)
Best For: Large-scale deployments (1M+ vectors), memory-constrained environments Trade-off: ~2-5% accuracy loss, 32x memory reduction, 10x faster
const adapter = await createAgentDBAdapter({
quantizationType: 'binary',
// 768-dim float32 (3072 bytes) → 96 bytes binary
// 1M vectors: 3GB → 96MB
});Use Cases:
- Mobile/edge deployment
- Large-scale vector storage (millions of vectors)
- Real-time search with memory constraints
Performance:
- Memory: 32x smaller
- Search Speed: 10x faster (bit operations)
- Accuracy: 95-98% of original
2. Scalar Quantization (4x Reduction)
Best For: Balanced performance/accuracy, moderate datasets Trade-off: ~1-2% accuracy loss, 4x memory reduction, 3x faster
const adapter = await createAgentDBAdapter({
quantizationType: 'scalar',
// 768-dim float32 (3072 bytes) → 768 bytes (uint8)
// 1M vectors: 3GB → 768MB
});Use Cases:
- Production applications requiring high accuracy
- Medium-scale deployments (10K-1M vectors)
- General-purpose optimization
Performance:
- Memory: 4x smaller
- Search Speed: 3x faster
- Accuracy: 98-99% of original
3. Product Quantization (8-16x Reduction)
Best For: High-dimensional vectors, balanced compression Trade-off: ~3-7% accuracy loss, 8-16x memory reduction, 5x faster
const adapter = await createAgentDBAdapter({
quantizationType: 'product',
// 768-dim float32 (3072 bytes) → 48-96 bytes
// 1M vectors: 3GB → 192MB
});Use Cases:
- High-dimensional embeddings (>512 dims)
- Image/video embeddings
- Large-scale similarity search
Performance:
- Memory: 8-16x smaller
- Search Speed: 5x faster
- Accuracy: 93-97% of original
4. No Quantization (Full Precision)
Best For: Maximum accuracy, small datasets Trade-off: No accuracy loss, full memory usage
const adapter = await createAgentDBAdapter({
quantizationType: 'none',
// Full float32 precision
});HNSW Indexing
Hierarchical Navigable Small World - O(log n) search complexity
Automatic HNSW
AgentDB automatically builds HNSW indices:
const adapter = await createAgentDBAdapter({
dbPath: '.agentdb/vectors.db',
// HNSW automatically enabled
});
// Search with HNSW (100µs vs 15ms linear scan)
const results = await adapter.retrieveWithReasoning(queryEmbedding, {
k: 10,
});HNSW Parameters
// Advanced HNSW configuration
const adapter = await createAgentDBAdapter({
dbPath: '.agentdb/vectors.db',
hnswM: 16, // Connections per layer (default: 16)
hnswEfConstruction: 200, // Build quality (default: 200)
hnswEfSearch: 100, // Search quality (default: 100)
});Parameter Tuning:
- M (connections): Higher = better recall, more memory
- Small datasets (<10K): M = 8
- Medium datasets (10K-100K): M = 16
- Large datasets (>100K): M = 32
- efConstruction: Higher = better index quality, slower build
- Fast build: 100
- Balanced: 200 (default)
- High quality: 400
- efSearch: Higher = better recall, slower search
- Fast search: 50
- Balanced: 100 (default)
- High recall: 200
Caching Strategies
In-Memory Pattern Cache
const adapter = await createAgentDBAdapter({
cacheSize: 1000, // Cache 1000 most-used patterns
});
// First retrieval: ~2ms (database)
// Subsequent: <1ms (cache hit)
const result = await adapter.retrieveWithReasoning(queryEmbedding, {
k: 10,
});Cache Tuning:
- Small applications: 100-500 patterns
- Medium applications: 500-2000 patterns
- Large applications: 2000-5000 patterns
LRU Cache Behavior
// Cache automatically evicts least-recently-used patterns
// Most frequently accessed patterns stay in cache
// Monitor cache performance
const stats = await adapter.getStats();
console.log('Cache Hit Rate:', stats.cacheHitRate);
// Aim for >80% hit rateBatch Operations
Batch Insert (500x Faster)
// ❌ SLOW: Individual inserts
for (const doc of documents) {
await adapter.insertPattern({ /* ... */ }); // 1s for 100 docs
}
// ✅ FAST: Batch insert
const patterns = documents.map(doc => ({
id: '',
type: 'document',
domain: 'knowledge',
pattern_data: JSON.stringify({
embedding: doc.embedding,
text: doc.text,
}),
confidence: 1.0,
usage_count: 0,
success_count: 0,
created_at: Date.now(),
last_used: Date.now(),
}));
// Insert all at once (2ms for 100 docs)
for (const pattern of patterns) {
await adapter.insertPattern(pattern);
}Batch Retrieval
// Retrieve multiple queries efficiently
const queries = [queryEmbedding1, queryEmbedding2, queryEmbedding3];
// Parallel retrieval
const results = await Promise.all(
queries.map(q => adapter.retrieveWithReasoning(q, { k: 5 }))
);Memory Optimization
Automatic Consolidation
// Enable automatic pattern consolidation
const result = await adapter.retrieveWithReasoning(queryEmbedding, {
domain: 'documents',
optimizeMemory: true, // Consolidate similar patterns
k: 10,
});
console.log('Optimizations:', result.optimizations);
// {
// consolidated: 15, // Merged 15 similar patterns
// pruned: 3, // Removed 3 low-quality patterns
// improved_quality: 0.12 // 12% quality improvement
// }Manual Optimization
// Manually trigger optimization
await adapter.optimize();
// Get statistics
const stats = await adapter.getStats();
console.log('Before:', stats.totalPatterns);
console.log('After:', stats.totalPatterns); // Reduced by ~10-30%Pruning Strategies
// Prune low-confidence patterns
await adapter.prune({
minConfidence: 0.5, // Remove confidence < 0.5
minUsageCount: 2, // Remove usage_count < 2
maxAge: 30 * 24 * 3600, // Remove >30 days old
});Performance Monitoring
Database Statistics
# Get comprehensive stats
npx agentdb@latest stats .agentdb/vectors.db
# Output:
# Total Patterns: 125,430
# Database Size: 47.2 MB (with binary quantization)
# Avg Confidence: 0.87
# Domains: 15
# Cache Hit Rate: 84%
# Index Type: HNSWRuntime Metrics
const stats = await adapter.getStats();
console.log('Performance Metrics:');
console.log('Total Patterns:', stats.totalPatterns);
console.log('Database Size:', stats.dbSize);
console.log('Avg Confidence:', stats.avgConfidence);
console.log('Cache Hit Rate:', stats.cacheHitRate);
console.log('Search Latency (avg):', stats.avgSearchLatency);
console.log('Insert Latency (avg):', stats.avgInsertLatency);Optimization Recipes
Recipe 1: Maximum Speed (Sacrifice Accuracy)
const adapter = await createAgentDBAdapter({
quantizationType: 'binary', // 32x memory reduction
cacheSize: 5000, // Large cache
hnswM: 8, // Fewer connections = faster
hnswEfSearch: 50, // Low search quality = faster
});
// Expected: <50µs search, 90-95% accuracyRecipe 2: Balanced Performance
const adapter = await createAgentDBAdapter({
quantizationType: 'scalar', // 4x memory reduction
cacheSize: 1000, // Standard cache
hnswM: 16, // Balanced connections
hnswEfSearch: 100, // Balanced quality
});
// Expected: <100µs search, 98-99% accuracyRecipe 3: Maximum Accuracy
const adapter = await createAgentDBAdapter({
quantizationType: 'none', // No quantization
cacheSize: 2000, // Large cache
hnswM: 32, // Many connections
hnswEfSearch: 200, // High search quality
});
// Expected: <200µs search, 100% accuracyRecipe 4: Memory-Constrained (Mobile/Edge)
const adapter = await createAgentDBAdapter({
quantizationType: 'binary', // 32x memory reduction
cacheSize: 100, // Small cache
hnswM: 8, // Minimal connections
});
// Expected: <100µs search, ~10MB for 100K vectorsScaling Strategies
Small Scale (<10K vectors)
const adapter = await createAgentDBAdapter({
quantizationType: 'none', // Full precision
cacheSize: 500,
hnswM: 8,
});Medium Scale (10K-100K vectors)
const adapter = await createAgentDBAdapter({
quantizationType: 'scalar', // 4x reduction
cacheSize: 1000,
hnswM: 16,
});Large Scale (100K-1M vectors)
const adapter = await createAgentDBAdapter({
quantizationType: 'binary', // 32x reduction
cacheSize: 2000,
hnswM: 32,
});Massive Scale (>1M vectors)
const adapter = await createAgentDBAdapter({
quantizationType: 'product', // 8-16x reduction
cacheSize: 5000,
hnswM: 48,
hnswEfConstruction: 400,
});Troubleshooting
Issue: High memory usage
# Check database size
npx agentdb@latest stats .agentdb/vectors.db
# Enable quantization
# Use 'binary' for 32x reductionIssue: Slow search performance
// Increase cache size
const adapter = await createAgentDBAdapter({
cacheSize: 2000, // Increase from 1000
});
// Reduce search quality (faster)
const result = await adapter.retrieveWithReasoning(queryEmbedding, {
k: 5, // Reduce from 10
});Issue: Low accuracy
// Disable or use lighter quantization
const adapter = await createAgentDBAdapter({
quantizationType: 'scalar', // Instead of 'binary'
hnswEfSearch: 200, // Higher search quality
});Performance Benchmarks
Test System: AMD Ryzen 9 5950X, 64GB RAM
| Operation | Vector Count | No Optimization | Optimized | Improvement |
| Search | 10K | 15ms | 100µs | 150x |
| Search | 100K | 150ms | 120µs | 1,250x |
| Search | 1M | 100s | 8ms | 12,500x |
| Batch Insert (100) | - | 1s | 2ms | 500x |
| Memory Usage | 1M | 3GB | 96MB | 32x (binary) |
Learn More
- Quantization Paper: docs/quantization-techniques.pdf
- HNSW Algorithm: docs/hnsw-index.pdf
- GitHub: https://github.com/ruvnet/agentic-flow/tree/main/packages/agentdb
- Website: https://agentdb.ruv.io
Category: Performance / Optimization Difficulty: Intermediate Estimated Time: 20-30 minutes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

