StripeAnna SpyszTutorial
Learnings from init to deploy
Summary
An agent was used to build a transcription app for a team from initialization through deployment with Stripe Projects, OpenRouter, and Vercel. The app sends video-generated subtitles through an OpenRouter agent with a detailed system prompt and Stripe documentation tool calls, producing a formatted transcription whose speaker and service names are corrected. The author recommends treating agent-generated plans like design documents, verifying provider behavior, and using streaming for long transcripts because Vercel serverless limits made non-streaming responses prone to 504s for a roughly 1,500-line transcript. Testing led to removing an unreliable free-model tier, defaulting to openrouter/auto, and choosing Claude Opus 4.5-thinking over Claude Sonnet 4.5; shared agent files were committed, and a separate review agent was used before human review.
Context
The project involved processing long, auto-generated subtitle transcripts with an AI agent while preserving the script and correctly spelling and capitalizing speakers and service names. The author also needed to account for provider behavior, model quality, shared agent knowledge, and review practices when using agents across the development workflow.
Approach / What changed
The workflow used an upfront agent-generated plan covering goals, data flow, architecture, and tasks, followed by research and human verification. The implementation adopted streaming for long transcripts on Vercel, revised model selection to try free models before paid ones, then removed the unreliable free tier and defaulted to openrouter/auto. Agent-specific files were committed for shared rules and skills, and a separate PR-reviewer agent checked the completed changes before human review.
Takeaways
Streaming was implemented for roughly 1,500-line transcripts after non-streaming Vercel serverless responses were judged likely to hit 10-second Hobby or 60-second Pro limits and return a 504.
Repeated free-model outputs condensed a 700-line script into about 100 lines, so the free tier was removed; the app defaulted to openrouter/auto, and reasoning models were found more accurate despite being slower.
Committing agent files such as AGENTS.md and files in the agents directory lets teammates share skills and rules, while a dedicated review agent can identify issues before the author performs the final review.
Source and freshness
- Source
- stripe.dev
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.