{% extends "base.html" %} {% block title %}Add source — LynxManager{% endblock %} {% block content %}
← Back to sources

Add a source

A source is one body of content Lynx indexes and exposes to your AI client via MCP tools. Pick the kind below — the next screen explains the options for that type and lets you configure it without editing JSON.

📂
Codebase
Index a local repo so your AI client can search it semantically — by intent, not by grep. Auto-reindexes on save when the watcher is on, and can expose a call / import / inheritance graph for structural queries.
Use for: your own projects, vendored deps you want context on.
🌐
Web docs
Crawl a public documentation site (React docs, AWS API ref, library manuals) and index it locally. After the initial crawl Lynx searches offline — your AI client can quote library docs without your training data being stale.
Use for: library docs whose API may have moved since your model's cutoff.
📄
PDFs
Point at a folder of PDFs — manuals, RFCs, papers, internal specs. Lynx extracts text per page and indexes one chunk per page. AI clients cite results with document.pdf p.42.
Use for: technical PDFs you wish you could "grep". Scanned PDFs are skipped.
{% endblock %}