How to Stream AI Agent Progress to a UI
Learn to stream AI agent progress to a UI with typed events, SSE or WebSockets, reconnects, approvals, failures, and a reliable terminal state.
Accepting new clients
You run the business.
I handle the software.
I'm Samuel Fajreldines, a senior software engineer. Growing U.S. businesses hire my team to become their software department, not a vendor they rehire every quarter. I set the technical direction, my team builds and ships, and I stay accountable for everything that goes out.
Books
Software engineering with AI agents, from the first contract to production.
A field guide for designing, constraining and verifying AI agents in real software systems, with practical workflows, safety gates and enterprise operations.
Read the bookIn-depth guides, tutorials and real-world engineering write-ups by Samuel Fajreldines on JavaScript & TypeScript, Node.js, Artificial Intelligence, DevOps, Serverless, testing and software architecture.
Learn to stream AI agent progress to a UI with typed events, SSE or WebSockets, reconnects, approvals, failures, and a reliable terminal state.
Find out why CRM and inventory show different numbers, how to trace one order, and when to fix the process, integration, or ownership for a clearer operation.
Test JavaScript retry logic without real delays by checking attempts, backoff, pending Promises, and fake-clock cleanup for deterministic tests in CI.
Learn how to type data added by Express middleware in TypeScript with declaration merging, runtime checks, and route-specific boundaries.
Find out when your small business needs a developer, when a project is enough, and when ongoing software ownership makes sense.