FetchPrompt – Manage LLM prompts outside your code with a REST API
Prompt versioning and rollback without redeploy — but PromptLayer and Langfuse already own this.
curl for prompts. Run .prompt files against any LLM (Anthropic, OpenAI, Ollama) from the terminal. Treat prompts as code — version them, review them in PRs, and test them in CI.
Git-friendly `.prompt` format with `prompt diff` side-by-side output beats scattered Notion docs.
Prompt engineers, ML teams, and developers treating prompts as versioned code artifacts in CI/CD pipelines.
promptfoo · Langfuse · Hugging Face Hub
prompt-run treats `.prompt` files as first-class runnable artifacts. A `.prompt` file is a YAML header (model, provider, temperature, variable declarations) followed by a plain text body with `{{variable}}` substitution. You run it from the terminal:
``` prompt run summarize.prompt --var text="$(cat article.txt)" ```
You can override model and provider at runtime without editing the file:
``` prompt run summarize.prompt --model gpt-4o --provider openai ```
The `prompt diff` command runs the same prompt for two different inputs (or two prompt versions against the same input) and shows outputs side by side. That's the feature I find most useful when iterating.
Supports Anthropic, OpenAI, and Ollama out of the box. MIT license. No telemetry, no accounts, no backend — just a local CLI tool that talks directly to whichever provider you configure.
The file lives in your repo, gets versioned by git, and can be reviewed in PRs like any other code.
Would be curious to hear whether others have hit this same friction and how you've handled it.
Prompt versioning and rollback without redeploy — but PromptLayer and Langfuse already own this.
GitHub for prompts is an interesting bet, but PromptBase and FlowGPT already exist.
Beautiful node-based UI for prompt branching, but prompt iteration tools already exist everywhere.
Phoenix LiveView embedding beats switching to LangSmith for Elixir teams.
URL injection bypassed canary tokens and schema validation simultaneously.
npm for AI agent prompts with commit-pinned lockfiles, but still early and experimental.