catidegla/laravel-agent-kit
A Laravel toolkit for building AI agents and adding agentic workflows to your app. It offers a structured way to define agents, manage prompts and tools, and connect them with Laravel services, making AI-powered features easier to organize, test, and ship.
get is indistinguishable from a missing record. That is a go/no-go criterion for launching agent-facing endpoints, and it is now an assertion in CI rather than a promise in a doc.internal_notes being absent from a payload is a concrete, testable expression of a data-classification decision. PMs can point at this as the mechanism that makes "internal fields stay internal" enforced by code rather than by reviewer diligence.laravel/mcp itself, not just that they look correct. That supports committing to generated tooling in the developer experience rather than maintaining hand-written tool definitions.Consider adoption when most of the following hold:
Look elsewhere when:
Caveat on the evidence. The release notes describe 58 tests and the properties they assert, but the assessment is based on release notes alone — no source review, no independent verification of coverage, and no data on maintenance cadence, issue responsiveness, or downstream adopter count. The security claims are strong and unusually well-specified, which is itself a positive signal about the maintainers' priorities, but "the tests assert X" is not the same as "X is guaranteed under all configurations." Before committing, ask engineering to confirm that the fail-closed behavior holds for the model types you actually plan to expose, and pin the version.
For executives: This release makes our AI-agent data access defensible. Rather than building a bespoke permission layer for every model we let an agent touch, we adopt one that refuses to expose anything without an explicit policy, keeps sensitive fields out of responses and out of logs, and does not let a caller distinguish "you're not allowed" from "it doesn't exist." Those three properties are what come up in security reviews and in enterprise procurement questionnaires, and they are now covered by automated tests. Release v0.5.0 adds Laravel 13 support without dropping Laravel 12 or PHP 8.2, so adopting it does not couple our AI roadmap to a platform upgrade.
For engineering: The authorization, redaction, audit, and relation-scoping layer is solved and tested; your effort goes into defining which models and fields are exposed and what the tools should do. Policies are mandatory — a model without one throws, so misuse fails loudly at development time rather than silently in production. Audit records carry no field values. Tool classes are generated and verified to load and serialise through laravel/mcp rather than only passing a shape check, so the generated output is real, not decorative.
For security and privacy: Denials are non-enumerable: a denied get is indistinguishable from a missing record, closing the enumeration channel that agent endpoints often open. Logs record the call, not the contents. The test suite asserts these behaviors directly instead of documenting them, which gives you a reviewable artifact. We should still run our own review against our specific data classifications.
Ask: Approve a time-boxed engineering spike to validate the fail-closed behavior against our two highest-sensitivity models, then decide on adoption. Pin the version either way.
How can I help you explore Laravel packages today?