11<p align =" center " >
2- <h1 align =" center " >Code Intelligence </h1 >
2+ <h1 align =" center " >OSSCodeIQ </h1 >
33 <p align =" center " >
44 <strong>Deterministic code graph discovery and analysis CLI — no AI, pure pattern matching</strong>
55 </p >
66</p >
77
88<p align =" center " >
9- <a href =" https://github.com/RandomCodeSpace/code-iq /actions/workflows/ci.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/RandomCodeSpace/code-iq /ci.yml?branch=main&style=flat-square&logo=github&label=CI " alt =" CI " ></a >
10- <a href =" https://github.com/RandomCodeSpace/code-iq /actions/workflows/beta.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/RandomCodeSpace/code-iq /beta.yml?branch=main&style=flat-square&logo=github&label=Beta " alt =" Beta Build " ></a >
11- <a href =" https://github.com/RandomCodeSpace/code-iq /releases " ><img src =" https://img.shields.io/github/v/release/RandomCodeSpace/code-iq ?include_prereleases&style=flat-square&logo=github&label=Release " alt =" Release " ></a >
9+ <a href =" https://github.com/RandomCodeSpace/osscodeiq /actions/workflows/ci.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/RandomCodeSpace/osscodeiq /ci.yml?branch=main&style=flat-square&logo=github&label=CI " alt =" CI " ></a >
10+ <a href =" https://github.com/RandomCodeSpace/osscodeiq /actions/workflows/beta.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/RandomCodeSpace/osscodeiq /beta.yml?branch=main&style=flat-square&logo=github&label=Beta " alt =" Beta Build " ></a >
11+ <a href =" https://github.com/RandomCodeSpace/osscodeiq /releases " ><img src =" https://img.shields.io/github/v/release/RandomCodeSpace/osscodeiq ?include_prereleases&style=flat-square&logo=github&label=Release " alt =" Release " ></a >
1212 <a href =" https://www.python.org/downloads/ " ><img src =" https://img.shields.io/badge/python-3.11%2B-blue?style=flat-square&logo=python&logoColor=white " alt =" Python 3.11+ " ></a >
13- <a href =" https://github.com/RandomCodeSpace/code-iq /blob/main/LICENSE " ><img src =" https://img.shields.io/github/license/RandomCodeSpace/code-iq ?style=flat-square&label=License " alt =" MIT License " ></a >
14- <a href =" https://github.com/RandomCodeSpace/code-iq /actions/workflows/sbom.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/RandomCodeSpace/code-iq /sbom.yml?branch=main&style=flat-square&logo=shieldsdotio&logoColor=white&label=SBOM%20%2B%20Audit " alt =" SBOM + Dependency Audit " ></a >
15- <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_code-iq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_code-iq &metric=security_rating&style=flat-square " alt =" Sonarcloud Security " ></a >
16- <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_code-iq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_code-iq &metric=reliability_rating " alt =" Sonarcloud Reliability " ></a >
17- <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_code-iq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_code-iq &metric=sqale_rating " alt =" Sonarcloud Maintainability " ></a >
18- <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_code-iq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_code-iq &metric=bugs " alt =" Sonarcloud Bugs " ></a >
19- <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_code-iq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_code-iq &metric=vulnerabilities " alt =" Sonarcloud Vulnerabilities " ></a >
20- <a href =" https://github.com/RandomCodeSpace/code-iq " ><img src =" https://img.shields.io/github/stars/RandomCodeSpace/code-iq ?style=flat-square&logo=github&label=Stars " alt =" Stars " ></a >
21- <a href =" https://github.com/RandomCodeSpace/code-iq /issues " ><img src =" https://img.shields.io/github/issues/RandomCodeSpace/code-iq ?style=flat-square&logo=github&label=Issues " alt =" Issues " ></a >
22- <a href =" https://github.com/RandomCodeSpace/code-iq /commits/main " ><img src =" https://img.shields.io/github/last-commit/RandomCodeSpace/code-iq ?style=flat-square&logo=github&label=Last%20Commit " alt =" Last Commit " ></a >
23- <a href =" https://github.com/RandomCodeSpace/code-iq " ><img src =" https://img.shields.io/badge/detectors-97-brightgreen?style=flat-square&logo=codefactor&logoColor=white " alt =" 97 Detectors " ></a >
24- <a href =" https://github.com/RandomCodeSpace/code-iq " ><img src =" https://img.shields.io/badge/languages-35-blue?style=flat-square&logo=stackblitz&logoColor=white " alt =" 35 Languages " ></a >
25- <a href =" https://github.com/RandomCodeSpace/code-iq " ><img src =" https://img.shields.io/badge/tests-1662-brightgreen?style=flat-square&logo=pytest&logoColor=white " alt =" 1662 Tests " ></a >
13+ <a href =" https://github.com/RandomCodeSpace/osscodeiq /blob/main/LICENSE " ><img src =" https://img.shields.io/github/license/RandomCodeSpace/osscodeiq ?style=flat-square&label=License " alt =" MIT License " ></a >
14+ <a href =" https://github.com/RandomCodeSpace/osscodeiq /actions/workflows/sbom.yml " ><img src =" https://img.shields.io/github/actions/workflow/status/RandomCodeSpace/osscodeiq /sbom.yml?branch=main&style=flat-square&logo=shieldsdotio&logoColor=white&label=SBOM%20%2B%20Audit " alt =" SBOM + Dependency Audit " ></a >
15+ <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_osscodeiq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_osscodeiq &metric=security_rating&style=flat-square " alt =" Sonarcloud Security " ></a >
16+ <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_osscodeiq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_osscodeiq &metric=reliability_rating " alt =" Sonarcloud Reliability " ></a >
17+ <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_osscodeiq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_osscodeiq &metric=sqale_rating " alt =" Sonarcloud Maintainability " ></a >
18+ <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_osscodeiq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_osscodeiq &metric=bugs " alt =" Sonarcloud Bugs " ></a >
19+ <a href =" https://sonarcloud.io/summary/overall?id=RandomCodeSpace_osscodeiq " ><img src =" https://sonarcloud.io/api/project_badges/measure?project=RandomCodeSpace_osscodeiq &metric=vulnerabilities " alt =" Sonarcloud Vulnerabilities " ></a >
20+ <a href =" https://github.com/RandomCodeSpace/osscodeiq " ><img src =" https://img.shields.io/github/stars/RandomCodeSpace/osscodeiq ?style=flat-square&logo=github&label=Stars " alt =" Stars " ></a >
21+ <a href =" https://github.com/RandomCodeSpace/osscodeiq /issues " ><img src =" https://img.shields.io/github/issues/RandomCodeSpace/osscodeiq ?style=flat-square&logo=github&label=Issues " alt =" Issues " ></a >
22+ <a href =" https://github.com/RandomCodeSpace/osscodeiq /commits/main " ><img src =" https://img.shields.io/github/last-commit/RandomCodeSpace/osscodeiq ?style=flat-square&logo=github&label=Last%20Commit " alt =" Last Commit " ></a >
23+ <a href =" https://github.com/RandomCodeSpace/osscodeiq " ><img src =" https://img.shields.io/badge/detectors-97-brightgreen?style=flat-square&logo=codefactor&logoColor=white " alt =" 97 Detectors " ></a >
24+ <a href =" https://github.com/RandomCodeSpace/osscodeiq " ><img src =" https://img.shields.io/badge/languages-35-blue?style=flat-square&logo=stackblitz&logoColor=white " alt =" 35 Languages " ></a >
25+ <a href =" https://github.com/RandomCodeSpace/osscodeiq " ><img src =" https://img.shields.io/badge/tests-1662-brightgreen?style=flat-square&logo=pytest&logoColor=white " alt =" 1662 Tests " ></a >
2626</p >
2727
2828---
2929
30- ** Code Intelligence ** scans codebases to build a deterministic knowledge graph of code relationships — classes, methods, endpoints, entities, dependencies, infrastructure resources, auth patterns, and more. 97 detectors across 35 languages, 3 storage backends (NetworkX, SQLite, KuzuDB), interactive flow diagrams, and zero AI dependency.
30+ ** OSSCodeIQ ** scans codebases to build a deterministic knowledge graph of code relationships — classes, methods, endpoints, entities, dependencies, infrastructure resources, auth patterns, and more. 97 detectors across 35 languages, 3 storage backends (NetworkX, SQLite, KuzuDB), interactive flow diagrams, and zero AI dependency.
3131
3232## Features
3333
5050pip install -e .
5151
5252# Analyze a codebase
53- code-intelligence analyze /path/to/repo
53+ osscodeiq analyze /path/to/repo
5454
5555# Generate architecture flow diagram
56- code-intelligence flow /path/to/repo --format html --output flow.html
56+ osscodeiq flow /path/to/repo --format html --output flow.html
5757
5858# Query the graph
59- code-intelligence find endpoints /path/to/repo
60- code-intelligence find guards /path/to/repo
61- code-intelligence find unprotected /path/to/repo
59+ osscodeiq find endpoints /path/to/repo
60+ osscodeiq find guards /path/to/repo
61+ osscodeiq find unprotected /path/to/repo
6262
6363# Use Cypher queries (KuzuDB backend)
64- code-intelligence analyze /path/to/repo --backend kuzu
65- code-intelligence cypher " MATCH (e:CodeNode {kind: 'endpoint'})-[]->(s:CodeNode) RETURN e.label, s.label LIMIT 20" /path/to/repo --backend kuzu
64+ osscodeiq analyze /path/to/repo --backend kuzu
65+ osscodeiq cypher " MATCH (e:CodeNode {kind: 'endpoint'})-[]->(s:CodeNode) RETURN e.label, s.label LIMIT 20" /path/to/repo --backend kuzu
6666
6767# Bundle for distribution
68- code-intelligence bundle /path/to/repo --tag v2.1.0 --backend kuzu
68+ osscodeiq bundle /path/to/repo --tag v2.1.0 --backend kuzu
6969```
7070
7171## Supported Languages & Frameworks
@@ -100,7 +100,7 @@ Spring Security, Django Auth, FastAPI Auth, NestJS Guards, Passport/JWT, K8s RBA
100100## Architecture
101101
102102```
103- code-intelligence analyze /path/to/repo
103+ osscodeiq analyze /path/to/repo
104104 |
105105 v
106106+------------------+
@@ -145,16 +145,16 @@ Generate architecture flow diagrams with drill-down views:
145145
146146``` bash
147147# High-level overview
148- code-intelligence flow ./my-project --format mermaid
148+ osscodeiq flow ./my-project --format mermaid
149149
150150# Drill into specific layers
151- code-intelligence flow ./my-project --view ci # CI/CD pipeline
152- code-intelligence flow ./my-project --view deploy # Deployment topology
153- code-intelligence flow ./my-project --view runtime # Service architecture
154- code-intelligence flow ./my-project --view auth # Security coverage
151+ osscodeiq flow ./my-project --view ci # CI/CD pipeline
152+ osscodeiq flow ./my-project --view deploy # Deployment topology
153+ osscodeiq flow ./my-project --view runtime # Service architecture
154+ osscodeiq flow ./my-project --view auth # Security coverage
155155
156156# Interactive HTML with click-to-drill
157- code-intelligence flow ./my-project --format html --output flow.html
157+ osscodeiq flow ./my-project --format html --output flow.html
158158```
159159
160160## Graph Model
@@ -174,29 +174,29 @@ code-intelligence flow ./my-project --format html --output flow.html
174174| ** KuzuDB** | File | Yes | Directory | Cypher queries, agentic AI |
175175
176176``` bash
177- code-intelligence analyze ./repo --backend kuzu
178- code-intelligence analyze ./repo --backend sqlite
177+ osscodeiq analyze ./repo --backend kuzu
178+ osscodeiq analyze ./repo --backend sqlite
179179```
180180
181181## Development
182182
183183``` bash
184- git clone https://github.com/RandomCodeSpace/code-iq .git
185- cd code-iq
184+ git clone https://github.com/RandomCodeSpace/osscodeiq .git
185+ cd osscodeiq
186186pip install -e " .[dev]"
187187pytest # 1,662 tests
188- code-intelligence analyze . # Analyze this repo
188+ osscodeiq analyze . # Analyze this repo
189189```
190190
191191### Adding a New Detector
192192
193193Just create a file — auto-discovered, zero registration:
194194
195195``` python
196- # src/code_intelligence /detectors/python/my_detector.py
197- from code_intelligence .detectors.base import DetectorContext, DetectorResult
198- from code_intelligence .detectors.utils import decode_text
199- from code_intelligence .models.graph import GraphNode, NodeKind, SourceLocation
196+ # src/osscodeiq /detectors/python/my_detector.py
197+ from osscodeiq .detectors.base import DetectorContext, DetectorResult
198+ from osscodeiq .detectors.utils import decode_text
199+ from osscodeiq .models.graph import GraphNode, NodeKind, SourceLocation
200200
201201class MyDetector :
202202 name = " my_detector"
0 commit comments