Prompt caching for multi-step AI agents with tool calls
Structure tools, system, and history so multi-step agents get cache hits on each tool step. Measure cached tokens, stop prefix invalidation, and cut input cost.
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.
Structure tools, system, and history so multi-step agents get cache hits on each tool step. Measure cached tokens, stop prefix invalidation, and cut input cost.
Cloud Run Jobs can retry each task up to 3 times. Learn to save checkpoints, make output idempotent, and verify reruns before production safely.
Split AI agent tests into 4 layers: pure code, tools, the real model, and review. Use mocks without false confidence, then run a small real-model eval.
Test a TypeScript MCP server with a stdio client, Vitest, and Inspector. Catch broken schemas, missing tools, and errors before CI.
Build an AI software engineer portfolio that shows the problem, architecture, tests, failures, operations, and decisions behind a project.