Skip to main content

Crate aicx

Crate aicx 

Source
Expand description

AICX library crate.

Use Aicx for the supported in-process boundary.

Contract:

  • default features expose the full app-adjacent library surface used by the CLI, MCP server, dashboard, semantic search, doctor, and release tooling.
  • default-features = false, features = ["loctree-consumer"] exposes the stable read core for in-process consumers: scan/read canonical chunks, typed chunk references, session types, timeline/parser types, and pure intent stages.

Everything behind feature = "app" is internal product surface, not the slim consumer contract.

Vibecrafted with AI Agents by Vetcoders (c)2026 Vetcoders

Re-exports§

pub use api::Aicx;
pub use api::AicxConfig;
pub use api::IndexReadiness;
pub use api::IndexStatus;
pub use api::StoreOptions;
pub use api::SearchOptions;
pub use api::SearchResults;
pub use aicx_parser as parser;
pub use aicx_embeddings as embeddings;

Modules§

api
Stable in-process API for consumers that want AICX as a library.
auth
Shared HTTP Bearer-token auth for MCP HTTP transport and dashboard server.
card_header
Header-agnostic card header parsing.
chunker
Semantic windowing chunker for RAG indexing.
cli
CLI-boundary helpers shared across main.rs dispatch handlers.
corpus
Corpus audit and deterministic derived-markdown repair.
dashboard
AI Contexters dashboard generator.
dashboard_server
AI Contexters dashboard HTTP server runtime.
diagnostics
Per-run diagnostic aggregation for extractor warnings.
doctor
Diagnostic and self-healing layer for aicx.
embedder
Embedder foundation for AICX and the Vibecrafted framework.
evidence
Evidence packet scoring and rendering for search results.
frontmatter
YAML frontmatter parser for markdown reports.
hf_cache
HuggingFace cache utilities for aicx’s runtime embedder fallback.
intents
Intention Engine for ai-contexters.
locks
Cross-process advisory locks for the shared ~/.aicx store.
mcp
MCP (Model Context Protocol) server for aicx.
oracle
Explicit AICX Oracle provenance for search-like surfaces.
output
Output engine for ai-contexters
prelude
progress
Progress observability for the aicx store pipeline.
rank
Per-chunk content quality scoring and fuzzy-search presentation helpers.
redact
Secret redaction helpers for ai-contexters outputs.
reports_extractor
Vibecrafted artifact report extractor and standalone HTML explorer.
sanitize
Path and input sanitization for ai-contexters.
search_engine
Semantic search dispatch with typed diagnostics.
search_eval
segmentation
Semantic segmentation for canonical store ownership.
sessions
Session discovery surface for AICX.
sources
Sources / Extractors module for AI Contexters
state
State management for ai-contexters.
steer_index
BM25 + LanceDB steer index for fast session retrieval.
store
Central context store for ai-contexters.
timeline
Shared timeline and segmentation data types.
types
Shared canonical types used by the intent engine.
validation
Shared schema validation for repository-derived filesystem buckets.
vector_index
Vector index builder for aicx semantic search.
wizard
Interactive aicx wizard entrypoint.

Functions§

os_user_home
Resolve the OS user home directory, honoring HOME/USERPROFILE env overrides before the platform default.