Skip to content

Crawl Jobs ​

A crawl job discovers and ingests documents from one or more sources into a searchable index and optional knowledge graph. Crawl jobs are the primary mechanism for getting data into Kompile.

TIP

Looking for a step-by-step PDF example? Follow Walkthrough: Crawling PDFs & Querying Knowledge Graphs (Local & Remote) covering both project-local (local-runtime) and remote (kompile-app) runs.

Local crawling (local-runtime) vs. server crawling (kompile-app) ​

You do not need kompile-app to crawl and index documents on a single machine:

ModeRuntime requiredHow it runsBest for
Project-local crawlCLI Harness + local-runtime (kompile install local-runtime)In-process/bounded MCP jobs (crawl_documents, crawl_source, crawl_discover, crawl_control) via LocalProjectCrawlBackend using the 18+ bundled loaders and kompile-embedding-anserini (anserini) into <project>/data/crawls/Individual developers, local agent sessions, offline/private corpora, and .kgraph generation without running a server
Simple server crawlkompile-app (POST /api/crawlers/start)Single-source crawl on kompile-app-crawl-manager (:8082) without graph extraction or VLMLightweight shared team sources
Unified / distributed crawlkompile-app (POST /api/unified-crawl/start)Multi-source, scheduled Quartz jobs, graph extraction, VLM/OCR, adaptive batching, and multi-node Distributed Crawl ClusterMulti-user shared indices (pgvector, Chroma, Vespa, Neo4j), recurring syncs, and clustered GPU/CPU ingestion

When targeting a kompile-app server, the CLI auto-selects: if you enable --graph, --multimodal, or supply multiple sources, it uses the unified crawl system; otherwise it uses the simple crawl. Without --url, MCP crawl tools automatically run project-local crawling.

Source types ​

Kompile supports 25+ source types. Each maps to a dedicated loader and optional crawler implementation:

Source typeDescriptionLoader module
FILESingle local file(auto-detected by extension)
DIRECTORYRecursive directory scan(auto-detected by extension)
WEB_CRAWLRecursive web crawl with configurable depthkompile-loader-web
S3Amazon S3 buckets(remote folder crawler)
SFTPSFTP servers(remote folder crawler)
SMBSMB/CIFS network shares(remote folder crawler)
SQLSQL databases (table extraction)kompile-crawler-core (SqlCrawler)
IMAPIMAP email serverkompile-loader-email-imap
POP3POP3 email serverkompile-loader-email-imap
GMAILGmail mailbox (OAuth)kompile-loader-gmail
MBOXMBOX mail archiveskompile-loader-email-inbox
MAILDIRMaildir directorieskompile-loader-email-inbox
EMLX_DIRApple Mail EMLX fileskompile-loader-email-inbox
PSTOutlook PST archiveskompile-loader-email-inbox
CONFLUENCEAtlassian Confluence (OAuth)kompile-source-confluence
JIRAAtlassian Jira (OAuth)kompile-source-jira
NOTIONNotion workspaces (OAuth)kompile-source-notion
SLACKLive Slack channels (OAuth)kompile-loader-slack
SLACK_HISTORYExported Slack history archiveskompile-loader-slack
DISCORDDiscord servers (bot token)kompile-loader-discord
DISCORD_HISTORYExported Discord historykompile-loader-discord
GDRIVEGoogle Drive (OAuth)kompile-loader-gdrive
GDOCSGoogle Docs (OAuth)kompile-loader-gdocs
ONEDRIVEMicrosoft OneDrive (OAuth)kompile-loader-onedrive
GOOGLE_WORKSPACECombined Google Workspace (OAuth)kompile-loader-google-workspace
REDDITReddit threads (OAuth)kompile-source-reddit
URLSingle URL fetchkompile-loader-web

Cloud-source OAuth connections can be managed through the Connected Services web screen or with kompile auth source. The CLI exposes provider setup, masked settings, configuration validation, login, status, health, refresh, disconnect, and application-registration reset without maintaining a second token store.

Document loaders ​

Each source type maps to a specialized loader that understands the format:

