Skip to content
railsengines.com

Prompt Engine

A Rails Engine for managing your LLM prompts without having to hardcode them. Includes testing, versioning, and more

No ratings yet
Gem
prompt_engine
Repository
aviflombaum/prompt_engine
License
MIT
Stars
78
Added
August 17, 2026

About

A Rails Engine for managing your LLM prompts without having to hardcode them. Includes testing, versioning, and more.

A powerful Rails engine for managing AI prompts with version control, A/B testing, and seamless LLM integration. PromptEngine provides a centralized admin interface where teams can create, version, test, and optimize their AI prompts without deploying code changes.

What you get

  • Version Control: Track every change to your prompts with automatic versioning
  • A/B Testing: Test different prompt variations with built-in evaluation tools
  • No Deploy Required: Update prompts through the admin UI without code changes
  • LLM Agnostic: Works with OpenAI, Anthropic, and other providers
  • Type Safety: Automatic parameter detection and validation
  • Team Collaboration: Centralized prompt management for your entire team
  • Production Ready: Battle-tested with secure API key storage

Mounting it

ruby
# Gemfile
gem "prompt_engine"

# config/routes.rb
mount PromptEngine::Engine, at: "/prompt-engine"

Details

78 stars on GitHub · MIT licensed · maintained by aviflombaum. Source: https://github.com/aviflombaum/prompt_engine

Discussion (0)

Sign in to join the discussion.

No comments yet.