Implementation
Prompty has runtime implementations in multiple languages. Each follows the same pipeline architecture but uses language-native patterns and package managers.
| Language | Status | Package |
|---|---|---|
| Python | ✅ Stable (alpha) | prompty on PyPI |
| TypeScript | ✅ Stable (alpha) | @prompty/core on npm |
| C# | 🚧 In Progress | — |
Choosing a Runtime
Section titled “Choosing a Runtime”All runtimes share the same .prompty file format — a prompt written for one
runtime works with any other. The differences are in installation, API style,
and available providers.
Python
Section titled “Python”- Most mature runtime with all features implemented
- Async support via
_asyncvariants of every function - Entry-point-based plugin discovery
- Install:
uv pip install prompty[all]
TypeScript
Section titled “TypeScript”- Modular package architecture (
@prompty/core+ provider packages) - Native async/await throughout
- Provider registration via side-effect imports
- Install:
npm install @prompty/core @prompty/openai
- Type system generated from TypeSpec schema
- Runtime pipeline in development
- Will follow the same four-stage architecture