What is Prompt Management?
Helicone’s Prompt Management system allows you to store, version, and deploy your LLM prompts independently from your application code. Instead of hardcoding prompts in your codebase, you can manage them through the Helicone platform and pull them dynamically at runtime.Key Capabilities
Version Control
Every prompt change creates a new version with:- Major and minor versioning (e.g., v1.0, v1.1, v2.0)
- Commit messages to track what changed and why
- Version history to compare and rollback changes
- Environment tagging to deploy specific versions to dev, staging, or production
Dynamic Loading
Load prompts at runtime using the@helicone/prompts SDK:
Variable Substitution
Prompts support typed template variables using the{{hc:variable_name:type}} syntax:
string- Text valuesnumber- Numeric valuesboolean- True/false values
Prompt Partials
Reuse content from other prompts using the{{hcp:prompt_id:index:environment}} syntax:
- Share common instructions across multiple prompts
- Update shared content in one place
- Compose complex prompts from reusable components
Benefits
Deploy Without Code Changes
Update your prompts in production without:- Creating pull requests
- Running CI/CD pipelines
- Redeploying your application
- Downtime
Environment-Specific Prompts
Deploy different versions to different environments:Collaboration and Review
- Team members can iterate on prompts in the Helicone UI
- Track who made what changes and when
- Compare versions side-by-side
- Rollback to previous versions if needed
Separation of Concerns
- Developers manage application logic and infrastructure
- Prompt engineers optimize prompts without touching code
- Product teams can A/B test different prompt strategies
Architecture
Prompts are stored in:- PostgreSQL - Metadata (versions, environments, commit messages)
- S3 - Full prompt bodies (messages, tools, parameters)
- The SDK fetches version metadata from Helicone API
- The prompt body is retrieved from S3 via signed URL
- Variables are substituted with your input values
- The compiled prompt is merged with any additional parameters
Next Steps
Versioning
Learn how to create and manage prompt versions
Deployment
Deploy prompts to different environments
SDK Integration
Integrate prompts into your application
API Reference
Explore the Prompts API