AI prompts as infrastructure, not strings in code
Write prompt templates with Handlebars syntax and typed variables. Planned for launch: type-safe SDK functions for Go and TypeScript, and prompt updates without redeploying your app.
Type-safe functions, not string building
At launch, PromptHub will generate SDK functions for Go and TypeScript, with Python next. Each function takes typed arguments that match your template variables, so your AI prompts get compile-time safety.
- Go structs and TypeScript interfaces first, Python dataclasses next
- Compile-time type checking catches errors before runtime
- Import and call, with no template parsing in your code
Update prompts without deploying
Use the generated SDK for compile-time safety, or fetch prompts over a REST API for runtime flexibility. Change a prompt in the dashboard and every API call will return the new version right away.
- REST API with API key authentication
- Update prompts without code changes or deploys
- A/B test prompt variations without feature flags
/prompts/renewal-email Readyv3 Friendly tone Servingv4 Formal tone Savedv5 Concise Savedv3Waiting for the next request…
From prompt to production code
Templates, typed variables and the prompt generator work today. Everything else on this list is planned for launch.
Handlebars templating
Write prompts with real templating syntax: conditionals, loops and context switching, not just variable interpolation.
Typed variables
Detected variables get a type: text, number, true/false, list, object or options. At launch, types will drive the SDK and catch errors before runtime.
Type-safe SDK generation · planned
You'll download generated functions for Go and TypeScript, with Python next. Each will take typed arguments and return the formatted prompt text.
Version history · planned
Every edit will be versioned, so you can compare any two versions side by side and roll back to an earlier one with one click.
Team collaboration · planned
A shared prompt workspace for your team, where everyone sees the same prompts, the same versions and the same variable types.
API-first · planned
Fetch prompts through a REST API at runtime, update them without redeploying and A/B test variations without code changes.
Why this needs to exist
AI prompts today are strings buried in code. No versioning, no types, no collaboration. Every team reinvents the same bad patterns.
Prompts in code are fragile
String concatenation, f-strings, template literals. One wrong variable and the AI gets garbage input. No compiler catches it. No tests cover it.
No single source of truth
Prompts scattered across repos, Notion docs, Slack messages. Product wants to tweak copy, but they need a developer to deploy it.
No iteration workflow
Change a prompt and hope for the best. No version history, no diff, no rollback. Was the last version better? Nobody knows.
Available today on the platform
PromptHub is in active development. These Norcube products are live and used in production today.
Be the first to try PromptHub
PromptHub is in active development. Join the waitlist and we'll let you know when it's ready.
- Coming soon
- Go & TypeScript first
- Handlebars
- Free tier at launch