Design Principles for Scalable Agents

Building Scalable Agentic Systems

Korey Stegared-Pace

Senior AI Cloud Advocate, Microsoft

Scalable or not scalable?

scalability1.jpg

Building Scalable Agentic Systems

Scalable or not scalable?

scalability2.jpg

Building Scalable Agentic Systems

Scalable or not scalable?

scalability3.jpg

Building Scalable Agentic Systems

Scalable or not scalable?

scalability4.jpg

Building Scalable Agentic Systems

The pillars of scalable agentic systems

scalable_pillars.jpg

Building Scalable Agentic Systems

Robust infrastructure and tooling

  • Compute: Resources for running code

 

compute.png

  • Storage: Storing states, logs, and history

storage.png

Building Scalable Agentic Systems

Robust infrastructure and tooling

Reliable Deployment Pipelines

deploy_pipeline.png

Established Agent Tooling

agent_tooling.png

Building Scalable Agentic Systems

Modularity

Designing systems as separate independent components to create a larger whole

  • Enables independent design, development, and maintenance

lego1.gif

Building Scalable Agentic Systems

Modularity

Designing systems as separate independent components to create a larger whole

  • Enables independent design, development, and maintenance

lego1.jpg

Building Scalable Agentic Systems

Modularity

Designing systems as separate independent components to create a larger whole

  • Enables independent design, development, and maintenance

lego2.jpg

Building Scalable Agentic Systems

Modularity in agents: Software modularity

software_modularity.jpg

Building Scalable Agentic Systems

Modularity in agents: Multi-agents

single_agent2.jpg

Building Scalable Agentic Systems

Modularity in agents: Multi-agents

multi_agent1.jpg

Building Scalable Agentic Systems

Example: Customer support multi-agent

customer_multi_agent.jpg

Building Scalable Agentic Systems

Sneak peak at Chapter 2

1 https://langchain-ai.github.io/langgraph/concepts/multi_agent/#multi-agent-architectures
Building Scalable Agentic Systems

Continuous evaluation and feedback loops

 

  • Comprehensive monitoring

 

observability.png

Building Scalable Agentic Systems

Continuous evaluation and feedback loops

 

  • Comprehensive monitoring
  • Common metrics:
    • Success rate
    • Latency
    • Errors

 

tracking.png

Building Scalable Agentic Systems

Continuous evaluation and feedback loops

 

  • Comprehensive monitoring
  • Common metrics:
    • Success rate
    • Latency
    • Errors
  • Collect user feedback

 

ratings.png

Building Scalable Agentic Systems

Let's practice!

Building Scalable Agentic Systems

Preparing Video For Download...