Skip to main content

zeph_index/
lib.rs

1// SPDX-FileCopyrightText: 2026 Andrei G <bug-ops>
2// SPDX-License-Identifier: MIT OR Apache-2.0
3
4//! AST-based code indexing, semantic retrieval, and repo map generation.
5//!
6//! Provides a Code RAG pipeline: tree-sitter parses source into AST chunks,
7//! chunks are embedded and stored in Qdrant, and retrieved via hybrid search
8//! (semantic + grep routing) for injection into the agent context window.
9
10#[allow(unused_imports)]
11pub(crate) use zeph_db::sql;
12
13pub(crate) mod chunker;
14pub(crate) mod context;
15pub mod error;
16pub mod indexer;
17pub mod languages;
18pub mod repo_map;
19pub mod retriever;
20pub mod store;
21pub mod watcher;
22
23pub use error::{IndexError, Result};
24pub use indexer::IndexProgress;