What problem does it solve?
Hierarchical data like dependency trees, taxonomies, and org charts lose structural relationships when embedded in standard Euclidean space. This Skill generates base embeddings with ruvector and projects them into the Poincare ball, where hyperbolic geometry preserves hierarchical distances with far fewer dimensions.
Core Features & Use Cases
- Hyperbolic Embedding: Generate a 384-dim ONNX embedding via
npx [email protected] embed text, then normalize and project it into the Poincare ball in your own code.
- Geodesic Distance Computation: Measure hierarchical relatedness with the Poincare distance formula, where distance grows logarithmically with tree depth.
- Persistent Storage: Store projected coordinates and neighbors in agent memory via the ruflo memory_store MCP tool under a dedicated namespace.
- Use Case: Embed module import graphs from a codebase to find tightly coupled subtrees, or embed concepts to reveal taxonomic relationships for knowledge organization.
Quick Start
Ask the agent to embed a hierarchical concept like your project's module tree into the Poincare ball using ruvector and store the projected coordinates in memory.