ReleaseMicrosoftMicrosoftpublished Sep 10, 2026seen 2h

microsoft/prompty python/2.0.0

microsoft/prompty

Open original ↗

Captured source

source ↗
published Sep 10, 2026seen 2hcaptured 1hhttp 200method plain

python/2.0.0

Repository: microsoft/prompty

Tag: python/2.0.0

Published: 2026-09-10T04:47:56Z

Prerelease: no

Release notes:

2.0.0 (2026-09-10)

Features

  • §8.8 Structured Result Casting for Python and TypeScript (f0cd82c)
  • add agent loop resilience (§9.8, §9.9, §9.10) (d6df11b)
  • add bind_tools validation bridge across all runtimes (0393d56)
  • add context compaction across all runtimes + Rust DX improvements (3490cbb)
  • add context compaction across all runtimes + Rust DX improvements (#345) (3490cbb)
  • agent loop resilience, structured output fix, Entra ID tests, mock pipeline tests (6bfdfee)
  • emitter: add @factory and @helper decorators with cross-runtime generation (0a33ad9)
  • emitter: add enum support for TypeSpec string-literal unions (94dd8b9)
  • emitter: add nested factory methods + unified import model (Phase 3) (1f4ff15)
  • emitter: Declaration IR, language-agnostic lowering, Python emitter, rename to prompty-emitter (Phase 4) (a4e557e)
  • emitter: E1b/c/d - group-aware folder emission across all 5 runtimes (e200966)
  • emitter: Phase 1a — decorator renames, FieldRead IR, new decorators (0f5b83e)
  • emitter: wire expression IR into all 5 language emitters (Phase 2) (b567847)
  • engine: promote generated ResumeContext into the live resume path (3b46e09)
  • fix remaining issues — nullable protocols, C# async migration, Rust/Go helpers (9be0745)
  • implement tool binding injection in Python and TypeScript (8cb00c8)
  • memory: promote agent memory into canonical prompty (d551391)
  • memory: promote tiered agent memory into canonical prompty (a92d404)
  • model: add reasoningEffort to ModelOptions (fc07e78)
  • model: add Typra-owned ModelLister discovery protocol for OpenAI/Anthropic/Foundry (fe3133a)
  • model: service-drill conformance vector on the callable seam (d8cb188)
  • promote spec.md types to TypeSpec (pipeline, usage, events, tools) (430fb20)
  • Prompty v2 rebuild + Typra 2.0.2 model regen (7 runtimes green) (5360d90)
  • Prompty v2 rebuild + Typra 2.0.2 model regen (7 runtimes green) (72f3b53)
  • PromptyTool support in Responses API + wire projection tests (6f9cdec)
  • protocol emission via @protocol decorator + strict toWire() fix (5b3a73e)
  • protocols: make generated protocols canonical with optional/sync support (a839628)
  • python: add live provider capability guard reference (96e3c3b)
  • python: agent loop extensions and tool decorator (ea88e67)
  • python: graduate Python runtime to 2.0.0 (#535) (fde5e64)
  • python: guard deprecated sampling params, translate reasoningEffort (09f5ce2)
  • python: live integration plumbing for real Entra-auth endpoints (c50c3cc)
  • python: provider-agnostic run + runTurn engines; remove all vector waivers (c039272)
  • python: support image/file/audio rich-kind nonces in pipeline (5c188c7)
  • python: wire ToolResult through pipeline, remove mode from PromptyToolHandler (2a99e24)
  • regen model tree on @typra/emitter 2.1.6 + retire dispatch doubles (#511)...

Excerpt shown — open the source for the full document.