• Pricing
  • Book
  • Blog
  • Docs
  • 20.9k
  • Login Sign Up
  • product
    • Cloud
    • Agents
    • Workflows
    • Observability
    • RAG
  • resources
    • All resources
    • Templates
    • Customers
    • Book
    • Mastra 101
    • Blog
    • Research
    • Docs
  • sales
    • Pricing
    • Contact
  • 20.9k
  • Login Sign Up
Daniel Lew

Daniel Lew

Software Engineer

Daniel Lew is a software engineer at Mastra based in Waterloo. A University of Waterloo graduate with a background in psychology, he previously worked at Netlify and Gatsby.

2 blog posts

Posts by Daniel Lew

Building low-latency guardrails to secure your agents

How we built a suite of out-of-the-box input processors and optimized them from 5000ms to under 500ms per request.

Jul 30, 2025Daniel Lew

Reducing tool calling error rates from 15% to 3% for OpenAI, Anthropic, and Google Gemini models

We recently built a tool compatibility layer that reduced tool calling error rates from 15% to 3% for 12 OpenAI, Anthropic, and Google Gemini models, across a set of 30 property types and constraints.

May 29, 2025Daniel Lew
Mastra Logo

    Products

  • Cloud
  • Agents
  • Workflows
  • Observability

    Developers

  • Docs
  • Templates
  • Principles of Building AI Agents
  • Patterns for Building AI Agents
  • llms.txt
  • Mastra Cloud Status
  • Research
  • MCP Registry Registry

    Company

  • About
  • Careers
  • Pricing
  • Contact Us
  • Newsletter
  • Security
  • GitHub
  • Discord
  • X
  • YouTube

    Legal

  • Privacy Policy