CoreInsight
AI-powered performance profiler for Python, C++, and CUDA.
CoreInsight finds hardware bottlenecks in your code, generates optimized replacements, and verifies the speedup mathematically inside an isolated Docker sandbox — all running locally on your machine.
Install
# OpenAI key - quick install
pip install coreinsight-cli[openai]
# Gemini key - quick install
pip install coreinsight-cli[google]
# Claude key - quick install
pip install coreinsight-cli[anthropic]
# Local Ollama install
pip install coreinsight-cli
# Memory and additional usage install
pip install coreinsight-cli[openai,memory]
# Install everything
pip install coreinsight-cli[all]
Requirements: Python 3.9+ · Docker Desktop · Ollama (for local inference)
Quick start
# Configure your AI provider (defaults to Ollama + llama3.2)
coreinsight configure
# Run the built-in demo
coreinsight demo
# Analyse your own file
coreinsight analyze path/to/your_file.py
What it does
CoreInsight runs a full optimization pipeline on every function it extracts:
- Bottleneck analysis
- Code generation
- Sandbox verification
- Hardware profiling
Every result is stored in a local vector database. On repeat analyses, matching patterns are recalled instantly — no LLM call, no sandbox spin-up.
Commands
| Command | Description |
|---|---|
coreinsight analyze <file> |
Analyse a .py, .cpp, or .cu file |
coreinsight demo [--lang cpp] |
Run on a built-in example |
coreinsight configure |
Set up AI provider and API keys |
coreinsight configure --pro-key <key> |
Activate Pro tier |
coreinsight memory |
Inspect stored optimizations |
coreinsight memory --clear |
Wipe the memory store |
coreinsight memory --export out.csv |
Export memory to CSV or Markdown |
coreinsight index [--dir <path>] |
Index a repo for cross-file RAG context |
coreinsight scan [--dir <path>] |
Rank hotspots by complexity without LLM |
coreinsight view |
Launch the interactive TUI |
All commands accept --no-docker to skip sandboxing when Docker is unavailable.
Supported languages
| Language | Analysis | Benchmarking | Correctness |
|---|---|---|---|
| Python | ✅ | ✅ | ✅ |
| C++ | ✅ | ✅ | ✅ |
| CUDA | ✅ | ✅ | — |
AI providers
| Provider | Tier | Notes |
|---|---|---|
| Ollama | Free | ollama pull llama3.2 |
| LM Studio / vLLM | Free | Any OpenAI-compatible server |
| OpenAI | Pro | GPT 5.3 recommended |
| Anthropic | Pro | Claude 4.6 Sonnet recommended |
| Google Gemini | Pro | Gemini 2.5 Pro recommended |
Local providers run entirely on-device. No code leaves your machine unless you configure a cloud provider.
Pro — free during beta
Pro unlocks cloud providers and AI-free hardware profiling.
Keys are being distributed manually during the beta.
Request a key → tally.so/r/xXZ9YE
coreinsight configure --pro-key <your-key>
Privacy
- Local providers — nothing leaves your machine
- Cloud providers — only the function code you analyse is sent to the provider API, under your own key
- The memory store lives at
~/.coreinsight/memory_dbon your filesystem
Troubleshooting
Docker not running
open Docker Desktop, or: sudo systemctl start docker
Ollama model not found
ollama pull llama3.2
ChromaDB / SQLite error
pip install pysqlite3-binary
Links
Metadata
Release files for coreinsight-cli 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coreinsight_cli-0.3.6.tar.gz | 85.9 kB | With provenance | Details for coreinsight_cli-0.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coreinsight_cli-0.3.6-py3-none-any.whl | Python 3 | none | any | Details for coreinsight_cli-0.3.6-py3-none-any.whl |
Total release size: 178.6 kB
Release files / coreinsight_cli-0.3.6.tar.gz
| Download URL | coreinsight_cli-0.3.6.tar.gz |
|---|---|
| Size | 85.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7510b6632e8ca282d827e735c4473ca931bee0f7dbacd09fc6f3fb8e6efc19e8
|
|
BLAKE2b-256 checksum How to use checksums |
8f07f272795a34695954a95b1b99fc2c71ed2b7c69eb56278f5174e08ecfe944
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logRelease files / coreinsight_cli-0.3.6-py3-none-any.whl
| Download URL | coreinsight_cli-0.3.6-py3-none-any.whl |
|---|---|
| Size | 92.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09156431d1e5a45aea6584f815d7f8b65b94f708a2bc6b9751d069770f7ad4b8
|
|
BLAKE2b-256 checksum How to use checksums |
6fb03525168aad8c8eac03384e168221c7bee43db24d331270863c219f53dd81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logSecurity for coreinsight-cli 0.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for coreinsight_cli-0.3.6.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.