Local-first research workspace for discovering sources, capturing evidence, and building artifacts with AI.
Project description
Knowte
Search wider. Read smarter.
Search academic databases and the open web from one local research workspace.
🚀 Spotlight
🔭 One search across research sources
Search arXiv, OpenAlex, Semantic Scholar, and an optional SearXNG web source. Knowte applies your area and year filters, merges the responses, and removes duplicate papers.
🧠 Intent-aware discovery
Connect any OpenAI-compatible cloud or local service. Intelligent Search expands academic retrieval terminology, ranks papers with Embeddings, and asks an LLM to verify the strongest academic and Web candidates against the full intent.
🖥️ A local workspace you control
Knowte runs on your machine. Configuration, captured knowledge, and usage data stay local; cloud or LAN AI services are contacted only when you configure and use AI-assisted features.
⚡ Quick Start
Knowte requires Python 3.9 or newer.
1. Install and start
python -m pip install knowte
knowte
Open http://127.0.0.1:7880 in your browser.
The default address is 127.0.0.1:7880. Specify a different address only
when needed:
knowte --host 127.0.0.1 --port 8080
If you are running Knowte from a source checkout, install it in editable mode instead:
python -m pip install -e .
2. Choose your sources
Knowte enables all three academic backends by default, so you can search immediately. Open Config if you want to change the selected sources:
- arXiv works without additional configuration.
- OpenAlex works immediately; adding your email is recommended.
- Semantic Scholar accepts an optional API key.
- Web Search is off initially and requires SearXNG. See the next section.
Leave Keyword results at its default value unless you want a smaller or larger academic result set. Select Save after changing any Config option.
3. Run a search
Return to Search:
- enter keywords, an author, or a research topic;
- optionally choose one or more research areas;
- optionally enter a start and end year;
- choose Keyword or Intelligent, then select Search.
Keyword works without an AI service. Intelligent must first be configured as described below.
Each academic result provides whichever direct links are available: Paper, PDF, and DOI. Web results open their original pages.
Use Find More to continue the same search. Knowte reuses recently fetched academic candidates when possible and requests the next Web page only when needed.
🌍 Read and Capture Sources
Save search results to the global Library, then select Inspect to open the Source workspace:
- PDFs retain their original pages and support text or region Evidence.
- Web Sources open in a structured Clean Reader. Use Original web when the site's native layout, images, tables, or interaction matters.
- Text and Snapshot Evidence remain attached to the captured Source version; Annotations and Tags can be added from the Review workspace.
Knowte also includes Knowte Web Companion, a browser extension for working directly on original webpages. It supports Chromium browsers and Firefox. Start Knowte and open Config → Knowte Web Companion:
- Select Copy extension path.
- In the browser's extension page, choose Load unpacked and paste or
navigate to the copied path. In the native folder picker, use
⌘⇧Gon macOS orCtrl+Lon Windows/Linux, paste the path, and confirm the folder. - Generate a temporary pairing key and enter it in the extension within five minutes.
- Select text and press
Alt+Shift+K, or pressAlt+Shift+Xand drag a region. The shortcuts can be customized in the browser's extension settings. - Use the floating editor on the original page to choose a destination, add Tags or an Annotation, and Save or Discard without leaving the page.
Save page stores the current webpage as a Source in the Library without creating Evidence. It is useful when the page is worth retaining but no exact passage or region has been selected yet.
Chromium users load the folder from chrome://extensions with Developer mode
enabled. Firefox users can load its manifest.json temporarily from
about:debugging#/runtime/this-firefox. Store-packaged browser releases will
follow after the workflow stabilizes.
🧠 Enable Intelligent Search
Knowte supports services that implement OpenAI-compatible
/chat/completions and /embeddings endpoints. The service may be hosted by a
cloud provider or run locally.
Open Config → AI Models · OpenAI-compatible and fill:
- AI Base URL — the API root, normally ending in
/v1, such ashttps://provider.example/v1orhttp://127.0.0.1:11434/v1. Do not append/chat/completions. - AI API key — the provider key. It may be blank when a local service does not require authentication.
- Language model — the provider's exact chat model ID.
- Embedding model — the provider's exact embedding model ID.
By default, both models use the same Base URL and API key. Enable Use a separate connection for Embeddings only when the embedding model is served elsewhere; then also fill Embedding Base URL and, when required, Embedding API key.
The result and verification controls balance coverage, cost, and latency:
- Keyword results also determines the academic candidate batch used by
Intelligent Search. Each original or expanded query requests up to that
value, capped at each provider's one-request maximum of
100. - Intelligent results — target number of results that pass final LLM
verification; default
20. Knowte verifies candidates in batches until it reaches the target or exhausts the candidate pool. - AI timeout — timeout for each LLM or Embedding HTTP request; default
45seconds.
Select Save, return to Search, and choose Intelligent.
For academic sources, Knowte generates up to two retrieval variants, retrieves broad candidates, ranks their titles and abstracts with Embeddings, and asks the LLM to verify the strongest candidates. Web results skip expansion and Embedding ranking and go from SearXNG recall directly to LLM verification. When an explicit research area is selected, it remains a hard academic filter. Without one, the LLM may infer useful retrieval terminology but does not silently save an area filter.
API keys are stored only in ~/.knowte/config.yml; they are not returned by
the Config API or copied into Plans. The file is written with user-only
permissions on systems that support them. Intelligent Search sends the query,
candidate titles, abstracts or Web snippets to the configured AI service, so
choose a provider appropriate for the material being searched.
If an AI stage fails, Knowte reports the degraded stage and falls back to the best available recall or Embedding order. Keyword Search remains independent of the AI configuration.
🌐 Enable Web Search
Web Search is powered by SearXNG, a separate open-source metasearch engine. Knowte can set up and operate a private local instance, but Docker must already be installed and running.
You need:
- a working Docker CLI;
- Docker Compose;
- a running Docker daemon.
Docker Desktop, Docker Engine, Colima, and compatible alternatives are supported. You do not need to keep the Docker Desktop window open.
Let Knowte set it up
Open Config → Local Web Search and select Set up.
Knowte will pull the official docker.io/searxng/searxng:latest image, create a
local-only service, verify its search API, enable Web Search, and save the
endpoint automatically.
Port 8888 is preferred. If it is unavailable, Knowte tries ports 8889
through 8898. The resulting endpoint is shown and saved in Config.
The remaining controls are:
- Start / Stop — control the local SearXNG container.
- Update — pull a newer image and safely recreate the service when needed.
- View logs — toggle recent setup and container output.
- Remove — remove the managed container and its configuration.
The downloaded image remains cached after Remove for faster setup next time. Select Delete cached image too if you also want Docker to remove that image when it is not used elsewhere.
Knowte limits managed container logs to about 30 MB. Image downloads time out after 10 minutes, and a failed first setup is rolled back.
Use an existing SearXNG instance
You can use your own local or remote SearXNG service instead. Follow the
official
SearXNG installation guide
and enable JSON output in settings.yml:
search:
formats:
- html
- json
Then enable Web Search, enter its search endpoint in Config, and select Save:
http://127.0.0.1:8888/search
To verify an endpoint:
curl --noproxy '*' -s \
'http://127.0.0.1:8888/search?q=alpha&format=json' \
| python -m json.tool
For custom Docker installations, set KNOWTE_DOCKER_BIN to the Docker
executable. Knowte otherwise uses Docker from the system PATH and common
platform-specific locations.
See the SearXNG Search API documentation for more details. SearXNG is distributed under its own license.
🔎 Search Sources and Results
| Source | Coverage | Optional configuration |
|---|---|---|
| arXiv | Preprints and open research papers | None |
| OpenAlex | Broad scholarly metadata | Contact email |
| Semantic Scholar | Papers and citation metadata | API key |
| SearXNG | General web results | SearXNG endpoint |
Result count
N controls the final target for academic-only and mixed searches. It defaults
to 100, which matches the candidate batch Knowte can request from each
academic provider in one retrieval round.
Web-only searches do not use N. They return the actual number of results in
the requested SearXNG page, and Find More requests the next page without
assuming a fixed page size.
Mixed-source balance
When academic and Web sources are searched together, Knowte initially allocates result slots as follows:
- three academic sources + Web:
3:3:3:1 - two academic sources + Web:
4:4:2 - one academic source + Web:
7:3 - academic sources without Web: equal shares
These ratios are targets, not rigid caps. After filtering and deduplication, available academic results fill shortages from another source.
Recently fetched candidates and Web pages remain in memory for five minutes. Serving results from this cache does not increase request counters; contacting a provider again does.
🛠️ Development
python -m pip install -e .
python -m unittest discover -s tests -v
python -m compileall -q knowte tests
node --check knowte/web/app.js
Node.js is only needed for the optional JavaScript syntax check.
🧭 Project Status
Knowte is currently an alpha local-first research workspace. It supports discovery, a persistent Source Library, Artifact linking, Source inspection, Evidence, Annotations, Tags, and contextual AI review. The longer-term direction is an end-to-end system for digesting sources, distilling knowledge, and creating durable outputs.
Not implemented yet:
- durable Claims and Claim relationships;
- multi-source synthesis and user-review workflows;
- scheduled or recurring Plans;
- authentication or multi-user isolation.
Bug reports, ideas, and careful feedback are welcome.
📄 License
Knowte is released under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file knowte-0.3.0.tar.gz.
File metadata
- Download URL: knowte-0.3.0.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8ee9a83d27aebac5786fc7dabbb40efa8603c6e48205e90cceddd9de707eb14
|
|
| MD5 |
675d8b35ecbd905dfe50255240c2c1f9
|
|
| BLAKE2b-256 |
8f3982989d2fc21e8516acc79379393c7a5686272f53d6aa86f99b8e014b6093
|
File details
Details for the file knowte-0.3.0-py3-none-any.whl.
File metadata
- Download URL: knowte-0.3.0-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
839d8725bc471a4ec9f11ca414ba775e0cdd1cb0e36913b77ef2722ed109af66
|
|
| MD5 |
cbb44d83a1d23bb21dd42aaa8e39408d
|
|
| BLAKE2b-256 |
6caca5d09db4f032d40fce95f44d74f2daabcb68c8bd7883b08d73bce6ee7419
|