Skip to main content

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.example to .env and 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.z e.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


Download files

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

Source Distribution

ctxai-0.0.1.tar.gz (164.3 kB view details)

Uploaded Source

Built Distribution

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

ctxai-0.0.1-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for ctxai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 16314fe5a372f14441eb5a7d5be8b5e2f069b68b97b11c895fd6b760d257153b
MD5 53c5663a257eabc10e1cb70f8d2d7d85
BLAKE2b-256 26cb25e4717097d1b5a363d205560b5168e7a6c2c5002dc99551006ec024c681

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctxai-0.0.1.tar.gz:

Publisher: release.yml on vs4vijay/ctxai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for ctxai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5d430c14191cd693c411ca443d7e95d4ec6236a37e1375241ce76ed50d5c2d2
MD5 67f2af68cf75b0c4e9d3b4d3ec10c7b0
BLAKE2b-256 43f324952e183f81aaa360bc2153bd2425d946b30f50303971b15fbf6e24a058

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctxai-0.0.1-py3-none-any.whl:

Publisher: release.yml on vs4vijay/ctxai

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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