--json
Output structured JSON instead of formatted text. Works on every command.
Last updated: Oct 2026
One Python package. Search papers across arXiv, Semantic Scholar and OpenAlex, look up researchers by ORCID, ask grounded questions, pull Paper Lab tabs as text or JSON, query your Research RAG, and browse Primers - all without leaving the terminal. pip install kinetixai and you're in.
pip install kinetixai
Runs on Windows, macOS and Linux. Python 3.9+. search, scholar, get and ask (demo mode) need no account. kx auth login unlocks everything on your plan.
Public APIs. No account needed.
Federated search across three live indexes, de-duplicated and ranked by citations. Fetch metadata, PDFs and BibTeX for any arXiv ID. No login, no rate-limit surprises.
kx search "flash attention"
Search arXiv, Semantic Scholar and OpenAlex at once, de-duplicated and ranked.
Example: kx search "sparse mixture of experts" --limit 20 --json | jq '.[].title'
kx scholar "Tri Dao"
Look up a researcher by ORCID, Google Scholar link or name and get their recent work.
Example: kx scholar "https://scholar.google.com/citations?user=XXXXXXX"
kx get 2205.14135 --pdf
Fetch a paper's full metadata and, optionally, download the PDF.
Example: kx get 1706.03762 --bibtex >> references.bib
kx get 2205.14135 --bibtex
Get a paper's citation in BibTeX format, ready to paste into your references.
Example: kx get 2205.14135 --bibtex --json
Demo mode is free. Unlimited use is a Scholar feature.
Grounded, cited answers scoped to a paper or your whole bucket. Same model as the /ai/ page - just in your terminal, pipeable to scripts.
kx ask "What is RLVR?"
Ask a grounded, cited question across the demo paper bucket.
Example: kx ask "What is RLVR?" --json | jq '.citations'
kx ask "What is RLVR?" --paper tricalrag
Scope the question to a single paper in your bucket by its slug or arXiv ID.
Example: kx ask "What attention mechanism does this use?" --paper 1706.03762
1 paper/day on Explorer, unlimited on Scholar and Professional.
Every Paper Lab tab - architecture, mnemonic, cheatsheet, flashcards, visualization - available as plain text or structured JSON. Pipe into a script, save to a file, or feed into your own tools.
kx paper tricalrag --tab architecture
Pull one tab as text. Tabs: visualization, architecture, mnemonic, cheatsheet, flashcards.
Example: kx paper tricalrag --tab architecture --json > arch.json
kx paper 1706.03762 --tab flashcards
Get a paper's flashcards for drilling, by arXiv ID or Paper Lab slug.
Example: kx paper 1706.03762 --tab flashcards --json | jq '.[].front'
kx paper 2205.14135 --tab cheatsheet
Pull the cheatsheet tab - equations, key facts, notation - as structured text.
Example: kx paper 2205.14135 --tab cheatsheet > cheatsheet.md
Scholar and Professional, your private workspace.
Add PDFs, notes, arXiv links or GitHub repo URLs to your private Research RAG and query across all of them with the same cited-answer model. Every result traces back to the exact page or line it came from. Papers in your Paper Lab bucket are already in your RAG with no upload needed. Researcher catalogs added via kx scholar --add-rag sync automatically as new papers are published.
kx rag add paper.pdf
Add a PDF, arXiv ID, plain-text note, or GitHub repo URL to your private Research RAG.
Example: kx rag add ./papers/ --recursive
kx rag ask "How did we handle fault injection?"
Ask across only your own files, cited back to the exact page or line.
Example: kx rag ask "What did we try for the embedding layer?" --json | jq '.answer'
kx rag list
List every document currently in your Research RAG.
Example: kx rag list --json | jq '.[].name'
kx scholar "Tri Dao" --add-rag
Look up a researcher by name or ORCID and add all their public papers to your RAG at once.
Example: kx scholar 0000-0002-6480-1955 --add-rag --json
Browse free. Buying or downloading needs an account.
Browse the full Primers catalog from the terminal, filtered by category or keyword. Download any Primer you've already bought as a PDF.
kx primers list --category gpu
Browse the Primers catalog filtered by category (gpu, ml, systems, math, quantum).
Example: kx primers list --json | jq '.[] | select(.category=="ml") | .title'
kx primers get paper-tricalrag --pdf
Download a Primer you already own as a PDF.
Example: kx primers get paper-tricalrag --pdf --out ~/Downloads/
Sign in once. Every command follows your plan from that point.
Sign in once. Every command follows your plan from that point: Scholar or Professional unlocks unlimited ask, your Research RAG, and full Paper Lab access.
kx auth login
Sign in once; every command above then follows your plan and reaches your own Research RAG.
Example: kx auth status
kx auth status
Check which account is signed in and which plan it's on.
Example: kx auth logout
These flags work across all kx commands. Combine them freely.
Output structured JSON instead of formatted text. Works on every command.
Return at most N results. Applies to search, rag list, primers list.
Write output to a file instead of stdout.
Scope kx ask to one paper by slug or arXiv ID.
Choose a Paper Lab tab (architecture, mnemonic, cheatsheet, flashcards, visualization).
Download the PDF when fetching paper metadata.
Output BibTeX citation when fetching paper metadata.
Recursively add all PDFs in a directory to Research RAG.
You have a folder of PDFs and need answers from all of them, not just one.
kx rag add ./papers/ --recursive then kx rag ask anything, cited back to the page.
You're drilling flashcards the night before an exam.
kx paper 1706.03762 --tab flashcards gives you a JSON array. Pipe it into any flashcard tool.
You want benchmark numbers from a paper in a CI script.
--json on every command. kx ask --json | jq '.answer' and you're done.
You read papers in the terminal and want BibTeX ready without switching apps.
kx get 2205.14135 --bibtex >> references.bib in one step.
You want a shared Research RAG your whole team can query.
Everyone on a Professional plan runs kx auth login and kx rag add to the same workspace.
You want to automate paper triage, extraction or summarization in a pipeline.
Every kx command outputs clean JSON. Glue it into any pipeline with jq or Python.
Full CLI access - unlimited ask, Research RAG and Paper Lab - is a Professional feature. search, scholar, get and kx ask in demo mode are always free with no account.
pip install kinetixai, then kx search your favourite topic or kx ask a question. No account needed to start.
I'm KXAI. Ask me about the papers in your bucket, their architecture, results or gaps, or ask me to map a paper of your own.
Map your own paper
Demo mode: answers come from the papers below. Mapping your own paper to 3D is a Scholar feature, coming soon. AI can make mistakes.