Content-addressed knowledge graph for software systems
Project description
knowing
Self-adapting code intelligence engine. Gives AI agents ranked, graph-aware context instead of grep results. Gets smarter with scale, not dumber.
This is the Python wrapper package that downloads and runs the knowing binary.
Install and verify
pip install knowing
knowing version # should print the version
Configure your agent
Add to your agent's MCP config (.mcp.json for Claude Code, .cursor/mcp.json for Cursor, .vscode/mcp.json for VS Code, see all):
{
"mcpServers": {
"knowing": {
"command": "knowing",
"args": ["mcp", "--watch"],
"transport": "stdio"
}
}
}
The MCP server auto-indexes your repo on first launch (10-30 seconds). No model downloads, no API keys required.
First useful query
Ask your agent:
"Use the context_for_task tool to find symbols related to [something you know exists in your code]."
You should see ranked symbols with scores and file paths. If results are empty, the repo is still indexing. If results seem unrelated, use specific symbol names in your task description.
What it does
knowing indexes code across 23 extractors (Go, TypeScript, Python, Rust, Java, C#, and more) into a content-addressed knowledge graph. 38 edge types, 28 MCP tools, 277 equivalence classes bridging task vocabulary to code symbols.
P@10 = 0.330 across 302 tasks, 17 repos, 8 languages. 13 self-adapting mechanisms. 3.79x codegraph, 6.00x GitNexus.
CLI usage
knowing add . # index a repo
knowing context -task "refactor auth" -format gcf # ranked context
knowing test-scope -files internal/auth/handler.go # affected tests
knowing why -task "refactor auth" -symbol "SessionHandler" # explain ranking
knowing enrich lsp # LSP enrichment for higher-quality edges
Documentation
Full docs at https://blackwell-systems.github.io/knowing
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 Distributions
Built Distributions
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 knowing-0.15.1-py3-none-manylinux2014_x86_64.whl.
File metadata
- Download URL: knowing-0.15.1-py3-none-manylinux2014_x86_64.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc2bdc0d4b31f025595da87623345f235ab77f163eac2db3b90679696c560f68
|
|
| MD5 |
6e441808f59a50f1025352f1291a9ff3
|
|
| BLAKE2b-256 |
dcb8e6de378d691afa267aaeca36b974df0efbc20ce22c79c7e4016da8da5211
|
File details
Details for the file knowing-0.15.1-py3-none-manylinux2014_aarch64.whl.
File metadata
- Download URL: knowing-0.15.1-py3-none-manylinux2014_aarch64.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af3b2928f8fd440a4be1ea5d1673e994f7616fca3ac25ebd66879bd0ef25944b
|
|
| MD5 |
7a9b6aa6e53cf6da421bb61a4cbf80b0
|
|
| BLAKE2b-256 |
1332b7a1d637401a3316059408ae2ca7ea1525d7e2354beaf3ab946ae9b7c014
|
File details
Details for the file knowing-0.15.1-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: knowing-0.15.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d816bd2154dd895b9e7e25196e39f7322aef71bf7589213cb785be712ce2724
|
|
| MD5 |
cb44076cbf924f004a02d63df003142a
|
|
| BLAKE2b-256 |
8aac98d838757a16288ddc533751741f317627d12c0346f65418b08e408b4138
|
File details
Details for the file knowing-0.15.1-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: knowing-0.15.1-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c0475e2e61f5e984bae387f8fb44559f44fbdecf2801f050afabdee8144e1b3
|
|
| MD5 |
cea62d41c234636d15f0a953833014ba
|
|
| BLAKE2b-256 |
c496d0a721275e90a77807f468396abfc938151a0622cbe2ce4344ad96c8782e
|