This release is a pre-release and may not be stable for production use.
Your AI. Your Knowledge. Your Control.
Overview · Installation · Getting started · Documentation · Citation · License
Overview
KíLín is a local, extensible AI assistant for scientific, technical, and general knowledge work. It combines locally run language models, project-specific sources, retrieval-augmented generation (RAG), configurable tools, and persistent conversations. Users control their models, projects, and data without depending on a remote AI service for every answer.
KíLín provides six built-in project types for code, literature, writing, grounded brainstorming, creative brainstorming, and researcher-directed reviewing. Source-grounded responses reference project files for independent inspection.
Version 0.1.0b1 (beta): This is the first public prerelease.
Backward compatibility of public interfaces and saved project
formats is not guaranteed before the stable release.
Installation
KíLín 0.1.0b1 requires Python 3.12. Supported platforms are
Apple Silicon macOS and Linux; Windows support is experimental. Language
model inference runs locally. Package and model downloads require network
access unless previously cached.
Python package
In a Python 3.12 environment, install the GUI and its model backend:
python -m pip install "kilin[app]==0.1.0b1"
kilin-gui
The app extra installs the graphical interface and the computation backend
appropriate to the platform (MLX on supported Apple Silicon Macs, PyTorch
elsewhere). For the core without the GUI, use kilin==0.1.0b1; to select a
backend explicitly, see the
model-management guide.
Experimental desktop installers
The v0.1.0b1 GitHub release
includes two experimental desktop installers built from that version's
source: KiLin-0.1.0b1-macos-arm64.dmg for Apple Silicon Macs (macOS 14+)
and KiLin-Setup-0.1.0b1.exe for 64-bit Windows 10 or 11.
The macOS launcher downloads Python 3.12 and dependencies on first launch; the Windows installer downloads them during setup. Model weights are obtained separately when requested. Neither installer is a signed, notarized production distribution: the macOS app is ad-hoc signed and not notarized, while the Windows EXE is unsigned. Gatekeeper or Windows SmartScreen may display security warnings or block installation. Verify the downloaded files against the release checksums and read the native installer guidance before using them.
Because these installers are not signed, macOS and Windows show a security warning the first time you open KíLín. To open it anyway:
- macOS: open KíLín once and close the warning. Then open System Settings → Privacy & Security, scroll to Security, click Open Anyway next to the message about KíLín, and confirm. macOS remembers the choice for this app.
- Windows: when SmartScreen shows "Windows protected your PC", click More info, then Run anyway.
Do this only for an installer from the official KíLín repository on GitHub or from the KíLín team.
Getting started
After installation, open kilin-gui, select models and a project workspace,
create a project of the appropriate type, and add source files. Ask a
question, inspect the retrieved evidence, and save useful conversations.
The GUI requires a beta invitation passkey on first launch for each user account. Contact the project maintainers to obtain one. This is a local client-side check, not a security boundary; the open-source Python API does not require a passkey. See the GUI guide for details.
To run KíLín from a source checkout, on macOS or Linux:
sh setup/setup.sh
uv run kilin --gui
On Windows, perform development setup with PowerShell:
powershell -NoProfile -ExecutionPolicy Bypass -File setup/setup.ps1
Then run uv run kilin --gui. Select the checkout's .venv Python
kernel when following the tutorials. The
development guide
covers setup, dependency and test requirements.
Tutorials and documentation
KíLín includes 19 progressive Jupyter notebooks covering models, source processing, semantic/lexical/code retrieval, indexing, project chat, diagnostic traces, project types, conversation memory, custom tools, and an end-to-end research assistant.
Begin with the complete tutorial guide, or start directly with 10 — Setup, 20 — Hugging Face models, and 140 — Project chat. Some notebooks need previously downloaded models; others work offline with bundled examples.
The technical documentation explains the architecture, configuration, sources, retrieval, model management, tools, GUI, testing, and release procedures. In particular, see workspace ownership, conversation memory, and extension interfaces.
Privacy and limitations
KíLín is designed for local control, but local model execution does not make installation and all optional actions offline. Conversations, source snapshots, and diagnostic traces may contain sensitive material. KíLín does not provide encrypted workspaces, an execution sandbox, or guaranteed scientific correctness. Never share a workspace or trace archive assuming it has been anonymized.
Read the security notes and trace-recording guide for the implemented guarantees and limitations.
Development
Development tests and formatting checks from the checkout include:
uv run --no-sync python -m tests
uv run --no-sync black --check kilin setup tests
uv run --no-sync ruff check kilin setup tests
Use the development guide for the complete test matrix, style conventions, and release validation. The README publication guide explains how branch-relative GitHub links become tag-pinned links in PyPI metadata. Contributions and issue reports can be filed at DeepTrackAI/KiLin.
Citation
If KíLín contributes to your research, please cite the specific version used. The CITATION.cff file provides version-specific software citation metadata for Io̍k-uí Tiunn, Joana B. Pereira, Carlo Manzo, and Giovanni Volpe.
License and attribution
KíLín's software is available under the Apache License 2.0. The KíLín name, wordmark, logos, mascot, and other brand artwork have separate branding terms. They may accompany authentic, unmodified KíLín releases, while modified software must not imply official endorsement. See the brand-asset notes for the current artwork and its use. Bundled KaTeX assets retain their third-party license.
Metadata
Release files for kilin 0.1.0b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kilin-0.1.0b1.tar.gz | 5.0 MB | Without provenance | Details for kilin-0.1.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kilin-0.1.0b1-py3-none-any.whl | Python 3 | none | any | Details for kilin-0.1.0b1-py3-none-any.whl |
Total release size: 10.2 MB
Release files / kilin-0.1.0b1.tar.gz
| Download URL | kilin-0.1.0b1.tar.gz |
|---|---|
| Size | 5.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a6ad428fe8054b6026467f5a80c8052f8e38cbbcbaa8e914430f56d183c9942
|
|
BLAKE2b-256 checksum How to use checksums |
5580bf2b15df9c5a171956f5f739752958714668488e02c726a6f9b0e5c663f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Release files / kilin-0.1.0b1-py3-none-any.whl
| Download URL | kilin-0.1.0b1-py3-none-any.whl |
|---|---|
| Size | 5.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92b7c64b316263cb1227893a4bd9547f898844c2ecf26bc5ab267932caa7edb8
|
|
BLAKE2b-256 checksum How to use checksums |
0d92676ffaa3a7a98b47a551c089e866c80abca68816bf19ba7c01e84dd74fbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.8
|
Security for kilin 0.1.0b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.