cognesy / instructor-addons
Optional addons for Instructor library, should be used with Instructor or Polyglot
Installs: 206
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/cognesy/instructor-addons
Requires
- php: ^8.3
- ext-fileinfo: *
- ext-libxml: *
- cognesy/instructor-dynamic: ^1.21
- cognesy/instructor-messages: ^1.21
- cognesy/instructor-polyglot: ^1.21
- cognesy/instructor-schema: ^1.21
- cognesy/instructor-struct: ^1.21
- cognesy/instructor-utils: ^1.21
Requires (Dev)
- icanhazstring/composer-unused: ^0.9.0
- jetbrains/phpstorm-attributes: ^1.2
- maglnet/composer-require-checker: ^4.16
- pestphp/pest: ^2.34
- phpstan/phpstan: ^1.11
- roave/security-advisories: dev-latest
- vimeo/psalm: ^6.0
Suggests
- cognesy/instructor-polyglot: Some addones should be used with Polyglot package - e.g. Chat, Evals, FunctionCall, ToolUse
- cognesy/instructor-schema: Support for Instructor Schema - default
- cognesy/instructor-schema-v6: Support for Instructor Schema - if you need Symfony 6 compatibility
- cognesy/instructor-struct: Some addons need Instructor structured outputs package - e.g. Image class
- dev-main
- v1.21.0
- v1.20.0
- v1.19.0
- v1.18.4
- v1.18.3
- v1.18.2
- v1.18.1
- v1.18.0
- v1.17.0
- v1.16.0
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.0
- v1.11.0
- v1.10.3
- v1.10.2
- v1.10.1
- v1.10.0
- v1.9.1
- v1.9.0
- v1.8.1
- v1.8.0
- v1.7.0
- v1.6.0
- v1.5.0
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.0
- v1.2.0
- v1.1.0
- v1.0.1-RC13
- v1.0.0
- v1.0.0-RC22
- v1.0.0-RC21
- v1.0.0-RC20
- v1.0.0-RC19
- v1.0.0-RC18
- v1.0.0-RC17
- v1.0.0-RC16
- v1.0.0-RC15
- v1.0.0-RC14
- v1.0.0-RC13
- v1.0.0-RC12
- v1.0.0-RC11
- v1.0.0-RC10
- v1.0.0-RC9
- 1.0.0-RC8
- 1.0.0-RC7
- 1.0-rc4
- 1.0-rc3
- 1.0-rc2
- 1.0-rc1
- 0.17.11
- 0.17.10
- 0.17.8
- 0.17.7
- 0.17.5
- 0.17.3
- 0.17.2
- 0.17.1
- 0.17.0
- 0.16.4
- 0.16.3
- 0.16.2
- 0.16.0
- 0.15.2
- 0.15.1
- 0.15.0
- 0.14.7
- 0.14.6
- 0.14.5
- 0.14.4
- 0.14.3
- 0.14.2
- 0.14.1
- 0.14.0
- 0.13.9
This package is auto-updated.
Last update: 2026-01-19 20:14:49 UTC
README
This repository contains the source code for the addons to Instructor, which are extra capabilities useful in certain scenarios.
Addons expand LLM capabilities but are not required for basic functionality.
Key Components
- Agent - Tool-calling agent with iterative execution, state management, and extensible capabilities. See
AGENT.md. - StepByStep - Foundational architecture for iterative, state-based processes with configurable continuation criteria. See
STEPBYSTEP.md. - ToolUse - LLM tool calling with automatic execution and result handling. See
TOOLUSE.md. - Chat - Multi-participant conversations with configurable behavior. See
CHAT.md.
Recent Updates (2026-01-16)
- Continuation Observability:
ContinuationOutcomeandContinuationEvaluationprovide full decision tracing - Error Policy: Configurable retry behavior with
ErrorPolicy::retryToolErrors(),stopOnAnyError(), etc. - Time Tracking: Per-execution timing (
executionStartedAt) and cumulative timeout support - Slim Serialization:
SlimAgentStateSerializerfor compact state payloads - Message Helpers:
isAssistant(),isTool(),isUser(),isSystem(),hasRole()on Message class - Broadcasting:
AgentEventEnvelopeAdaptersupports Laravel Reverb/Pusher with a wiretap integration