Repository navigation
Conversation
…tion Exercise real Branch tools and MemoryStore against published RuVector, with 41 contract tests, security boundaries, reproducible benchmarks, and gated PyPI release CI.
Owner
Author
|
Per the requested upstream placement, the integration is now also proposed directly in LionAGI: ohdearquant/lionagi#3451. It lives under |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LionAGI needs a native vector retrieval backend that preserves its Node, MemoryStore and Branch tool contracts without implicitly choosing an embedding provider.
This adds an independently versioned
ruvector-lionagidistribution using the published RuVector HNSW SDK, async wrappers, read-only tools, exact pre-ranking metadata filters, bounded JSON snapshots and explicit native failure behavior. It includes runnable offline examples, an animated SVG, an ADR, security boundaries, and reproducible benchmark evidence. The active top-ten portfolio manifest and release supervisor are unchanged.Validation: 41 tests passed against real LionAGI 0.35.3 and RuVector 0.1.2, with 92% statement coverage. An isolated build produced a wheel from the source distribution; both passed strict Twine checks. All 41 tests and the quickstart passed after replacing the editable install with that wheel. Dependency audit covered 86 installed distributions with zero known advisories; Ruflo deep/all scan reported zero findings. These results do not prove complete security.
Benchmark: 10k synthetic 64-dimensional vectors, 200 independent queries. ef_search=100 measured 95.7% recall@10 at 1.052ms p50; ef_search=200 measured 99.6% at 1.702ms. Exact NumPy was faster on this small dataset. Raw results and limitations are included.
Release workflow builds/tests on Linux, macOS and Windows, audits dependencies, publishes on a matching version tag from main ancestry (or explicit main dispatch), and verifies the exact published version on all three platforms. PyPI publication and cross-platform success are not yet claimed. Remaining scope excludes persistence, provider integration, authentication and production load certification.