Key Features

Autoblocks Prompt Management provides a robust system for managing, versioning, and executing your prompts with full type safety and autocomplete support. It enables you to maintain a single source of truth for your prompts while supporting multiple environments and deployment strategies.

Type-Safe Prompt Management

  • Autogenerated prompt classes with full type safety
  • IDE autocomplete for templates and parameters
  • Runtime validation of prompt inputs
  • Support for both TypeScript and Python

Version Control

  • Semantic versioning for prompts (major.minor)
  • Support for latest version tracking
  • Undeployed revision support for local development
  • Automatic background refresh of latest versions

Integration Flexibility

  • TypeScript and Python SDK support
  • CLI for prompt generation
  • CI/CD integration
  • Local development support

Getting Started

Choose your preferred language to begin:

Core Concepts

Prompt Managers

The interface for working with prompts:

  • Initialize with version specifications
  • Support for latest version tracking
  • Background refresh capabilities
  • Type-safe prompt execution

Prompt Execution

Safe and type-checked prompt usage:

  • Context managers for execution
  • Template rendering with validation
  • Parameter access with type safety
  • Error handling and logging

Version Management

Flexible version control:

  • Major version pinning
  • Latest minor version support
  • Undeployed revision access
  • Background refresh options

Next Steps