docs: RFC for adapting Agno's knowledge/vectordb architecture into HUF#178
Draft
esafwan wants to merge 1 commit into
Draft
docs: RFC for adapting Agno's knowledge/vectordb architecture into HUF#178esafwan wants to merge 1 commit into
esafwan wants to merge 1 commit into
Conversation
Comprehensive analysis and implementation plan for bringing Agno's vector database, embedder, reader, and chunker architecture into HUF's existing knowledge system. Key points: - Adapt interfaces (VectorDb, Embedder, ChunkingStrategy) not the orchestration layer — keep HUF's Frappe-native pipeline - Phase 1: Embedder system via LiteLLM (25+ providers, zero new deps) - Phase 2: 3 vector backends (Qdrant, ChromaDB, LanceDB) - Phase 3: Enhanced readers (Excel, PPTX) and chunkers (recursive, markdown, code-aware) - Phase 4: Hybrid search (BM25 + vector with RRF) - Zero breaking changes to existing SQLite FTS5 users - All new dependencies are optional extras - Agno is Apache 2.0 licensed — compatible with adaptation https://claude.ai/code/session_01GmUsXDeU47V7sCMNKzYkkj
This was referenced May 27, 2026
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.
Comprehensive analysis and implementation plan for bringing Agno's vector database, embedder, reader, and chunker architecture into HUF's existing knowledge system.
Key points:
Relationship to scoped memory/data management
This PR should be read together with #274, which proposes the bridge between conversation data management, scoped Memory/Data Records, Knowledge Sources, Agno-style retrieval architecture, and Hindsight-style long-term memory.
In that combined model, this Agno-style architecture is the indexing/retrieval half of the bridge:
This PR should not decide what becomes canonical memory. Instead, it should improve how selected/promoted records and normal Knowledge Sources are embedded, chunked, indexed, filtered, and retrieved.
Related: