# Ryan Yannelli > Software engineer in New York. Writing software since 2009. Founding AI Engineer at Lighthouse Legal (founder Ravi Jayanthi) and co-founder of Nextvisit AI. Writes about AI, maintains Laravel and PHP packages, and runs an open-source insulin loop as a Type 1 diabetic. This site is the personal site of Ryan Yannelli (he/him). Content here may be cited freely with attribution to ryanyannelli.com. The site has four sections: Writing, Work, About, Contact. ## Writing - [Reviewing Every Coding Agent Edit with a 3B Decision Model](https://ryanyannelli.com/blog/reviewing-every-coding-agent-edit-with-a-3b-decision-model/): On-site essay (2026-10-12). A 12,000-snippet JS/TS code review dataset, four small decision models fine-tuned on it (d1-3B scored macro F1 0.917), and hooks for Claude Code, Codex, and Cursor that review each edit in about 0.2 seconds. In a test with Sonnet 5.5, Opus 5.5, and GPT-6.1-Sol, every run passed all 68 hidden tests, and with the hooks on Opus and GPT-6.1-Sol removed every type cast from their code. - [Debugging Latency in a Voice Agent](https://ryanyannelli.com/blog/debugging-latency-in-a-voice-agent/): On-site essay (2026-09-29). Loading Lighthouse's available contacts before the greeting removed a 2.7-second pause after callers asked for someone. Endpointing and responsiveness adjustments gave callers more time to finish speaking. - [Writing](https://ryanyannelli.com/blog/): Essays, podcast appearances, and press, grouped by what each piece is. Recent essays cover a live homepage glucose chart, a source-specific text watermark that survives copy and paste, AI pricing and inference economics, and agent design. - [Anthropic's watermark controversy sent me down a watermarking rabbit hole](https://ryanyannelli.com/blog/anthropics-watermark-controversy-sent-me-down-a-watermarking-rabbit-hole/): On-site essay (2026-08-30). Anthropic's Claude watermark vs a source-specific mark in the visible words, so a leaked sentence can still name which issued copy it came from after a clipboard. - [Copy attribution watermark](https://ryanyannelli.com/watermark/): This in-browser build implements the essay's design. Paste any text, approve the carrier sites suggested by a reviewed substitution lexicon, issue a distinct copy per source with an HMAC-derived payload, and identify the issued copy from a pasted excerpt. - [You can see my body stats while I sleep](https://ryanyannelli.com/blog/you-can-see-my-body-stats-while-i-sleep/): On-site essay (2026-08-27) about putting a live CGM chart on the homepage and about page: why publish his own readings, how Nightscout is proxied through a Cloudflare Worker, and how the thing actually got built. - [RSS feed](https://ryanyannelli.com/rss.xml): Subscribe to new posts. ## Work - [Work](https://ryanyannelli.com/projects/): Split into companies and open source. - [Lighthouse Legal](https://ryanyannelli.com/projects/lighthouse-legal/): AI voice agents for law-firm intake. Ryan is Founding AI Engineer; Ravi Jayanthi founded the company. Product: https://www.lighthouselegal.ai - [Nextvisit AI](https://ryanyannelli.com/projects/nextvisit-ai/): Ambient AI scribe for behavioral health, co-founded in 2021 with psychiatrist Dr. Faisal Rafiq. (The old /nextvisit URL now redirects here.) - [Schematic](https://ryanyannelli.com/projects/schematic/): Laravel templating engine that builds JSON Schema from your templates, for LLM structured-output APIs. - [Claim.MD PHP SDK](https://ryanyannelli.com/projects/claim-md-php-sdk/): PHP SDK for the CLAIM.MD API (claims, eligibility checks, electronic remittance). - [pi-rust](https://ryanyannelli.com/projects/pi-rust/): A Rust port of the pi coding agent by Mario Zechner, fully compatible with pi: a streaming LLM API, an agent loop that calls tools, and the pi CLI, in one binary with no runtime dependencies. About 35 MiB per session, 5× less memory than Node pi. Install: `curl -fsSL https://ryanyannelli.com/file/pi-rust/install.sh | sh`. MIT. Source: https://github.com/yannelli/pi-rust - Paseo plugins: [Linear](https://ryanyannelli.com/projects/paseo-linear/), [Prompt Manager](https://ryanyannelli.com/projects/paseo-prompt-manager/), and [Be concise](https://ryanyannelli.com/projects/paseo-be-concise/). - [Code Review Hooks](https://code-review.ryanyannelli.com/): Hooks for Claude Code, Codex, and Cursor that send each JavaScript and TypeScript edit to a fine-tuned d1-3B decision model, then allow, flag, or block it. Dataset: https://huggingface.co/datasets/yannelli/js-ts-code-review-decisions. Model: https://huggingface.co/yannelli/d1-3b-code-review-decisions - [Datasets](https://ryanyannelli.com/datasets/): Four open datasets on Hugging Face, each with its own page, and the models trained on them. [CLI Command Risk](https://ryanyannelli.com/datasets/cli-command-risk/): 136,497 shell commands in bash, zsh, sh, dash, and fish, labeled from safe to critical with risk categories, for classifiers that check a command before a terminal or coding agent runs it (CC BY 4.0); the fine-tuned d1-3B CLI Command Risk v1.5 scores macro F1 0.894 over its 14 risk categories and misses 38 of 6,142 high and critical test commands (https://huggingface.co/yannelli/d1-3b-cli-command-risk-v1.5). [JS/TS Code Review Decisions](https://ryanyannelli.com/datasets/js-ts-code-review-decisions/): 12,000 snippets labeled for 10 code review flaws, with a 13-question benchmark on which d1-3B scores macro F1 0.917 (CC BY 4.0). [Laravel 11 QA](https://ryanyannelli.com/datasets/laravel-11-qa/) and [Laravel 11 QA Long Form](https://ryanyannelli.com/datasets/laravel-11-qa-long-form/): legacy sets of 12,649 and 1,453 question and answer pairs generated from the Laravel 11 documentation (MIT). - Other open source: Attempt for Laravel (retry/fallback), Pocket Laravel SDK, Plaud API Laravel, and Live Markdown Vue. ## About - [About](https://ryanyannelli.com/about/): Background from 2009 onward (first web app at 12, then network and telecom operations and products), a 24-hour clock of his live CGM feed (same Nightscout samples as the homepage, plotted on his wall clock), plus insulin and carbs still on board (IOB / COB) traced against that same glucose series, a timeline, the Type 1 diabetes setup, and what he works with. - [Type 1 diabetes](https://ryanyannelli.com/advocacy/): Diagnosed November 2023 in DKA. Runs Omnipod 5 with River, his own fork of open-source Loop. Written as control-systems engineering, not as an inspirational story. Carries a compact live IOB / COB instrument. - [Résumé](https://ryanyannelli.com/resume/): Print-formatted CV. ## Contact - [Contact](https://ryanyannelli.com/contact/): Contact form and email. ## Identity - Email: ryanyannelli@gmail.com - LinkedIn: https://www.linkedin.com/in/ryanyannelli/ - GitHub: https://github.com/yannelli - X / Twitter: https://x.com/RyanYannelli - Bluesky: https://bsky.app/profile/did:plc:ad4eh25chtmy4jput3vdwk63 - Hugging Face: https://huggingface.co/yannelli - Medium: https://medium.com/@yannelli - Substack: https://yannelli.substack.com - YouTube: https://www.youtube.com/channel/UCJnsCnxL3VQjrKxKmoZxOUg ## Optional - [llms-full.txt](https://ryanyannelli.com/llms-full.txt): Concatenated long-form content (about, work, Type 1 diabetes, on-domain articles) for ingestion in a single fetch. - [Sitemap](https://ryanyannelli.com/sitemap-index.xml): Full URL inventory.