How damien148k/luciole_agents_v1 works
Luciole is an offline, profile-driven platform for use-case agent loops; its documented RAG ingestion is the best-supported runtime workflow here. A user supplies a folder tree, parsers turn files into structured documents, metadata and chunks, and an ingestion pipeline writes a local metadata store plus vector and optional lexical indexes. Profiles, local model files and hardware settings configure that path. The README also names MRAe and sales assistant loops, but their runtime implementation is not present in this tree. Edges reflect excerpts, source-index references or README statements; unsampled features are included only where documented.
Main entry points: pipeline.py Ingestion pipeline · registry.py Parser registry · dossiers.py Dossier scan · pdf.py PDF parser
Components 25
Ingestion
- Parser registry
luciole/ingestion/registry.py - PDF parser
luciole/ingestion/pdf.py - Office parser
luciole/ingestion/office.py - Text parsers
luciole/ingestion/text_parsers.py - OCR
luciole/ingestion/ocr.py - Dossier scan
luciole/ingestion/dossiers.py - Chunk construction
luciole/ingestion/chunking.py
Document model
- Parsed document
luciole/core/document.py - Metadata validation
luciole/core/metadata.py - Dossier records
luciole/core/dossier.py - Parent-child chunks
luciole/core/chunk.py
Indexing
- Ingestion pipeline
luciole/index/pipeline.py - Folder watcher
luciole/index/watcher.py - Metadata store
luciole/store/sqlite.py - Local embedder
luciole/index/local_embedder.py - Vector index
luciole/index/qdrant.py - Lexical index
luciole/index/opensearch.py
Local configuration
- Model files
luciole/core/model_files.py - Hardware profile
luciole/core/hardware.py - Use-case profile
luciole/core/profile.py - Use-case agent loops
configs/profiles - MRAe responses
configs/profiles/mrae - Sales assistant
configs/profiles/ventes
Other components
- Operator
- Folder corpus
Connections 27
- Operator → Folder corpus: provides corpus
- Folder corpus → Ingestion pipeline: indexes corpus
luciole/index/pipeline.py - Ingestion pipeline → Dossier scan: scans folders
luciole/index/pipeline.py - Ingestion pipeline → Parser registry: parses files
luciole/index/pipeline.py - Parser registry → PDF parser: dispatches PDF
luciole/ingestion/registry.py - Parser registry → Office parser: dispatches Office
luciole/ingestion/registry.py - Parser registry → Text parsers: dispatches text
luciole/ingestion/registry.py - PDF parser → OCR: uses OCR
luciole/ingestion/pdf.py - PDF parser → Parsed document: produces document
luciole/ingestion/pdf.py - Office parser → Parsed document: produces document
luciole/ingestion/office.py - Text parsers → Parsed document: produces document
luciole/ingestion/text_parsers.py - Dossier scan → Metadata validation: validates fields
luciole/ingestion/dossiers.py - Dossier scan → Parser registry: parses files
luciole/ingestion/dossiers.py - Dossier scan → Dossier records: builds records
luciole/ingestion/dossiers.py - Ingestion pipeline → Chunk construction: chunks documents
luciole/index/pipeline.py - Chunk construction → Parent-child chunks: creates chunks
luciole/ingestion/chunking.py - Ingestion pipeline → Metadata store: writes metadata
luciole/index/pipeline.py - Ingestion pipeline → Local embedder: embeds chunks
luciole/index/pipeline.py - Ingestion pipeline → Vector index: writes vectors
luciole/index/pipeline.py - Ingestion pipeline → Lexical index: writes lexical index
luciole/index/pipeline.py - Local embedder → Model files: loads local files
luciole/index/local_embedder.py - Local embedder → Hardware profile: uses settings
luciole/index/local_embedder.py - Ingestion pipeline → Use-case profile: loads profile
luciole/index/pipeline.py - Folder watcher → Ingestion pipeline: runs pipeline
luciole/index/watcher.py - Operator → Use-case agent loops: uses platform
README.md - Use-case agent loops → MRAe responses: supports use case
README.md - Use-case agent loops → Sales assistant: supports use case
README.md