LoaderFormatsNotable features
PDF extended.pdfContent classification (text-only/image-based/mixed), table extraction, streaming for large files
PDF tables.pdfTabula-based table extraction, formula dependency graphs
Microsoft Office.docx, .pptx, .xlsxWord, PowerPoint, Excel; streaming variant for large files
Excel.xlsx, .xls, .xlsm, .xlsbFormula dependency graph extraction (cell-to-cell, cross-sheet)
Tika1000+ formatsApache Tika fallback for any format not handled by a dedicated loader
Audio.mp3, .wav, .m4a, etc.Whisper-based transcription, transcript graph extraction
Web/HTML.htmlLink structure extraction, metadata extraction
Email (IMAP/POP3)IMAP, POP3Live mailbox access, attachment extraction
Email inbox.eml, .mbox, .pst, .emlxThread graph extraction, MIME parsing, attachment handling
SlackSlack API / exportChannel message loading, attachment extraction
DiscordDiscord API / exportChannel/message loading, attachment extraction
Google DocsGoogle APIDocument parsing, structure extraction
Google DriveGoogle APISheets parser, Slides parser, file download
GmailGoogle APIMessage parsing, thread reconstruction
OneDriveMicrosoft APIFile download, metadata extraction

The loaders orchestrator (ConfigurableDocumentLoadingServiceImpl) routes each document to the correct loader based on source type and configuration.

Crawl configuration ​

Simple crawl options ​

ParameterDescriptionDefault
crawlerIdUnique job identifierauto-generated
seedURL, path, or connection stringrequired
sourceTypeOne of the source types aboverequired
maxDepthHow deep to follow links3
maxDocumentsMaximum documents to process1000
requestDelayDelay between requests (ms)500
timeoutJob timeout1 hour
includePatternsURL/path patterns to includeall
excludePatternsURL/path patterns to excludenone
allowedContentTypesMIME types to processall supported
sameDomainOnlyStay on the same domain (web crawl)true
respectRobotsTxtObey robots.txt (web crawl)true
collectionNameVector collection namedefault
loaderNameOverride which loader to useauto-detect
chunkerNameOverride which chunker to usedefault
forceRecrawlRe-crawl all URLs even with prior checkpointfalse

Unified crawl configuration ​

A unified crawl combines multiple sources in one job with shared settings — without hand-writing a request payload. In Kompile chat, describe what you want and the agent builds and previews the request automatically (or use the Web Harness Crawls UI):

Ask in chat: "Run a Q2 knowledge base refresh into fact sheet fs-001 combining https://docs.example.com (depth 3), all PDFs in /data/reports/, and our Confluence ENG space — with lenient graph extraction, embedding-assisted entity resolution, AUTO PDF/table routing, and vector indexing into q2-docs."

Each unified crawl groups five conceptual configuration areas:

AreaWhat it controls
SourcesOne or more mixed sources (WEB_CRAWL, DIRECTORY, CONFLUENCE, S3, etc.) with per-source depth, include/exclude patterns, and loader/chunker overrides
Graph extractionschemaMode (LENIENT / strict), entity resolution (string + embedding similarity thresholds), and minimum confidence
Vector indexTarget collection name, adaptive batching, and enabled/disabled toggle
Processing routepdfRoutingMode (AUTO, text-only, VLM OCR), table extraction from text PDFs, and fallback behavior
Runtime configParallelism (graphExtractionParallelism, sourceLoadParallelism), vector batch size, parallel vector+graph execution, and per-LLM-call timeout

Pipeline routing ​

Crawl jobs support content route rules that direct documents to different processing pipelines. Rules are matched by priority (lower number = higher priority, default 100). All present conditions are AND-combined:

Match conditionDescription
contentTypesMIME type list (text/html, application/pdf)
fileExtensionsFile extension list (pdf, xlsx)
urlPatternsRegex list matched against the full URL
sourceTypesSource type list
minSizeBytes / maxSizeBytesFile size range
languagesISO 639-1 language codes (en, de, fr)
minLanguageConfidenceMinimum confidence from language detection
tagsDocument tag list
contentPatternsRegex list matched against document text content
metadataMatchersKey-value regex pairs matched against document metadata
minPages / maxPagesPage count range (PDF/Office)

Each rule maps matching documents to a pipelineId that references an IngestPipelineDefinition.

Pipeline types ​

TypeDescription
STANDARD_TEXTDefault text extraction and chunking
VLMVision-language model OCR for image-heavy documents
OCRTraditional OCR pipeline
CODESource code-aware chunking
TABLE_AWARETable-preserving extraction
KEYWORD_ONLYSkip embedding, index for BM25 keyword search only
CUSTOMUser-defined processing with arbitrary options

Each pipeline definition can override: loader, chunker, embedding model, language, chunk size/overlap, graph extraction settings, LLM provider for extraction, and processing mode (in-process, subprocess, or auto).

Content type routing ​

