Git for Prompts Logo
Git for Prompts
OPEN SOURCE PROMPT VERSION CONTROL

Git for your AI prompts

Version-control system prompts, model configs, and output schemas. Track changes, run terminal evals, and catch regressions before production. 100% offline via CLI or synced to the cloud.

Open Cloud Dashboard →

open source • local sqlite • zero key custody

gitforprompts.com/dashboard

Prompt RepositoriesLocal & Cloud Synced

Manage, version, diff, and evaluate atomic prompt bundles.

+ Create New Prompt
Total Prompts
3
Total Versions
12
Avg Pass Rate
98%
API Credentials
2
Prompt NameDescriptionVersionTest SuiteVisibilityActions
security-audit-v2Automated vulnerability scanning and CWE classification for Node & Python apps.v312/12 (100%)PrivateOpen StudioEdit BundleView DiffRun Evals
customer-support-agentTone-calibrated customer response generator with strict refund guardrails.v523/24 (96%)PublicOpen StudioEdit BundleView DiffRun Evals
code-reviewer-proStrict TypeScript and Rust code review agent with security audit rules.v418/18 (100%)PrivateOpen StudioEdit BundleView DiffRun Evals
WHY VERSION CONTROL

Prompts break when you treat them like raw text

Hardcoded strings cause silent regressions, broken output schemas, and zero rollback history. Git for Prompts gives AI teams commit logs, visual diffs, and regression test suites.

WITHOUT VERSION CONTROL

Hardcoded Strings

Prompt edits pushed straight to code without isolated evals, schema checks, or rollback points.

WITH GIT FOR PROMPTS

Versioned Prompt Bundles

Immutable snapshots bundling your prompt template, model config, and structured output schema in local SQLite.

100%
Offline & Local First
0
Cloud Lock-in
<10ms
Local Eval Speed
MIT
Open Source License
THE WORKFLOW LOOP

A local-first engine for prompt engineering

From initial draft to automated evals and team sync.

01

gitforprompts init

Initialize a local SQLite repository directly inside your project folder.

Local DB Setup →
02

gitforprompts run & eval

Run local evaluations with your environment API keys against real test cases.

Run Evals →
03

gitforprompts push

Sync approved versions to the team dashboard or deploy over the REST API.

Cloud Sync →
PROMPT EVALUATION SUITE

Test & Evaluate prompt bundles before pushing

Run test cases against dual AI models (Groq & OpenRouter). Validate variable interpolations and strict Zod JSON output schemas.

  • Dual-Model Benchmark (Groq Llama 3.3 + Claude 3.5)
  • Strict Zod Schema Output Validation
  • Variable Interpolation ("{{name}}") Testing
  • Zero Key Storage — Direct User Provider Keys
Run Local Evals →
gitforprompts run test-suite --all
88/88 PASSED
test-case-security-audit

Input: SQL Injection payload • Score: 100%

12ms
test-case-json-schema-match

Zod validation: Object schema verified

18ms
test-case-variable-interpolation

Interpolated "{{codeSnippet}}" successfully

9ms
CORE CAPABILITIES

Engineered for developers who ship AI to production

Version control prompt templates, model parameters, and structured outputs without cloud lock-in.

01

Immutable Snapshots

Every save creates a new immutable version with full audit history. Roll back instantly or diff changes side-by-side.

02

Offline SQLite Engine

The CLI runs completely offline in your terminal using local SQLite. Zero external servers required.

03

Prompt Bundle Specification

Keep system prompts, templates, model parameters, tools, and structured response schemas versioned together.

04

Authenticated Team Sync

Push prompt versions to the web dashboard and serve them to your apps using SHA-256 hashed API keys.

COMMAND LINE INTERFACE

Control your prompts directly from your terminal

Run evaluations, inspect diffs, and push approved prompt versions directly from your terminal. Pure TypeScript shared between the CLI and web dashboard.

Explore CLI Docs →
zsh — gitforprompts diff

$ gitforprompts diff prompt-v1 prompt-v2

--- prompt-v1 (2026-08-06)

+++ prompt-v2 (2026-08-07)

- systemPrompt: "You are a helper."

+ systemPrompt: "You are a strict code reviewer."

+ tools: ["run_static_analysis", "lint_check"]

“Treat prompts like production code: version them, diff them, and test them in your terminal before they hit production.”
KW
Karan Wakhare
Creator • Git for Prompts
ABOUT GIT FOR PROMPTS

Version control built for AI engineering

Prompts govern production application behavior, but teams still manage them as raw strings scattered across codebases. Git for Prompts brings the discipline of code versioning to AI prompts: immutable commits, visual diffs, automated regression tests, and zero-lockin local storage.

01

Local-First Engineering

Developers should never be blocked by network connectivity or cloud outages. The CLI operates on a local SQLite database directly inside your project (.gitforprompts/). Create prompts, commit snapshots, and run evals completely offline.

02

Transactional Concurrency

When syncing prompt versions across teams, cloud mutations use database transaction locks to guarantee version numbers never collide or overwrite existing history.

03

Zero Key Custody

Your LLM API keys belong to you. Local evaluations run using your workstation environment variables. Cloud API credentials are stored solely as non-reversible SHA-256 hashes for authenticated delivery.

04

Autonomous Agent Readiness

Engineered for human developers and autonomous coding agents. Features full support for the Model Context Protocol (MCP), structured schemas, and standard llms.txt endpoints.

100% OPEN SOURCE • MIT LICENSE

Built in public. We welcome contributions from developers, researchers, and AI engineers.

Developer FAQ

Everything you need to know about Git for Prompts.

Does Git for Prompts store my LLM API keys?

No. Local evaluations run in your terminal using your local environment variables. On the cloud platform, API credentials are stored as non-reversible SHA-256 hashes.

Git for Prompts Logo

Start versioning your prompts locally in seconds

Run `$ npx gitforprompts init` inside any repository. Immutable history, offline SQLite, zero setup.

Get Started Free →