THE BLOG / DEVELOPMENT NOTEBOOKNotes from
Notes from
the workbench.
Useful details, small discoveries, and a few opinions about building things. Find a topic, search an idea, or browse at your own pace.
Latest notes first
30 articles · Showing 1–3

AI Agents
AI Agent Costs: Calculate Cost per Successful Task
Calculate AI agent cost per successful task, including failed runs, tool fees and human review. Includes a JavaScript example and a budget checklist.
By Khuram Shahzad · Updated
4 min read · 760 words
Read the article 
AI Agents
AI Agents vs Workflows: Which Should You Build?
Choose between a fixed AI workflow and an autonomous agent using a support-ticket example, explicit handoffs and a practical decision checklist.
By Khuram Shahzad · Updated
4 min read · 779 words
Read the article 
AI Safety
AI Browser Agents: Prompt Injection and Safer Permissions
Learn how page content can misdirect a browser agent, what an approval should show, and how to rehearse permission boundaries without real account actions.
By Khuram Shahzad · Updated
4 min read · 797 words
Read the article // write → review → publishRoom for the next idea.