When a document is loaded, its content_type metadata determines routing:

content_typeRouting
text (or null)Standard text pipeline
tableText pipeline; uses full_table_content for embedding
vlm_documentVLM pipeline (image-heavy PDFs, scanned documents)
formula_graphGraph-only; JSON formula dependency persisted on DOCUMENT node
slide / presentationVLM pipeline
spreadsheetText pipeline with spreadsheet-aware chunking
imageGraph-only; excluded from text pipeline
audio / videoGraph-only; excluded from text pipeline
chartTable promotion + graph-only

Multimodal pipeline construction ​

When --multimodal is set on the CLI, the system automatically constructs four pipelines and route rules:

  1. text pipeline (STANDARD_TEXT) -- default
  2. visual pipeline (VLM) -- PDF documents, including scanned/image-heavy PDFs (priority 10); the VLM_DOCUMENT runner does not accept standalone raster-image files
  3. tables pipeline (TABLE_AWARE) -- spreadsheets + CSV (priority 20)
  4. email pipeline (STANDARD_TEXT) -- email formats (priority 30)

PDF routing ​

Kompile auto-classifies PDFs using a content classifier that inspects page resources. Classification results:

ClassificationMeaning
TEXT_ONLYExtractable text on all pages
IMAGE_BASEDPrimarily scanned images
MIXEDBoth text and significant images
UNKNOWNUnable to classify

The threshold is textThresholdCharsPerPage=50 -- pages with fewer characters are considered image-based.

Routing modes:

ModeBehavior
AUTO (default)IMAGE_BASED and MIXED go to VLM; TEXT_ONLY goes to text pipeline
FORCE_VLMAll PDFs go to VLM regardless of content
FORCE_TEXTAll PDFs go to text extraction regardless of content
DISABLEDPDF routing logic skipped entirely

Processing backends for VLM:

Multiple backends can be configured for VLM processing with automatic fallback:

Backend typeExamplePriority
LOCAL_MODELLocal SameDiff VLM1 (highest)
CLI_AGENTClaude Code agent2
API_AGENTOpenAI Vision API3

Each backend has concurrency limits, rate limits, and GPU memory budgets. When fallbackEnabled=true, capacity-based failover routes to the next available backend.

Preprocessing pipeline ​

Before documents enter the main ingestion pipeline, they pass through a preprocessing pipeline of ordered steps:

StepOrderDescription
Language detection1Detects document language
Translation2Translates non-target-language documents
Boilerplate removal3Strips navigation, footers, headers
PII redaction4Redacts names, emails, SSNs, etc.
Deduplication5Content-hash deduplication
Unicode normalization6Normalizes to NFC/NFKC

Each step reports start, complete, fail, or skip events to a listener.

Ingestion pipeline phases ​

Documents pass through phases tracked in real-time:

QUEUED -> LOADING -> OCR_PROCESSING -> CONVERTING -> CHUNKING
  -> EXTRACTION -> INDEXING_AND_EMBEDDING -> GRAPH_EXTRACTION
  -> EMBEDDING -> INDEXING -> COMPLETED / FAILED

The unified crawl tracks more granular stages internally:

DISCOVERING -> LOADING -> CONVERTING -> ROUTING -> CHUNKING
  -> GRAPH_PREP -> GRAPH_EXTRACTION -> ENTITY_RESOLUTION
  -> EDGE_COMPUTATION -> EMBEDDING -> INDEXING -> VECTOR_INDEXING
  -> COMPLETED

Subprocesses are the same binary re-launched with --subprocess=TYPE:

SubprocessWhat it does
ingestDocument loading and chunking
vector-populationEmbedding generation and vector indexing
embeddingStandalone embedding computation
model-initModel download and initialization
pipeline-servingReusable execution for all model-backed pipeline steps
trainingModel training jobs

Adaptive batching ​

Embedding batch sizes adjust dynamically using AIMD (Additive Increase / Multiplicative Decrease), the same algorithm used in TCP congestion control:

  • On success for N consecutive rounds: batchSize += additiveIncrease
  • On memory pressure: batchSize *= (1 - multiplicativeDecrease), clamped to minimum
  • On OOM: double multiplicative decrease (emergency shrink)

Each pipeline stage has its own tuning profile:

StageHeap warn/critNative warn/critIncreaseDecrease
Embedding78% / 88%78% / 88%+40.5x
Graph extraction82% / 92%82% / 92%+10.6x
Vector indexing80% / 90%80% / 90%+40.5x
Chunking85% / 95%85% / 95%+80.7x

