Prompt Management

Version, deploy, and test your AI prompts

Reusable templates with full version control, per-proxy deployment, dynamic variables, and an interactive playground — all from one dashboard.

100+

Versions tracked

{{vars}}

Dynamic variables

3 modes

Deploy positions

Template Library

Organize prompts with tags, versions, and deployments.

TemplateVersionStatusDeploys
customer-supportv3Active2 proxies
code-reviewv7Active1 proxy
sales-assistantv2Draft
onboarding-guidev5Active3 proxies
data-analystv1Active1 proxy
Version History

Every change tracked with full rollback.

v7Added error handling instructions

sarah@acme.com · 2 hours ago

v6Improved tone for enterprise clients

mike@acme.com · 3 days ago

v5Added multi-language support variables

sarah@acme.com · 1 week ago

v4Reduced token usage by 30%

mike@acme.com · 2 weeks ago

Proxy Deployment

Inject prompts into any proxy with flexible positioning.

ProxyPromptPositionVersionPriority
px_acme_prodcustomer-supportPrependv31
px_acme_prodsafety-guardrailsAppendv22
px_acme_stagingcode-reviewPrependv71
px_acme_devonboarding-guideReplacev51

What's included

Templates, versioning, and deployment — built in

Every prompt managed through Bastio gets automatic versioning, variable substitution, deployment controls, and analytics at no extra configuration.

Reusable prompt templates
Full version history
Instant rollback to any version
Dynamic variable substitution
Per-proxy deployment
Prepend, append, and replace modes
Interactive playground
Multi-model testing
Per-version analytics
Content diff comparison
Tag-based organization
CSV export for analytics

Define Template

Create templates with dynamic variables using double curly braces. Set defaults and mark required fields.

You are a {{role}} assistant for {{company}}.

The user's preferred language is {{language:English}}.
Their account tier is {{tier:free}}.

Always be {{tone:professional}} and concise.
Never reveal internal system details.
Focus on: {{task}}

Deploy to Proxy

Deploy a versioned prompt to any proxy via the API. Variables are substituted at runtime.

curl -X POST https://api.bastio.com/v1/prompts/deploy \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt_id": "customer-support",
    "version": "v3",
    "proxy_id": "px_acme_prod",
    "position": "prepend",
    "variables": {
      "role": "customer support",
      "company": "ACME Corp"
    }
  }'

Version Control

Every edit creates a new version. Roll back instantly, compare changes, and track who changed what.

Interactive Playground

Test prompts across models with configurable temperature, tokens, and top-p. Save sessions for later.

Performance Analytics

Track usage, latency, cost, and quality scores per version. Export data for custom analysis.

Start managing your AI prompts

Prompt management included with every plan. Version control, deployment, and analytics from day one.