Skip to main content

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, 263 equivalence classes bridging task vocabulary to code symbols.

P@10 = 0.293 across 300 tasks, 16 repos, 8 languages. 12 self-adapting mechanisms. 3.37x codegraph, 5.33x 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

Source: https://github.com/blackwell-systems/knowing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

knowing-0.15.0-py3-none-manylinux2014_x86_64.whl (3.2 kB view details)

Uploaded Python 3

knowing-0.15.0-py3-none-manylinux2014_aarch64.whl (3.2 kB view details)

Uploaded Python 3

knowing-0.15.0-py3-none-macosx_11_0_arm64.whl (3.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

knowing-0.15.0-py3-none-macosx_10_12_x86_64.whl (3.2 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file knowing-0.15.0-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knowing-0.15.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f68396ebc3fdaad917f2159c627c55c9a358271b3596909f9f218f7ee86d120
MD5 17b6c860b01900547f2edf17a87bbef1
BLAKE2b-256 a47448d9aff303fe7e7a07a2cdbfc4d99804df12af0bcb3a9fc2bce18556796d

See more details on using hashes here.

File details

Details for the file knowing-0.15.0-py3-none-manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for knowing-0.15.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 414c828cfc1264b39213f021ca8499ada3db644b269c2c42246b7e9969bbeea7
MD5 602bab6f68c336200d9cbca7751fd08a
BLAKE2b-256 4e017d40d17c8220df04798c9257995db857bda9296f20221298e3d2d3c5b8fa

See more details on using hashes here.

File details

Details for the file knowing-0.15.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for knowing-0.15.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1bb865832199d7c141ef2a3f13ac247f5619021d2b90f93ae9a1884840cd4b3e
MD5 e96ae36dfe3bd9c06b4dbd00bd0c7914
BLAKE2b-256 393ff8cfea5216e262bd775e788a45dd4469c3b58faf7a7049b9ea387c24185c

See more details on using hashes here.

File details

Details for the file knowing-0.15.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for knowing-0.15.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 20f4c50ca37fbc6df2c5f1f6daf8875688cc96ab02feb63d3d066e9ae6777c16
MD5 080b2ee1185f3586df47c87a50dc06d8
BLAKE2b-256 42d8003a55ef0df87c82c569298448d91ddaf968ac465462bb3ba626734e17ae

See more details on using hashes here.

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