EMA (Exponential Moving Average) latency tracking with alpha=0.3 provides smoothed throughput metrics visible in the WebSocket progress stream.

Memory monitoring ​

The CrawlMemoryMonitor tracks memory across all crawl jobs:

JVM heap: updated from Runtime.getRuntime() on every check.

Native memory (rate-limited to every 2 seconds): JavaCPP Pointer.physicalBytes(), direct buffer pools via BufferPoolMXBean, ND4J workspace memory.

Wait behavior when memory is under pressure:

  1. One-time cleanup: trim native memory + System.gc()
  2. Back-off spin: 2s -> 3s -> 4s -> 5s intervals (capped)
  3. GC trigger every ~15 seconds (every 5th iteration)
  4. Timeout after 300 seconds (configurable) -- logs warning and continues

Native memory trimming (rate-limited to 5-second intervals):

  1. Pointer.deallocateReferences()
  2. Nd4j.getExecutioner().commit()
  3. Nd4j.getWorkspaceManager().destroyAllWorkspacesForCurrentThread()
  4. Nd4j.getNativeOps().trimMemoryPool() per CUDA device
  5. Second deallocateReferences() pass

Configuration:

SettingDefaultDescription
memoryWaitThresholdPercent82Start waiting for memory below this
memoryCriticalThresholdPercent90Emergency cleanup threshold
memoryWaitTimeoutSeconds300Give up waiting after this
nativeMemoryCleanupEnabledtrueEnable native memory trimming
nativeMemoryCleanupPasses3Number of cleanup passes

Crawl lifecycle ​

States ​

Simple crawl:

RUNNING -> COMPLETED
       \-> PAUSED -> RUNNING (resumed)
       \-> CANCELLED
       \-> FAILED
       \-> INTERRUPTED (unclean shutdown)

Unified crawl:

PENDING -> RUNNING -> COMPLETED
                  \-> COMPLETED_PENDING_EMBEDDING
                  \-> PAUSED -> RUNNING (resumed)
                  \-> CANCELLED
                  \-> FAILED

Checkpointing ​

Simple crawl jobs checkpoint every 60 seconds (configurable via kompile.crawl.checkpoint.interval-ms). The checkpoint serializes visitedUrls (Set) and pendingUrls (Queue) to the database.

On startup, any jobs left in RUNNING or PAUSED state are marked INTERRUPTED to handle unclean shutdowns.

Resume and restart ​

Jobs are resumable when they have a checkpoint and their status is INTERRUPTED, FAILED, or CANCELLED. Resuming:

  1. Loads the original CrawlConfig from the database
  2. Loads the CrawlState checkpoint (visited + pending URLs)
  3. Sets previousState on the new config
  4. Starts a new job, skipping already-visited URLs
  5. Records resumedFromJobId for lineage tracking

forceRecrawl=true overrides this and re-crawls all URLs.

Failure tracking ​

Each job tracks 16 failure reasons:

NONE, OUT_OF_MEMORY, MEMORY_KILLED, USER_CANCELLED, LOAD_ERROR, CONVERSION_ERROR, CHUNKING_ERROR, EMBEDDING_ERROR, INDEXING_ERROR, SUBPROCESS_ERROR, IO_ERROR, INVALID_INPUT, TIMEOUT, MODEL_NOT_FOUND, STAGING_ERROR, UNKNOWN

Restart tracking: restartAttempts, maxRestartAttempts, lastRestartTime, recoveredAfterRestart, with full restart history JSON.

Graph extraction during crawl ​

When graph extraction is enabled, each batch of chunks is sent to an LLM that extracts structured entities and relationships. See Knowledge Graphs for full details.

Configuration within a crawl:

SettingDefaultDescription
enabledtrueEnable graph extraction
schemaModeLENIENTNONE / LENIENT / STRICT
schemaPresetId--Named schema preset
entityTypes--Explicit entity type names
relationshipTypes--Explicit relationship type names
llmProviderdefaultLLM for extraction
modelName--Model name for extraction
temperature0.0LLM temperature
maxTokens4096Max tokens per extraction call
customPrompt--Override the extraction prompt
entityResolutiontrueDeduplicate entities across chunks
entityResolutionSimilarityThreshold0.85Text similarity threshold
entityResolutionUseEmbeddingstrueUse vector embeddings for resolution
entityResolutionEmbeddingThreshold0.88Cosine similarity threshold
minConfidence0.5Minimum confidence to accept a triple

