Capabilities
Browse Nia by what it does: index, search, read, research, sync, and share context.
API Reference
Need endpoint details and schemas? Jump straight to the API reference.
At a Glance
Code & Repositories
GitHub repositories, package source code, file trees, grep, and code search workflows.
Documentation Sites
Crawl public docs, honor
llms.txt when available, and search pages semantically or with regex.PDFs & Research Papers
Structured PDF parsing, section-aware retrieval, and paper search for technical documents.
HuggingFace Datasets
Index dataset rows and schema-like structure for semantic retrieval.
Google Drive
Connect Drive, browse files and shared drives, select content, and keep it synced.
Spreadsheets & Tables
CSV, TSV, XLSX, and XLS ingestion with row-aware indexing.
Slack & Conversations
Index Slack history and search conversations with org-scoped isolation.
Local Knowledge
Local folders, databases, and chat history via direct folder indexing or continuous sync.
Source-Type Matrix
| Source type | Bring it in with | Best tools after that | Notes |
|---|---|---|---|
| Code & repositories | index, Tracer, get_github_file_tree | search, nia_read, nia_grep, nia_explore | Package source code also works without indexing via nia_package_search_hybrid |
| Documentation sites | index | search, nia_read, nia_grep, nia_explore | llms.txt aware, supports crawl filters |
| PDFs & research papers | index, PDF Indexing | search, nia_read | Tree-guided retrieval for long documents |
| HuggingFace datasets | index, HuggingFace Datasets | search, nia_read, nia_explore | Large datasets are sampled intelligently |
| Google Drive | Google Drive Integration | search, nia_read, nia_grep, nia_explore | Supports selected files, folders, shared drives, and incremental sync |
| Spreadsheets & tables | index with CSV, TSV, XLSX, or XLS | search, nia_read, nia_explore | Row and header aware |
| Slack | Slack Search | search, nia_grep | Workspace data stays org-scoped |
| Local folders, databases, chat history | index(folder_path=...), Local Sync | search, nia_read, nia_grep, nia_explore | Best fit for continuously changing personal or team knowledge |
Code & Repositories
Best for source code, implementation patterns, architecture exploration, and exact file reading. Use when:- you want to index a GitHub repository and search it semantically
- you need grep-style matching across a repo
- you want public package source code without indexing first
- you want GitHub code search without maintaining an index
indexfor repositories you want in your own workspacenia_package_search_hybridfor package source code- Tracer for public GitHub repo search without indexing
get_github_file_treefor quick structure inspection
Documentation Sites
Best for framework docs, product docs, API docs, and structured technical websites. Use when:- you want grounded answers from official docs
- you need a source your agents can cite and revisit
- you want to crawl a docs site with include or exclude patterns
indexon the docs URLsearchto find relevant pagesnia_readandnia_grepfor deeper inspection
PDFs & Research Papers
Best for long technical documents where section structure matters. Use when:- you have PDFs, papers, filings, manuals, or legal docs
- you need section-aware retrieval instead of flat chunk search
- PDF Indexing
indexon a PDF URL or arXiv URL
HuggingFace Datasets
Best for row-level search, schema discovery, and agentic retrieval over dataset contents. Use when:- you need to search examples, records, or splits
- you want natural-language access to a dataset instead of manual browsing
- HuggingFace Datasets
indexon a dataset URL
Google Drive
Best for cloud-hosted files and folders you want to browse selectively, index deeply, and keep in sync over time. Use when:- your working knowledge already lives in Drive instead of a repo or docs site
- you need selected files or folders rather than a full bucket import
- you want shared drives and incremental sync support
Spreadsheets & Tables
Best for CSVs, TSVs, Excel files, and structured business data. Use when:- your source is tabular
- you want row-aware retrieval and header-aware indexing
- you need a lighter-weight alternative to database sync
indexon CSV, TSV, XLSX, or XLS filessearchfor semantic lookupnia_readandnia_exploreto inspect rows and structure
Slack & Conversations
Best for operational knowledge, team decisions, support threads, and internal discussion history. Use when:- important context lives in Slack instead of docs
- you want semantic and keyword retrieval over conversations
Local Knowledge
Best for internal notes, local folders, private documents, databases, and saved chat history. Use when:- the knowledge lives on disk or in a local database
- you want a continuously fresh private index
- you want to sync chat history and local project context into Nia
index(folder_path=...)for one-off folder indexing- Local Sync for continuous synchronization

