Senior PHP and Laravel engineer based in Valencia, Spain. I build backends for AI agents, with a focus on tracing answers to their sources and keeping queued work consistent through retries.
Memory Policy Audit checks which policy text and citations reach an AI agent. The PDF example shows the 14-day rule the agent receives beside page 2 of the original, and marks the seven-day rule as superseded.
Run the PDF example · Verify the decision and PDF · Compare a PDF reprint · Run the nine evaluation cases · Open Agentic Web catalog
- hindsight-php gives Laravel, Symfony and Neuron agents long-term memory. The PHP example uploads a manual, cites the return rule on page 2 and detects a replacement at the same URL by checking SHA-256. Run the PDF example · Test with a fake bank · Hindsight Integrations Hub
- laravel-queue-lab reproduces failures around AI agents with real Laravel processes. The lab shows how one approval can run a tool twice when a lock expires. A stable operation key keeps a single receipt even after a crash. Duplicate tool approvals · Worker crash · Duplicate dispatch · Invoice outbox and AI failover
- Hindsight kept my fix and regression test for embedding migrations that mixed vectors from two models. I also co-authored a fix for retries that stored the same facts twice. Embedding migration · Duplicate facts
- OpenAI PHP can retrieve the text OpenAI parsed from a vector store file, which helps diagnose missed search results. I also added context compaction and request-scoped tracing headers. Parsed file text · Compaction · Tracing
- MCP PHP SDK reads stdio messages larger than the pipe buffer, so tools can receive large arguments. PR #707
- Bunny lets RabbitMQ consumers open channels again after a failed reconnect. The fix followed a confirmed production hang. PR #237
- Symfony keeps prefetched PostgreSQL jobs reserved, returns the requested number of Redis vector results and preserves empty first data lines in SSE streams. Messenger · Symfony AI · HttpClient SSE


