instructor-php
cognesy
A TypeSafe Decision driver within Instructor PHP’s Polyglot module.
- License
- MIT
- GitHub Stars
- 327
- Source reviewed
- 2026-09-19
Where Jev makes a decision
Converts application state and typed questions into Jev requests and maps responses to PHP decision objects.
What this project offers
Lets PHP applications use Jev through a shared Decision interface.
Review scope
Reviewed the fixed-version README and call path.
Sources and implementation
- cognesy/instructor-php/blob/bb1160ce2360dcf1434788c46ee97809fe782ea3/README.md
- cognesy/instructor-php/blob/bb1160ce2360dcf1434788c46ee97809fe782ea3/packages/polyglot/src/Decision/Drivers/TypeSafe/TypesafeDriver.php
- cognesy/instructor-php/blob/bb1160ce2360dcf1434788c46ee97809fe782ea3/packages/polyglot/src/Decision/Drivers/TypeSafe/TypesafeRequestAdapter.php
- cognesy/instructor-php/blob/bb1160ce2360dcf1434788c46ee97809fe782ea3/packages/polyglot/src/Decision/Drivers/TypeSafe/TypesafeResponseAdapter.php
Related projects
jev
dannote · SDK & Decision Frameworks
Integrates Jev as an asynchronous Elixir/OTP process whose replies are handled with GenServer pattern matching.
zod-jev
jomatsu · SDK & Decision Frameworks
Adds semantic rules to Zod validation, such as checking whether text matches a description or contains personal information.
daf-jev
docxology · SDK & Decision Frameworks
A Python toolkit for Jev requests, batch evaluation, calibration and MCP access.
jev-starter
hamakyo · SDK & Decision Frameworks
TypeScript patterns for thresholds, fallbacks, human review and evaluation on top of the TypeSafe SDK.