Git-native CI tooling for prompt engineering.
The repo-native prompt DevEx layer for AI product teams, OSS maintainers, and startups that keep prompts in version control.
Start with promptlintYou don't need seven tools on day one. Start with one, feel the win, adopt more when you need them.
Run pip install promptlint-ai and lint your prompts in 30 seconds. Catches ambiguity, missing placeholders, security risks, and bloat. Add it to CI and never merge a bad prompt again.
Seven packages. Install only what you need. Each works standalone.
Static analysis for prompt files. Catches ambiguity, missing placeholders, excessive length, and more.
34 rules auto-fixAuto-formatter that normalizes whitespace, heading structure, placeholder style, and section ordering.
5-rule pipeline watch modeTest framework for prompt files. Write assertions against prompt structure, content, and behavior.
15 assertion types JUnit XMLCost estimator with model comparison tables and budget enforcement for CI pipelines.
model comparison budget enforcementSemantic diff for prompt changes. Shows message-level diffs, variable impact, token deltas, and breaking change detection.
breaking changes CI gateGit tracks files. promptvault tracks prompt packages — with semver, cross-prompt dependency resolution, lockfiles for reproducibility, and quality gates that block publish until lint+test pass.
semver lockfiles quality gatesShared foundation providing prompt parsing, tokenization, and model profiles used by all tools.
parsing tokenization profilesInstall from PyPI and start using each tool right away.
pip install promptlint-ai promptfmt-ai prompttest-ai promptcost-ai promptdiff-ai promptvault-ai
# Lint all prompt files in a directory
promptlint check ./prompts/
# Auto-fix issues
promptlint check --fix ./prompts/
# Format prompt files
promptfmt format ./prompts/
# Check without modifying
promptfmt format --check ./prompts/
# Run tests
prompttest run tests/
# Output JUnit XML for CI
prompttest run tests/ --format junit
# Estimate costs across models
promptcost estimate prompt.yaml --compare
# Enforce a budget ceiling in CI
promptcost budget prompt.yaml --limit 0.05
# Compare two prompt files
promptdiff old.yaml new.yaml
# CI gate: exit 1 on breaking changes
promptdiff old.yaml new.yaml --exit-on-breaking
# Initialize a prompt package
promptvault init --name @my-org/my-prompts
# Publish and install
promptvault publish
promptvault install
Teams that treat prompts as code and want guardrails before investing in a hosted platform.
Ship prompts with the same rigor as application code. Lint in PRs, test in CI, track costs before they surprise you.
Version your prompts, detect breaking changes in diffs, and give contributors clear quality gates.
Enforce org-wide prompt standards with shared lint rules, cost budgets, and a local prompt registry.
Skip the hosted prompt platform. Get lint, format, test, diff, and versioning from pip install — free, local, Git-native.
Local-first. Git-first. CI-first. No hosted platform required.
Exit codes, JUnit XML, JSON reporters, and breaking-change gates. Plug into GitHub Actions, GitLab CI, or any pipeline.
Built-in pricing and token limits for GPT-4, Claude, Gemini, and more. Compare costs across models in one command.
Extend lint rules, formatters, and cost profiles with your own Python plugins.
YAML, JSON, Markdown, and plain text prompts. Parse once, lint/format/test/diff across all of them.
prompttools is the toolchain, not the platform.
prompttools composes with your existing Git workflow and CI pipeline. It doesn't replace your platform — it makes your prompts ready for one.