Schema modes:

ModeBehavior
NONENo schema enforcement -- LLM extracts any types
LENIENTSchema-guided but allows novel types not in the schema
STRICTOnly types defined in the schema are accepted; others are discarded

Token budget tracking ​

The unified crawl tracks LLM costs per job:

  • totalInputTokens, totalOutputTokens
  • estimatedCostCentsX100 (cost in hundredths of a cent)
  • Per-backend routing stats: EMA latency, active requests, health status

Backend cooling: unhealthy backends are temporarily removed from the rotation with a cooldown period before retrying.

Distributed crawl ​

Unified crawls support distributed execution across multiple workers:

Partition strategyDescription
ROUND_ROBINDistribute sources evenly across workers
BY_TYPEGroup sources by type (all PDFs on one worker, etc.)
BY_SIZEBalance by estimated document size
PER_SOURCEEach source gets its own worker
HASH_SHARDConsistent hash-based sharding

A DistributedCrawlCoordinator manages work distribution. The WorkStealingTaskQueue rebalances load when workers finish early.

Resource-aware scheduling ​

Crawl jobs are submitted to a ResourceAwareJobScheduler that gates execution based on available resources. During graph extraction phases, GPU resources can be yielded to the embedding subprocess when parallelism is unavailable.

Real-time monitoring ​

WebSocket topics ​

TopicContent
/topic/crawl/progressPeriodic progress snapshots
/topic/crawl/completeJob completion notification
/topic/ingest/{taskId}/logsPer-task log events
/topic/ingest/logsGlobal log stream

Progress counters in unified crawl ​

The unified crawl job tracks 30+ atomic counters visible in real-time:

  • Document flow: documentsDiscovered, documentsLoaded, documentsPreprocessed, documentsTranslated, documentsIndexed
  • Chunk flow: chunksCreated, chunksProcessed, chunksQueuedForEmbedding, chunksEmbedded
  • Graph flow: graphChunksProcessed, graphChunksTotal, entitiesExtracted, relationshipsExtracted
  • Batch stats: vectorBatchesTotal, vectorBatchesCompleted, adaptiveBatchSize, batchSizeAdjustments
  • Memory: heapUsedBytes, heapMaxBytes, nativePhysicalBytes, directBufferBytes
  • Errors: graphExtractionRetries, graphExtractionParseFailures, reroutedItems, droppedItems, deadLetterCount
  • Work stealing: workStealCount, workStealFailures, localDispatchCount, workImbalanceRatioX100

RSS monitoring ​

For subprocess-based crawls, the system reads /proc/{pid}/status VmRSS for the main process and all child processes, identifying each subprocess type by its command line arguments.

Starting a crawl ​

From the CLI ​

bash
# Simple file ingest
kompile crawl start /path/to/documents/

# Web crawl with depth
kompile crawl start https://docs.example.com --depth=3

# With graph extraction and a schema preset
kompile crawl start /path/to/docs/ --graph --schema-preset=technology

# Multimodal (VLM for PDFs, table-aware for spreadsheets)
kompile crawl start /path/to/mixed/ --multimodal

# Full options
kompile crawl start https://docs.example.com \
  --depth=3 \
  --max-docs=500 \
  --same-domain \
  --graph \
  --graph-model-provider=anthropic \
  --graph-schema-mode=STRICT \
  --graph-entities="Person,Organization,Technology" \
  --graph-relations="WORKS_FOR,USES,DEPENDS_ON" \
  --graph-auto-accept \
  --graph-min-confidence=0.7 \
  --collection=my-docs \
  --fact-sheet=research \
  --watch

# Interactive wizard
kompile crawl wizard

# Check all jobs
kompile crawl status

# Check specific job
kompile crawl status <jobId>

# Lifecycle management
kompile crawl pause <jobId>
kompile crawl resume <jobId>
kompile crawl cancel <jobId>

# Clean up old jobs
kompile crawl cleanup --days=30

# List available source types
kompile crawl sources

Auto-detection: The CLI infers source type from the path/URL:

  • http:// or https:// -> WEB_CRAWL
  • .xlsx, .xls, .xlsm, .xlsb -> Excel
  • Directory path -> DIRECTORY
  • Everything else -> FILE

From the web UI ​

Knowledge tab -> New Crawl Job. The form lets you:

  1. Add one or more sources, each with its own type, path/URL, depth, and document limit
  2. Configure graph extraction (LLM provider, entity types, schema mode, entity resolution)
  3. Configure vector indexing (collection name, batch size, adaptive batching)
  4. Configure PDF routing (auto/force-VLM/force-text)
  5. Watch progress in real-time: pipeline counters, current phase, memory meters, per-document status

