Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
andino-kb
command
andino-kb is a headless, self-hosted RAG server: declarative indexing pipelines over your documents, hybrid search, and an MCP + REST API for coding agents and autonomous agents.
|
andino-kb is a headless, self-hosted RAG server: declarative indexing pipelines over your documents, hybrid search, and an MCP + REST API for coding agents and autonomous agents. |
|
internal
|
|
|
app
Package app wires config, stores, embedders and indexers into the running service shared by the REST API, the MCP server and the CLI.
|
Package app wires config, stores, embedders and indexers into the running service shared by the REST API, the MCP server and the CLI. |
|
config
Package config loads and validates the andino-kb YAML configuration.
|
Package config loads and validates the andino-kb YAML configuration. |
|
inference
Package inference holds the OpenAI-compatible clients: embeddings now, reranking in a later phase.
|
Package inference holds the OpenAI-compatible clients: embeddings now, reranking in a later phase. |
|
mcpserver
Package mcpserver exposes the knowledge bases as MCP tools over streamable HTTP (stateless), the primary interface for coding agents and the andino agent-runtime.
|
Package mcpserver exposes the knowledge bases as MCP tools over streamable HTTP (stateless), the primary interface for coding agents and the andino agent-runtime. |
|
ops
Package ops provides health, readiness and Prometheus metrics endpoints.
|
Package ops provides health, readiness and Prometheus metrics endpoints. |
|
pipeline
Package pipeline orchestrates indexing: source listing, incremental manifest diff, extraction, chunking, embedding and transactional writes.
|
Package pipeline orchestrates indexing: source listing, incremental manifest diff, extraction, chunking, embedding and transactional writes. |
|
pipeline/chunk
Package chunk splits extracted documents into retrieval-sized pieces.
|
Package chunk splits extracted documents into retrieval-sized pieces. |
|
pipeline/extract
Package extract turns raw files into structured documents ready for chunking.
|
Package extract turns raw files into structured documents ready for chunking. |
|
restapi
Package restapi exposes the knowledge bases over HTTP: search, document reads, agent writes, reindex jobs, health and metrics.
|
Package restapi exposes the knowledge bases over HTTP: search, document reads, agent writes, reindex jobs, health and metrics. |
|
source
Package source defines where documents come from.
|
Package source defines where documents come from. |
|
source/gitrepo
Package gitrepo is the git source: a repository shallow-cloned into a cache directory and kept fresh by polling.
|
Package gitrepo is the git source: a repository shallow-cloned into a cache directory and kept fresh by polling. |
|
source/localdir
Package localdir is the filesystem source: a directory walked (and later watched) for indexable files.
|
Package localdir is the filesystem source: a directory walked (and later watched) for indexable files. |
|
source/s3
Package s3 is the object-storage source: an S3 or S3-compatible bucket (MinIO, Ceph RGW) listed by poll and read on demand.
|
Package s3 is the object-storage source: an S3 or S3-compatible bucket (MinIO, Ceph RGW) listed by poll and read on demand. |
|
store
Package store defines the storage provider interface for knowledge bases.
|
Package store defines the storage provider interface for knowledge bases. |
|
store/pgvector
Package pgvector implements store.Store on PostgreSQL with the pgvector extension: tsvector full-text search for keyword retrieval, a pgvector (HNSW) index for dense retrieval, and Reciprocal Rank Fusion in Go.
|
Package pgvector implements store.Store on PostgreSQL with the pgvector extension: tsvector full-text search for keyword retrieval, a pgvector (HNSW) index for dense retrieval, and Reciprocal Rank Fusion in Go. |
|
store/sqlite
Package sqlite implements the store.Store interface on a single SQLite file per knowledge base: FTS5 for keyword retrieval, and embeddings persisted as BLOBs served by an in-memory cosine KNN index (see vec.go).
|
Package sqlite implements the store.Store interface on a single SQLite file per knowledge base: FTS5 for keyword retrieval, and embeddings persisted as BLOBs served by an in-memory cosine KNN index (see vec.go). |
|
store/storetest
Package storetest is a reusable conformance harness for store.Store implementations.
|
Package storetest is a reusable conformance harness for store.Store implementations. |
|
testutil
Package testutil holds cross-package test fixtures.
|
Package testutil holds cross-package test fixtures. |
Click to show internal directories.
Click to hide internal directories.