Skip to content

ContextCraft

ContextCraft selects repository source for a task and fits it into a token budget. Use the CLI to write context for a model, or the Python SDK to integrate analysis and generation into your tools.

Start with the CLI

Follow installation, then generate your first context and read the result.

Adjust the result

Choose files, focus on a task, and set a budget. Before sharing the output, review secret protection.

Use Python

The Python quick start generates an artifact from a local repository. Continue with analysis reuse or in-memory files, and use the API reference for class and field definitions.

Check support and settings

See language support, CLI options, configuration, and output schemas. For failures or missing files, start with troubleshooting.