Skip to Content
šŸŽ‰ Welcome to handit.ai Documentation!

Release Hub & SDK Integration

Deploy optimized prompts through a simple two-step process: compare and select prompts in the Release Hub, then fetch them in your applications using the SDK.

Handit.ai stores and serves optimized prompts. You select which prompt to mark as ā€œproductionā€ in the Release Hub, then your applications fetch that prompt via SDK for use in their own LLM calls.

How It Works

The deployment process is straightforward:

Compare in Release Hub

View A/B testing results and compare current vs optimized prompts side-by-side

Mark as Production

Select which prompt version to deploy by marking it as your production prompt

Fetch via SDK

Your applications automatically get the selected prompt when they call the SDK

Monitor Performance

Track how the deployed prompt performs in your applications

Release Hub - Prompt Selection

Viewing Optimization Results

The Release Hub shows you all available optimizations with their performance metrics:

Available Optimizations:

  • Current production prompt with its performance baseline
  • New optimizations with A/B testing results and confidence levels
  • Clear improvement percentages for each quality metric
  • Statistical significance indicators

Comparison View:

  • Side-by-side prompt text comparison
  • Performance metrics comparison
  • A/B testing sample size and confidence levels
  • Recommendation status (ready for deployment or needs more testing)

Deployment Decision

When you’re ready to deploy an optimization:

Mark as Production:

  • Click ā€œMark as Productionā€ on your chosen optimization
  • The prompt immediately becomes available via SDK
  • Previous version remains accessible for rollback
  • Change is logged with timestamp and user information

Deployment Confirmation:

  • Instant activation (no deployment delays)
  • SDK immediately serves the new prompt
  • Version history updated
  • Team notifications sent (if configured)

SDK Integration

Fetching Production Prompts

Your applications fetch the currently marked production prompt using the SDK:

Automatic Updates

When you mark a new prompt as production in Release Hub:

Immediate Availability:

  • SDK calls immediately return the new prompt
  • No application restarts required
  • No code changes needed
  • Seamless transition for users

Caching & Performance:

  • SDK caches prompts for performance
  • Cache automatically refreshes when prompts change
  • Fallback to previous version if service unavailable
  • Minimal latency impact

Next Steps

Ready to integrate Release Hub with your applications?

Deployment is instant. When you mark a prompt as production in Release Hub, it’s immediately available via SDK with no downtime or code changes required.

Last updated on