ABV prompt management follows a create-version-deploy-monitor workflow:
Create and edit prompts
Create prompts through the ABV UI, SDKs (Python/JavaScript), or Public API. Prompts support variable substitution ({{variable}}), custom configuration (model parameters, tools, metadata), and two formats: text prompts (single string) and chat prompts (array of messages).
Automatic versioning
Each prompt update creates a new immutable version (1, 2, 3…). View version diffs to see exactly what changed between versions.
Label-based deployment
Labels act as pointers to specific versions. Deploy by assigning the production label. Test with staging. Roll back by reassigning production to a previous version—no code deployment required. Create custom labels for tenants, A/B tests, or any deployment strategy.
Client-side caching for zero latency
ABV SDKs cache prompts locally with automatic background refresh. Your application fetches from cache (zero network latency) while background processes check for updates.
Link prompts to traces for metrics
Connect prompts to observability traces to track which version generated each response. Analyze performance metrics (latency, token usage, costs, evaluation scores) broken down by prompt version.
Product managers and domain experts iterate on prompts directly in the ABV UI. Update prompts, test in playground, deploy to staging, and promote to production—all without engineering involvement. Reduce iteration cycles from days to minutes.
Safe Production Changes with Instant Rollback
Version control with labels enables instant rollback. Assign production to a version, observe metrics, and reassign to a previous version if issues arise—rollback completes in seconds without code changes.
Environment Separation
Use labels to maintain different versions per environment. The same prompt has staging pointing to latest version (under test) and production pointing to previous version (stable). Create tenant-specific labels for multi-tenant deployments.
Team Collaboration
Domain experts iterate on prompts in the ABV UI without writing code. Engineers review changes, test systematically, and deploy by assigning labels. Both teams work with the same prompts in the same platform.
Audit Trail and Change History
ABV maintains complete prompt history with version diffs, timestamps, and change attribution. See exactly what changed between versions and track performance differences through linked observability data.
A/B Testing and Experimentation
Create multiple labels pointing to different prompt versions. Select another label in your application, fetch the corresponding prompt, and link it to the observability trace. ABV metrics show performance by prompt version.Learn more about A/B testing →
Every prompt change creates an immutable new version. View version diffs, compare side-by-side, and roll back to any previous version by reassigning labels.Learn more about version control →
Label-Based Deployment
Labels act as pointers to specific versions. Built-in labels: production (default) and latest (most recent). Create custom labels (staging, tenant-1, variant-a) for environment separation, tenant isolation, and A/B testing. Protected labels restrict who can modify them.Learn more about version control →
Variable Substitution and Templating
Use {{variable}} syntax to insert dynamic content at runtime. Works in both text and chat prompts. Advanced features include message placeholders and composability for reusing prompt components.Learn more about message placeholders →
Prompt Configuration
Store model parameters (temperature, top_p, max_tokens), tool definitions, and custom metadata alongside prompts in the config object. Change model parameters without code changes and version configuration alongside prompt changes.Learn more about prompt config →
Text vs Chat Prompts
Text prompts: Single string with variables (for completion models). Chat prompts: Array of messages with roles (for conversational models). Both support variable substitution, configuration, and versioning.Learn more about the data model →
ABV SDKs cache prompts locally with background refresh. First request fetches from ABV; subsequent requests return cached prompts instantly. Background processes check for updates and refresh when versions change.Learn more about caching →
Link Prompts to Traces for Metrics
Connect prompts to observability traces to track which version generated each response. Analyze metrics per version: latency, token usage, costs, and evaluation scores. Monitor in real-time and compare performance between versions.Learn more about linking prompts to traces →
LLM Playground for Interactive Testing
Test prompts interactively before deployment. Enter variables, select models, adjust parameters, and see responses in real-time. Faster iteration than deploying and testing in code.Learn more about the playground →
Systematic Testing with Prompt Experiments
Test prompts systematically against datasets to measure quality before production. Compare results across prompt versions: quality scores, output differences, and failure cases.Learn more about prompt experiments →
A/B Testing in Production
Test multiple prompt versions simultaneously by selecting between labels and comparing metrics. ABV metrics show performance breakdown by prompt version.Learn more about A/B testing →
Guaranteed Availability with Fallback Prompts
Configure fallback prompts embedded in your application code, used if ABV becomes unavailable and cached prompts are expired. Ensures mission-critical applications continue functioning during outages.Learn more about guaranteed availability →
Composability and Reusable Components
Build prompts from reusable components using prompt composition. Reference other prompts as building blocks to reduce duplication and maintain consistency. Update shared instructions once to affect all referencing prompts.Learn more about composability →
Prompt Folders for Organization
Organize prompts into hierarchical folders for better management in large projects. Organize by feature, model, tenant, or environment.Learn more about folders →
GitHub Integration
Sync prompts to GitHub repositories for version control alongside code. Prompt changes create pull requests for review. Merge triggers deployment via CI/CD or manual label assignment.Learn more about GitHub integration →
Webhooks and Slack Notifications
Receive notifications when prompts change (new versions, label assignments, protected label modifications). Integrate with Slack for team notifications or webhooks for custom workflows.Learn more about webhooks →