Knowledge tools (9)
Use the index tools to bring external sources into Thesis so they become searchable and readable through the unified search and source-reading tools.| Tool | Mutation? | Purpose |
|---|---|---|
thesis_index_paper | Yes | Index an arXiv paper via Nia |
thesis_index_repo | Yes | Index a GitHub repository |
thesis_index_docs | Yes | Index a documentation site |
thesis_index_dataset | Yes | Index a HuggingFace dataset |
thesis_search | No | Unified search across graph content and Nia sources |
thesis_read_source | No | Read a file from an indexed source |
thesis_grep_source | No | Regex search within an indexed source |
thesis_explore_source | No | Browse the file tree of an indexed source |
thesis_list_sources | No | List all sources indexed in your workspace |
Source type mapping
Each index tool corresponds to a canonical source type used throughout the Thesis data model:| Tool | Source type |
|---|---|
thesis_index_paper | research_paper |
thesis_index_repo | repository |
thesis_index_docs | documentation |
thesis_index_dataset | dataset |
Key parameters
Each index tool uses a different primary parameter:| Tool | Parameter | Description |
|---|---|---|
thesis_index_paper | external_ref | URL or DOI of the paper (e.g. https://arxiv.org/abs/2203.15556) |
thesis_index_repo | owner_repo | GitHub owner/repo slug (e.g. huggingface/trl) |
thesis_index_docs | url | Root URL of the documentation site |
thesis_index_dataset | dataset_id | HuggingFace dataset identifier (e.g. allenai/c4) |
Optional friendly name for the source, displayed in the Sources panel.
The search query string for
thesis_search. Fans out across both graph content and Nia sources, deduplicates results, and merges relevance scores.The indexed source identifier, required by
thesis_read_source, thesis_grep_source, and thesis_explore_source.File path within the source for
thesis_read_source and thesis_explore_source.Regex pattern for
thesis_grep_source.Example: index a paper then search for it
Indexing is asynchronous for large sources. Check
thesis_list_sources to confirm the status field has moved to "indexed" before using thesis_read_source or thesis_grep_source.Oracle tools (4)
Oracle runs structured research synthesis jobs in the background. You start a job, optionally stream its output as it runs, and retrieve results when it completes. Three job modes are available with increasing depth and cost.| Tool | Mutation? | Purpose |
|---|---|---|
thesis_oracle_start_job | Yes | Queue a research synthesis job |
thesis_oracle_job_status | No | Get the current state and results of a job |
thesis_oracle_job_stream | No | Stream job output via SSE as it progresses |
thesis_oracle_jobs_list | No | List all Oracle jobs for your account |
Job modes
Controls synthesis depth:
quick. Fast scan of top indexed sources. Suitable for orientation queries.deep. Broader source coverage with Exa-backed paper and web discovery. Produces a longer synthesis report.oracle. Full deep research pass with multi-round retrieval, synthesis, and citation extraction. Highest quality, longest runtime.
The research question or topic to synthesize.
Tracer tools (2)
Tracer runs GitHub code search across repositories and returns structured code search briefs. Use it to find implementations, locate usage patterns, or discover related open-source work.| Tool | Mutation? | Purpose |
|---|---|---|
thesis_tracer_search | Yes | Launch a GitHub code search job |
thesis_tracer_status | No | Retrieve the result of a completed Tracer job |
Code search query. Supports GitHub code search syntax including
language: and repo: qualifiers.Comma-separated list of GitHub repositories to search, in
owner/repo format. Example: "huggingface/trl,openai/spinningup".Search mode:
fast aggregates GitHub search hits; slow also reads the top match per repo for a deeper brief.Document Agent tool (1)
The Document Agent runs question-answering against a single indexed source. Use it when you want a focused answer from a specific paper, repository, or documentation site rather than a broad search across all sources.| Tool | Mutation? | Purpose |
|---|---|---|
thesis_document_query | No | Q&A against a single indexed source |
The source to query. Must already be indexed via one of the
thesis_index_* tools.The natural-language question to answer using the source’s content.