From the REST API ​

bash
# Simple crawl
curl -X POST http://localhost:8080/api/crawlers/start \
  -H "Content-Type: application/json" \
  -d '{
    "seed": "/path/to/docs",
    "sourceType": "FILE",
    "maxDocuments": 500
  }'

# Unified crawl with graph extraction
curl -X POST http://localhost:8080/api/unified-crawl/start \
  -H "Content-Type: application/json" \
  -d '{
    "name": "docs-crawl",
    "sources": [
      {"sourceType": "DIRECTORY", "pathOrUrl": "/data/docs/"}
    ],
    "graphExtraction": {
      "schemaMode": "LENIENT"
    }
  }'

# Unified crawl with file uploads
curl -X POST http://localhost:8080/api/unified-crawl/start-with-files \
  -F "request=@crawl-config.json;type=application/json" \
  -F "files=@document1.pdf" \
  -F "files=@document2.docx"

# Job lifecycle
curl http://localhost:8080/api/crawlers/jobs/{jobId}
curl -X POST http://localhost:8080/api/crawlers/jobs/{jobId}/pause
curl -X POST http://localhost:8080/api/crawlers/jobs/{jobId}/resume
curl -X POST http://localhost:8080/api/crawlers/jobs/{jobId}/cancel
curl -X POST http://localhost:8080/api/crawlers/jobs/{jobId}/restart

# List resumable jobs
curl http://localhost:8080/api/crawlers/jobs/resumable

# Unified crawl status and config
curl http://localhost:8080/api/unified-crawl/jobs
curl http://localhost:8080/api/unified-crawl/jobs/active
curl http://localhost:8080/api/unified-crawl/source-types
curl http://localhost:8080/api/unified-crawl/processing-route
curl http://localhost:8080/api/unified-crawl/processing-capacity
curl http://localhost:8080/api/unified-crawl/graph-stats

Crawl profiles ​

Projects can store named crawl profiles that capture all settings for repeatable ingestion. Profiles are saved in the project manifest and include source configuration, graph extraction settings, VLM options, and pipeline routing rules.

bash
kompile project add-crawl-profile

Graph node hierarchy from crawls ​

Crawled documents produce this graph structure:

SOURCE
  +-- DOCUMENT (one per crawled file/page)
        +-- SNIPPET (one per chunk, CONTAINS edge)
        +-- TABLE (extracted table, CONTAINS edge)
        +-- Entity nodes (from graph extraction)

SHEET (Excel worksheet)
  +-- CELL (formula cell)
        +-- DEPENDS_ON -> CELL
        +-- RANGE_INPUT -> CELL
        +-- CROSS_SHEET_DEPENDS_ON -> CELL

Each source-specific graph extractor adds domain-specific structure:

Source typeGraph structure
EmailSender/recipient entities, thread relationships, attachment links
ExcelCell dependency graph, cross-sheet references, formula structure
ConfluencePage hierarchy, space structure, author entities
Slack/DiscordChannel structure, user entities, thread relationships
PDFSection hierarchy, table structure, figure references
Office docsSection structure, embedded object references
Google DocsDocument structure, collaborative edit metadata
AudioSpeaker entities, topic segments, transcript structure

Audit trail ​

Every pipeline state transition is recorded as an IngestEvent in the database. Event types include: QUEUED, PHASE_STARTED, PROGRESS, PHASE_COMPLETED, STATE_TRANSITION, WARNING, ERROR, COMPLETED, FAILED, CANCELLED, MEMORY_KILLED, RESTART_SCHEDULED, RESTART_ATTEMPTED, RESTART_SUCCEEDED, RESTART_FAILED, MEMORY_ANALYSIS, HEAP_ADJUSTED, THREADS_REDUCED, MANUAL_RESTART, and extraction-specific events.

  • Ingestion Pipeline — the pipeline phases that documents pass through after a crawl discovers them
  • Knowledge Graphs — how graph extraction during crawls builds entity/relationship graphs, including entity resolution, schema modes, and multi-agent extraction
  • Information Retrieval — how the indexed data is searched and retrieved during queries
  • Fact Sheets — how crawl jobs scope to fact sheets with --fact-sheet
  • Configuration — pipeline-config.json and subprocess-ingest-config.json control crawl and pipeline settings

Released under the Apache-2.0 License.