No project description provided
Project description
ctxai
Intelligent semantic search across your entire codebase
Transform your code into searchable embeddings with advanced chunking and vector database indexing
An advanced code search engine leveraging large language models to comprehend the context and intent of your queries. Quickly locate relevant code snippets, documentation, and examples within large codebases using intelligent semantic understanding.
Usage
- Indexing of the code
python -m ctxai.index /path/to/codebase "index_name"
- Usage Create mcp.json file with as below:
{
"inputs": [],
"servers": {
"calculator": {
"command": "python",
"args": [
"-m",
"ctxai.start",
"--index",
"index_name"
],
}
}
}
- Use Github Copilot's Agent mode to use this as below:
/ctxai "Find the code related to Profile Image update"
Installation
Pre-requisites:
- Python 3.10+
uvx ctxai
Running
- copy
.env.exampleto.envand fill in the values
codepilot
Development Notes
ctxai server
ctxai playgruond
ctxai shell
python -m ctxai.index /path/to/codebase "index_name"
/ctxai "Find the code related to Profile Image update"
tree-sitter
ast
perfect
autogen
pydentic ai
memory
spec kit
agent-framework
Releasing
- Bump version in pyproject.toml and push to main
- create a new release with tags pattern
vx.y.ze.g. v0.0.1 - It would create a release on github and start a github action which would publish on pypi
Contributing
We welcome all contributions to the project! Before submitting your pull request, please ensure you have run the tests and linters locally. This helps us maintain the quality of the project and makes the review process faster for everyone.
All contributions should adhere to the project's code of conduct. Let's work together to create a welcoming and inclusive environment for everyone.
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 Distribution
Built Distribution
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 ctxai-0.0.1.tar.gz.
File metadata
- Download URL: ctxai-0.0.1.tar.gz
- Upload date:
- Size: 164.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16314fe5a372f14441eb5a7d5be8b5e2f069b68b97b11c895fd6b760d257153b
|
|
| MD5 |
53c5663a257eabc10e1cb70f8d2d7d85
|
|
| BLAKE2b-256 |
26cb25e4717097d1b5a363d205560b5168e7a6c2c5002dc99551006ec024c681
|
Provenance
The following attestation bundles were made for ctxai-0.0.1.tar.gz:
Publisher:
release.yml on vs4vijay/ctxai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ctxai-0.0.1.tar.gz -
Subject digest:
16314fe5a372f14441eb5a7d5be8b5e2f069b68b97b11c895fd6b760d257153b - Sigstore transparency entry: 584466507
- Sigstore integration time:
-
Permalink:
vs4vijay/ctxai@ffa98510699376bfe507120ae826ef4e25617670 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/vs4vijay
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ffa98510699376bfe507120ae826ef4e25617670 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ctxai-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ctxai-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5d430c14191cd693c411ca443d7e95d4ec6236a37e1375241ce76ed50d5c2d2
|
|
| MD5 |
67f2af68cf75b0c4e9d3b4d3ec10c7b0
|
|
| BLAKE2b-256 |
43f324952e183f81aaa360bc2153bd2425d946b30f50303971b15fbf6e24a058
|
Provenance
The following attestation bundles were made for ctxai-0.0.1-py3-none-any.whl:
Publisher:
release.yml on vs4vijay/ctxai
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ctxai-0.0.1-py3-none-any.whl -
Subject digest:
c5d430c14191cd693c411ca443d7e95d4ec6236a37e1375241ce76ed50d5c2d2 - Sigstore transparency entry: 584466512
- Sigstore integration time:
-
Permalink:
vs4vijay/ctxai@ffa98510699376bfe507120ae826ef4e25617670 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/vs4vijay
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ffa98510699376bfe507120ae826ef4e25617670 -
Trigger Event:
push
-
Statement type: