# Patrick Vieira > AI Platform Engineer, London, United Kingdom. I build the platforms, infrastructure and identity systems that let a small team ship like a large one, and I hold the AI agents writing that team's code to the same standard as people. Platform engineer in London (not the footballer of the same name). Canonical page: https://patrickjv.com/ I design the architecture and run the infrastructure, identity and security that other engineers build on, and I write the engineering standards they work to. Much of my recent work is about making AI-assisted delivery trustworthy. Agent-written code goes through the same checks as anyone's: a written spec before code, tests first, a hook that stops an agent finishing until typecheck, lint and tests pass, and adversarial review by a model from a second vendor. I do my best work in small teams. I set technical direction by writing architecture decision records, choose platforms on measured evidence, and automate any job nobody should be doing by hand. ## Selected work - **Internal developer platform for AI-assisted delivery**: A Claude Code platform for a whole engineering team, built around a golden path from spec to merge. It is a plugin of 21 skills and 3 hook events for spec-first authoring, test-driven implementation and cross-vendor adversarial review, plus a versioned engineering-standards baseline pushed automatically to about 26 repositories. - **Agent execution and evaluation platform**: Coding agents take specified work, build in sandboxed containers with per-run credentials, pass rubric-graded review gates and merge on automated criteria. It is still being built, on the same spec-to-merge path. I chose the platform after a spike measured a 3.3 s cold start and a 32 ms warm one. - **Passkey and verifiable-credential identity**: did:web identity with WebAuthn passkeys and W3C Verifiable Credentials, built from scratch. It is in production as the sign-in for a suite of internal applications and federates to self-hosted DIDs, this domain among them. - **Infrastructure as code**: Cloud and SaaS infrastructure across GitHub, Cloudflare, Kafka, Databricks and observability, run through Terraform Cloud with GitOps: plan on pull request, apply on merge, daily drift detection. AWS and Microsoft 365 are code too, and joiners and leavers are automated. - **On-premises speech intelligence**: A meeting-transcription pipeline on an NVIDIA DGX Spark (NeMo ASR, diarisation and voiceprint speaker naming) for audio that cannot leave the building. ## Side projects - **Kaizen Kingdom**: An adaptive maths learning platform, started after seeing in the classroom how far edtech falls short of what teachers need. - **Marine-weather agent**: An agent that emails forecasts to a sailing yacht at sea. - **Research agent**: An agent that answers a plain-English question about time-series data with a plan, sandboxed analysis, a critic and a report. ## Background I studied Electrical and Electronic Engineering (BEng), then trained as a maths teacher (PGCE, UCL) and taught secondary mathematics for two years. In 2021 I taught myself full-stack development and moved into software, and I have worked in platform engineering since 2023. Two years in a classroom left me judging tooling by whether people pick it up and use it well. ## Quick answers - **Who is Patrick Vieira, the engineer?**: Patrick Vieira is a platform engineer based in London — not the footballer of the same name. He designs and runs the foundations other engineers build on: architecture, infrastructure, identity and security. - **What does he specialise in?**: Platform engineering, AI-assisted software delivery, infrastructure as code and passkey-based identity, mainly with TypeScript, Python, Cloudflare and Terraform. - **What has he built?**: An internal developer platform for AI-assisted delivery, an agent execution and evaluation platform, a passkey and verifiable-credential identity system, infrastructure as code across cloud and SaaS, and an on-premises speech pipeline. - **How does he make AI-written code trustworthy?**: He holds it to the same bar as anyone's code. A spec comes before any code and tests come first; a hook won't let an agent finish until typecheck, lint and tests pass; and a model from a second vendor reviews the change. - **How can I contact him?**: By email at hello@patrickjv.com, or through LinkedIn or GitHub. ## Writing - [Holding agent-written code to the same standard as anyone's](https://patrickjv.com/writing/gating-agent-written-code.md): The golden path I use so that code drafted by AI agents meets the same bar as code written by people, enforced by the system rather than by attention. - [Rehearse the restore, time the rollback](https://patrickjv.com/writing/rehearse-the-restore.md): Why I time database restores and rollbacks before a release needs them, with a four-minute incident on this site and a Postgres restore drill as worked examples. ## Projects - [Research agent](https://patrickjv.com/projects/research-agent.md): A LangGraph and LangChain research agent that plans, waits for approval, runs Python in a sandbox and has a critic check its work. With recorded runs and eval results on synthetic data. - [On synth-1m, what was the largest single-day move? Days are CME sessions, 18:00 to 17:00 New York, dated by the day they end. Report the largest absolute session log return as the statistic `largest_session_abs_log_return`, and say whether it exceeds 2% (the hypothesis: some session moved more than 0.02 in log terms).](https://patrickjv.com/projects/research-agent/runs/20261116T123459Z-9dbf08/report.md) (checked 2026-11-16) - [On synth-1m, is the Monday RTH session return (09:30 to 16:00 New York) different from the other weekdays'? Report the difference in mean RTH log return, Monday minus Tuesday to Friday, as the statistic `monday_minus_other_rth_return`, and test whether it differs from zero at the 5% level.](https://patrickjv.com/projects/research-agent/runs/20261112T165943Z-8eb45f/report.md) (checked 2026-11-12) - [On synth-1m, do Monday sessions drift? Take each session's log return over regular hours (09:30 to 16:00 New York) and report the mean over Mondays as the statistic `monday_mean_rth_return`. Test the hypothesis that it differs from zero at the 5% level.](https://patrickjv.com/projects/research-agent/runs/20261112T165719Z-a93bec/report.md) (checked 2026-11-12) - [On synth-1m, do Tuesday sessions drift? Take each session's log return over regular hours (09:30 to 16:00 New York) and report the mean over Tuesdays as the statistic `tuesday_mean_rth_return`. Test the hypothesis that it differs from zero at the 5% level.](https://patrickjv.com/projects/research-agent/runs/20261116T103820Z-506968/report.md) (checked 2026-11-16) - [On synth-1m, what is the total log return of the instrument over the whole sample? Report it as the statistic `total_log_return`, and test the hypothesis that the mean session log return differs from zero (two-sided, 5% level).](https://patrickjv.com/projects/research-agent/runs/20261112T165438Z-76a84d/report.md) (checked 2026-11-12) - [On synth-1m, is realised 1-minute volatility higher in the first 30 minutes after the 09:30 New York cash open than in the rest of the same session? Report the mean over sessions of the ratio of realised volatility in that window to realised volatility in the rest of the session as the statistic `open_vol_ratio`, and test the hypothesis that the window is more volatile at the 5% level.](https://patrickjv.com/projects/research-agent/runs/20261112T163326Z-468489/report.md) (checked 2026-11-12) - [On synth-1m, what was the cumulative log return of the instrument over the sessions of 2024? Days are CME sessions, 18:00 to 17:00 New York, dated by the day they end. Report it as the statistic `log_return_2024`, and test the hypothesis that the mean session log return in 2024 differs from zero (two-sided, 5% level).](https://patrickjv.com/projects/research-agent/runs/20261116T122841Z-47d5a4/report.md) (checked 2026-11-16) ## How to book a call The same guide is at [https://patrickjv.com/book.md](https://patrickjv.com/book.md). # How to book a call with Patrick Vieira 1. Call `list_meeting_types` to see the options (Consultation, 30 minutes; Recruiter intro, 15 minutes). 2. Call `get_availability` with a type. It lists free times in London working hours, each with its UTC offset. Steps 1 and 2 need no sign-in. 3. Agree a time with your person. 4. Call `book_meeting` with the type, the start time and an optional note. Don't send their name or email address: those come from their sign-in. This doesn't reserve the time yet. 5. Give your person the `confirm_url` from the result. They open it and sign in with Google before `link_expires` (within 60 minutes). That books the call in their name, and Google sends them the invite. If someone else has taken the time in the meantime, the page tells them. 6. Call `get_booking_status` to check it's confirmed. Its status is one of `pending_confirmation`, `confirmed`, `declined`, `expired` or `cancelled`. If it says `pending_confirmation`, the booking isn't finished yet (your person may still be signing in, or the site may be finishing it): wait and check again, and don't book again. If it says `declined` or `expired`, start again from step 2. To cancel, call `cancel_booking`. A request your person hasn't signed in on yet is withdrawn at once. If it returns a `confirm_url`, give it to your person: they sign in to cancel. If it says a cancellation email was sent, your person uses the link in that email. If it says the booking is still being finished, check again in a few minutes and cancel then. People can also book at https://patrickjv.com/book. ## Links - [Email](mailto:hello@patrickjv.com): hello@patrickjv.com - [LinkedIn](https://www.linkedin.com/in/patrickvieira/) - [GitHub](https://github.com/PVieira04) - [CV](https://patrickjv.com/cv): two-page CV, also as [PDF](https://patrickjv.com/cv.pdf) - [Book a call](https://patrickjv.com/book): pick a free time and sign in with Google to book it (or confirm by email) - [How to book a call](https://patrickjv.com/book.md): the booking steps for AI agents, as Markdown - [Privacy](https://patrickjv.com/privacy): what this site stores about you, for how long, and who processes it Introductions sent through this site's MCP or browser-agent tools are forwarded to my email and not stored here. ## Machine-readable - [Markdown version of this page](https://patrickjv.com/index.md): the full profile as clean Markdown - [Sitemap](https://patrickjv.com/sitemap.xml) - [MCP server](https://patrickjv.com/mcp): remote MCP (Streamable HTTP, POST, JSON responses, no auth). Read-only tools get_profile, list_work, list_skills, list_faq; request_intro emails Patrick (rate-limited, a couple per sender per day); get_booking_guide, list_meeting_types, get_availability, book_meeting, get_booking_status and cancel_booking book a call, confirmed by the person signing in with Google (see How to book a call above)