WhoBuilt

Building Applications with AI Agents

Jul 24, 2025· 16 min· 18K views·Watch on YouTube

Speaker

Michael Albada, principal applied scientist at Microsoft, discusses how to build effective AI agent applications at an AI Engineer event.

Balance agency with effectiveness

Albada defines an agent as an entity that can reason, act, communicate, and adapt. He describes agency as a spectrum and says it should serve a useful outcome, not become a goal by itself. Robotic process automation can be effective but brittle, while poorly performing agents risk adding flexibility without delivering value.

Design tools and orchestration carefully

Language models can call exposed functions, receive tool responses, and use them in a repeated loop. Albada advises against registering every API as a separate tool: too many tools can confuse the model, so tools should have clear names, focused scopes, and human-facing actions. He recommends simple chains or branching workflows when they work, while more agentic patterns may help when workflows become difficult to maintain.

Use deterministic rules and deliberate agent teams

For fixed business conditions, Albada recommends keeping state outside the model and enforcing rules through validated tools. Multi-agent systems can also help when a single agent has too many tools: group related tools under separate agents and use a coordinator to route tasks. He says agent-to-agent coordination across teams is promising but still raises technical and security questions.

Build evaluation and observability into development

Albada says teams need rigorous evaluation sets to choose models, tools, memory, and agent counts, and to improve beyond the 70% to 80% accuracy that prototypes can reach. He recommends human review of examples and tools including Intel Agent for synthetic inputs, PyRIT for red-teaming, and Label Studio for evaluation data. In production, tracing and logs, such as those supported by OpenTelemetry, can help reveal failure patterns.

Reduce pitfalls and design for safety

Albada identifies weak evaluation, unclear or overlapping tools, unnecessary complexity, and poor learning loops as common problems. He urges teams to add complexity only when evaluation shows it improves the user experience. Because agents introduce new vulnerabilities, he recommends safety measures at every layer, with detectors and fallback to human review for critical cases.

Takeaways

  • Treat agency as a way to improve task performance, not as a success metric.
  • Expose a small set of clearly named tools with focused scopes.
  • Keep fixed business rules and state outside the model, with validation before actions.
  • Create a human-reviewed evaluation set before tuning models, tools, or workflows.
  • Add tracing, red-team checks, and human fallback paths before deployment.

Mentioned in this talk

Search inside this talk

What was claimed 11

  • previously at
    Principal Applied Scientist, Security Copilot
    “I'm a principal applied scientist at Microsoft.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • previously at
    Michael Albada previously at Uber
    worked on machine learning for four years
    “I spent four years working on machine learning at Uber.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • launched
    Security Copilot agents were recently announced
    “the recently announced Security Copilot agents”
    YouTube
    Unverified1 source· Talk
  • built
    key contributor
    “I've been one of the key contributors to Security Copilot”
    YouTube
    Unverified1 source· Talk
  • metric
    AI agents: Agentic benchmarks have reached scores in the 50s, 60s, and 70s
    “we're getting into the 50s, 60s, and 70s on some of this”
    YouTube
    Unverified1 source· Talk
  • feature
    multi-agent system: Can scale tool use by grouping tools among agents and routing tasks through a coordinator
    “rely on a coordinator to route tasks to the appropriate agent”
    YouTube
    Unverified1 source· Talk
  • feature
    data flywheel: Uses expected inputs and outputs, human review, and evaluation results to guide agent improvements
    “Your agent becomes defined in terms of the inputs and outputs you expect”
    YouTube
    Unverified1 source· Talk
  • launched
    open-source library
    “Microsoft has also open-sourced PyRIT”
    YouTube
    Unverified1 source· Talk
Show all 11 facts

Related talks