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.281 across 308 tasks, 16 repos, 8 languages. 12 self-adapting mechanisms. 3.20x codegraph, 5.05x 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.14.0-py3-none-manylinux2014_x86_64.whl (3.2 kB view details)

Uploaded Python 3

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

Uploaded Python 3

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

Uploaded Python 3macOS 11.0+ ARM64

knowing-0.14.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.14.0-py3-none-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for knowing-0.14.0-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2782e701428b359cbce435c307d665c0129097f84f9d2e5e93c90871f571bb01
MD5 3bad891da63276180bc9b1b4b1a5d771
BLAKE2b-256 a50981f2dc34603909aab84e99bad619c2d291bccc33c8b480738cc369e1dfbe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for knowing-0.14.0-py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 34743904eae192a84ecac275b77b12ab041bafc5086970863eeab61439c9891f
MD5 36beedf0a285fe0f461c53b5e31ab4a3
BLAKE2b-256 8ae9c85b240b4346d8b8e27011831ebf6ab656d1bdf41205b211218f248f99ac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for knowing-0.14.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7cff4e976880ebd0149ea793ffa2ffb8ed885219269e099c56921289b8ba1b72
MD5 94340f6033ecf1770989c2723b1fc52d
BLAKE2b-256 a1b824c8832c329b0003a726f92e295646fe75ae1cd3bd15ae81d6e3bc40e586

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for knowing-0.14.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a041f06dbf4c3d0b3bf6e7e7106c3d41b8349f51c33965dcf904ccae77eddf24
MD5 aa50635e8e832dc864da598a923386dc
BLAKE2b-256 cb735c5e68b915bf1aecaf376a203f153126e0d1a14ead5ccd553eb62b1190b0

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