Skip to main content

Search index for agent memory — knowledge graph index for your documents.

Project description

ki logo 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

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

knowledge_index-0.1.0.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

knowledge_index-0.1.0-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

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

Hashes for knowledge_index-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8f7c80e1b0872105757493ad9c0609a8c7640408e2ec56137c91d7fdda7d7ae9
MD5 38a60ffc668d7fb913d97a3524daf566
BLAKE2b-256 e68e174c354f80917174c495f97eef4a3355bbb436b2cdde813c51ae9228b07c

See more details on using hashes here.

Provenance

The following attestation bundles were made for knowledge_index-0.1.0.tar.gz:

Publisher: release.yml on zach-blumenfeld/knowledge-index

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for knowledge_index-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ddc7ebea0221bbc185411be4bf872458cb7a7f0c1093c930f5e9985d8e0ea81
MD5 62f7d8594bd4d6b5c6b29a008f32d4f7
BLAKE2b-256 cb0a7892fb37f715d913e6d9fb0efca6638f9f4170bd312ff5156b717ce65104

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page