Testing AI agents: mock the model or use the real API?
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.
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.
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.
Learn when AI agents need durable execution, checkpoints, queues, or workflows to resume safely after failures and retries in production with clear trade-offs.
Compare Graphiti, vector RAG, and PostgreSQL for AI agent memory. Separate truth, retrieval, history, and verification before production decisions at scale.