Search index for agent memory — knowledge graph index for your documents.
Project description
Knowledge Index (ki)
Search index for agent memory — knowledge graph index for your documents
One searchable graph index across all your documents — point ki at a folder (or many) and query the result from the CLI or any AI agent. Multiple folders and users can share the same index. Source files are never modified, so it's safe on an Obsidian vault, a git repo, or a research folder. Backed by Neo4j.
Install
# Recommended — install ki globally so it's on PATH from anywhere
uv tool install knowledge-index
# Or run one-off without installing (uvx caches the package)
uvx knowledge-index --help
If uv isn't installed yet:
curl -LsSf https://astral.sh/uv/install.sh | sh
Quick start
ki configure # one-time: pick local Neo4j, Aura, or an existing instance
ki index ./my-vault # sync the folder into the graph (idempotent)
ki search "retrieval" # default: section content (B.2)
ki search "graph" --type document --k 5 # document title (B.1)
ki search "" --type neighbors --doc-uri <uri> # 1-hop link neighbourhood (B.3)
ki rm ./my-vault/notes/old.md # remove a doc from the index (source file untouched)
ki rm ./my-vault --vault # remove a whole vault (typed confirmation)
All five commands: ki configure | index | search | rm | init. Run any with --help for flags. KI_PROFILE=work ki index ./vault overrides the profile per-invocation.
What ki indexes
v1 indexes .md files only. For PDFs, docx, HTML, or plaintext, convert to markdown first (with pandoc, markitdown, or by reading + transcribing) and then run ki index on the output folder — see the PREPARE when section of skills/ki/SKILL.md. Native ingest of other formats is on the roadmap, not in v1.
Learn more
docs/requirements.md— full design spec (CLI shape, schema, scalability, auto-mode rules)AGENTS.md— for AI agents contributing to the codebaseskills/ki/SKILL.md— agent routing rules (when an agent should invokeki)
License
See LICENSE.
Project details
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 knowledge_index-0.1.0.tar.gz.
File metadata
- Download URL: knowledge_index-0.1.0.tar.gz
- Upload date:
- Size: 53.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f7c80e1b0872105757493ad9c0609a8c7640408e2ec56137c91d7fdda7d7ae9
|
|
| MD5 |
38a60ffc668d7fb913d97a3524daf566
|
|
| BLAKE2b-256 |
e68e174c354f80917174c495f97eef4a3355bbb436b2cdde813c51ae9228b07c
|
Provenance
The following attestation bundles were made for knowledge_index-0.1.0.tar.gz:
Publisher:
release.yml on zach-blumenfeld/knowledge-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
knowledge_index-0.1.0.tar.gz -
Subject digest:
8f7c80e1b0872105757493ad9c0609a8c7640408e2ec56137c91d7fdda7d7ae9 - Sigstore transparency entry: 1529940500
- Sigstore integration time:
-
Permalink:
zach-blumenfeld/knowledge-index@bb71636a1ec5073365499aa708cc2b6d47c8bb34 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zach-blumenfeld
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb71636a1ec5073365499aa708cc2b6d47c8bb34 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file knowledge_index-0.1.0-py3-none-any.whl.
File metadata
- Download URL: knowledge_index-0.1.0-py3-none-any.whl
- Upload date:
- Size: 43.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ddc7ebea0221bbc185411be4bf872458cb7a7f0c1093c930f5e9985d8e0ea81
|
|
| MD5 |
62f7d8594bd4d6b5c6b29a008f32d4f7
|
|
| BLAKE2b-256 |
cb0a7892fb37f715d913e6d9fb0efca6638f9f4170bd312ff5156b717ce65104
|
Provenance
The following attestation bundles were made for knowledge_index-0.1.0-py3-none-any.whl:
Publisher:
release.yml on zach-blumenfeld/knowledge-index
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
knowledge_index-0.1.0-py3-none-any.whl -
Subject digest:
9ddc7ebea0221bbc185411be4bf872458cb7a7f0c1093c930f5e9985d8e0ea81 - Sigstore transparency entry: 1529940612
- Sigstore integration time:
-
Permalink:
zach-blumenfeld/knowledge-index@bb71636a1ec5073365499aa708cc2b6d47c8bb34 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/zach-blumenfeld
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb71636a1ec5073365499aa708cc2b6d47c8bb34 -
Trigger Event:
workflow_dispatch
-
Statement type: