Metadata-Version: 2.5
Name: curious-astronaut
Version: 9.20.1
Summary: Curious Astronaut — an interactive citation/similarity graph explorer with an AI teacher that narrates a field's history over the graph.
Project-URL: Homepage, https://github.com/patrickjames0132/curious-astronaut
Project-URL: Repository, https://github.com/patrickjames0132/curious-astronaut
Project-URL: Issues, https://github.com/patrickjames0132/curious-astronaut/issues
Project-URL: Changelog, https://github.com/patrickjames0132/curious-astronaut/blob/main/docs/history.md
Author-email: Charles Patrick James <charles.patrick.james@gmail.com>
License: MIT License
        
        Copyright (c) 2026 Charles Patrick James <charles.patrick.james@gmail.com>
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: arxiv,citations,knowledge-graph,literature-review,llm,research,semantic-scholar
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Flask
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Education
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: anthropic>=0.40
Requires-Dist: click>=8.1
Requires-Dist: flask-cors>=4.0
Requires-Dist: flask>=3.0
Requires-Dist: huggingface-hub>=0.28
Requires-Dist: ipykernel>=7.4.0
Requires-Dist: platformdirs>=4.0
Requires-Dist: pydantic-ai-slim[anthropic,google,openai]>=2.53.0
Requires-Dist: pydantic>=2.7
Requires-Dist: send2trash>=1.8
Requires-Dist: sqlite-vec>=0.1.6
Requires-Dist: tqdm>=4.66
Provides-Extra: corpus
Requires-Dist: duckdb>=1.5; extra == 'corpus'
Provides-Extra: lab
Requires-Dist: jupyter-client>=8.6; extra == 'lab'
Requires-Dist: ruff>=0.14; extra == 'lab'
Requires-Dist: uv>=0.9; extra == 'lab'
Provides-Extra: pdf
Requires-Dist: pymupdf>=1.24; extra == 'pdf'
Provides-Extra: sources
Requires-Dist: sentence-transformers>=5.6; extra == 'sources'
Requires-Dist: torch>=2.9; extra == 'sources'
Description-Content-Type: text/markdown

# Curious Astronaut

**Explore how research papers connect, and have an AI assistant teach you how a
field got here.**

[![PyPI](https://img.shields.io/pypi/v/curious-astronaut)](https://pypi.org/project/curious-astronaut/)
[![CI](https://github.com/patrickjames0132/curious-astronaut/actions/workflows/ci.yml/badge.svg)](https://github.com/patrickjames0132/curious-astronaut/actions/workflows/ci.yml)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE)

Drop in a paper and Curious Astronaut draws an interactive graph of the
literature around it: what it cites, what cites it, and its nearest neighbors.
Then dig in:

- **Citation Graph**: filter by year and citation count, expand any paper, and
  re-center on whatever catches your eye.
- **Knowledge Graph**: a short course on the concepts a paper rests on, with a
  lesson for each one.
- **Reader**: the paper itself, with hoverable citations and an assistant that
  explains any passage, equation or figure you highlight.
- **Criticisms**: the weaknesses later papers found, quoted from the papers that
  raised them.
- **Skylab**: your notes, as plain Markdown files in a folder on your machine,
  one folder per exploration and paper.
- **Nova**: a chat assistant that answers from the papers, your own uploaded
  PDFs and the web, and cites its sources.

It runs on your own machine and pulls papers live from
[Semantic Scholar](https://www.semanticscholar.org) and
[OpenAlex](https://openalex.org), so there's no corpus to download.

## Install

Requires Python 3.11+.

```bash
pip install curious-astronaut
```

(or `uv tool install curious-astronaut` / `pipx install curious-astronaut`)

A few heavier features are optional extras:

| Extra | Adds | Size |
| --- | --- | --- |
| *(none)* | the graphs, the Reader, and Nova | ~93 MB |
| `pdf` | figures and tables mined from PDFs, and the Reader's PDF view | +54 MB |
| `corpus` | an offline Semantic Scholar citations corpus | +44 MB |
| `sources` | search over your own uploaded books and PDFs | +778 MB |
| `lab` | running Python in Skylab's notebooks, with squiggles (ruff) and completion (the notebooks' own Python, ~160 MB, is built on first use) | +38 MB |

```bash
pip install 'curious-astronaut[pdf,sources]'
```

## Run

```bash
astronaut serve
```

Then open <http://127.0.0.1:5000>. Use `--port` to pick another port.

The graph explorer works with no setup at all. To use **Nova**, add a model
provider under **Settings ▸ Agents ▸ Model Providers**. Any of these will do:

- **[Ollama](https://ollama.com)**: free, runs locally, nothing leaves your
  machine
- **[Google AI Studio](https://aistudio.google.com/apikey)**: free-tier key
- **Anthropic** or **OpenAI** (or any OpenAI-compatible server such as Groq,
  OpenRouter or LM Studio)

A free [Semantic Scholar API key](https://www.semanticscholar.org/product/api)
is optional but recommended, since the keyless rate limits are tight.

New to the app? Click **?** at the bottom of the sidebar for a guided tour.

## Learn more

- [User guide](docs/user-guide.md): every feature, view by view
- [Configuration](docs/configuration.md): every setting and its default
- [Development](docs/development.md): running from source, architecture, tests and CI

## License

[MIT](LICENSE). Curious Astronaut is free software, built to put research and
self-teaching within reach of anyone who wants to learn.
