Skip to content

Installation Guide

CtxSift is written in Python and is designed to run locally or integrate with remote model providers. Depending on your model targets (local CPU, local GPU, or remote APIs), CtxSift separates its dependencies into target packaging extras to keep your environment footprint lightweight.


Review the table below to choose the right installation path based on your machine’s hardware capabilities:

ModeTarget HardwareMin. RAMMin. VRAMActive ComponentsPackages to Install
Local CPUStandard Laptop/PC8 GBN/ALocal llama.cpp + local Embeddingsctxsift (Base package)
Local GPUCUDA-supported GPU2 GB8 GBTransformers (PyTorch) + local Embeddingsctxsift[gpu]
Local GPU (Quant)VRAM-constrained GPU2 GB4-6 GBTransformers + bitsandbytes + local Embeddingsctxsift[gpu,quant]
Remote (CPU)Cloud/API-focused4 GBN/ARemote API + local CPU Embeddingsctxsift[remote]
Remote (GPU)Hybrid Cloud + GPU2 GB4 GBRemote API + local GPU Embeddingsctxsift[remote,gpu]

Before running the install commands, ensure your environment meets these system requirements:

  1. Python >= 3.12: CtxSift uses Python 3.12 features (advanced typing, modern async APIs) and relies on packages built for Python 3.12+.
  2. uv Package Manager: We strongly recommend installing CtxSift via uv. It is a blazingly fast alternative to pip and handles isolated binary tool environments automatically.
  3. C Compiler Toolchain: Local CPU compression relies on llama-cpp-python, which may compile bindings during installation if pre-built wheels are not available for your platform.
    • Linux: Install GCC or Clang (sudo apt install build-essential).
    • macOS: Install Xcode Command Line Tools (xcode-select --install).
    • Windows: Install the Visual Studio Build Tools (ensure Desktop development with C++ is checked).

You can use standalone installer scripts given below or let your agent install CtxSift for you by using the installation skill. When installing manually, use uv tool install to install CtxSift in an your environment that is globally accessible on your terminal path.

Automated Installation

Install with standalone scripts or let your agent install it with the install skill.


Manual installation

Use this if you do not have a dedicated GPU. CtxSift will run compression locally using GGUF-quantized models via an embedded llama.cpp runtime.

uv tool install ctxsift

After installing the CLI, the recommended way to install the CtxSift agent skill is through guided setup:

ctxsift configure

The configure command can install the skill for a much wider host list now, including copilot, antigravity, claude-code, codex, cursor, windsurf-cascade, cline, roo-code, kilo-code, continue, aider, opencode, gemini-cli, qwen-code, kiro, jetbrains-junie, openhands, zed-agent, sourcegraph-amp, augment-auggie, factory-droid, amazon-q-developer, replit-agent, devin, codegen, google-jules, and other.

Instead of typing host names manually, configure now shows a numbered multi-select list and then asks for global/workspace scope and target-path details only where needed.

For the full prompt flow, supported targets, and scope details, see Configure.

If you prefer manual installation, download the packaged skill file from here

CtxSift ships with first-class install support for a broad set of coding-agent hosts. The supported host decides two things during setup:

  • whether installation is available at global, workspace, or both scopes
  • whether CtxSift writes a dedicated SKILL.md file or updates a shared instruction surface such as AGENTS.md, GEMINI.md, or a rules/workflows folder

The current support matrix is:

AgentGlobalWorkspaceTypical target shape
copilotYesYesDedicated SKILL.md
antigravityYesYesDedicated plugin skill
claude-codeYesYesDedicated SKILL.md
codexYesNoDedicated SKILL.md
cursorYesYesDedicated SKILL.md
windsurf-cascadeYesYesWorkflow or rules file
clineYesYesDedicated SKILL.md
roo-codeYesYesDedicated SKILL.md
kilo-codeYesYesDedicated SKILL.md
continueYesYesRules file
aiderYesYesInstruction file referenced from config
opencodeYesYesDedicated SKILL.md
gemini-cliYesYesShared GEMINI.md
qwen-codeYesYesDedicated SKILL.md
kiroYesYesDedicated SKILL.md
jetbrains-junieNoYesShared AGENTS.md-style file
openhandsNoYesDedicated SKILL.md
zed-agentYesYesRules file
sourcegraph-ampYesYesDedicated SKILL.md
augment-auggieYesYesDedicated SKILL.md
factory-droidYesYesDedicated SKILL.md
amazon-q-developerNoYesRules file
replit-agentNoYesShared replit.md
devinNoYesShared AGENTS.md
codegenNoYesShared AGENTS.md
google-julesNoYesShared AGENTS.md
otherCustomCustomAny path you choose

other is the fallback when your agent is not on the built-in list or when you want to install the skill into a different instruction file or folder than the suggested default.

Hosts that use shared instruction files are handled conservatively. CtxSift writes only its own managed block so that the rest of your existing project or user instructions stay intact.


If ctxsift is not found after installation, update your shell integration and reopen the terminal:

uv tool update-shell

Advanced: PyTorch & CUDA version alignment

Section titled “Advanced: PyTorch & CUDA version alignment”

To force uv to compile or install CtxSift with a specific PyTorch index aligning with your CUDA toolkit version, pass the --index or --with overrides during installation.

For CUDA 12.1 (Standard default):

uv tool install "ctxsift[gpu]" --index https://download.pytorch.org/whl/cu121

For CUDA 11.8 (Older GPU rigs):

uv tool install "ctxsift[gpu]" --index https://download.pytorch.org/whl/cu118

Once the installation is complete, verify that the ctxsift command is available in your PATH and configured correctly.

Run ctxsift doctor to check the status of your drivers, databases, and dependencies.

ctxsift doctor

A healthy environment should output positive signals for SQLite, Git, and your selected execution engine:

[PASS] Python version: 3.12.3
[PASS] SQLite version: 3.45.0
[PASS] sqlite-vec extension: Loaded successfully
[PASS] Git executable: Found
[PASS] Local inference device: CUDA detected (RTX 3060 Ti)

Confirm the CLI can execute compression pipelines by running a mock string through a dry-run compression call:

echo "Line 1: critical error occurred
Line 2: debug trace details
Line 3: closing process" | ctxsift compress --intent summary "extract error details"

The model should spin up, compress the input, and return the summary.


Now that CtxSift is installed, proceed to Configuration & Guided Setup to define model backends and initialize your first workspace.