TalksAWS re:Invent 2025 - Build an Agent Factory: An Agent that can Create any Agent On-Demand (SMB309)

AWS re:Invent 2025 - Build an Agent Factory: An Agent that can Create any Agent On-Demand (SMB309)

Building an Agent Factory: Creating Agents On-Demand

Key Concepts

  • AI Agents: Agents that run a loop with a model and tools to take actions and achieve goals.
  • Strands SDK: An open-source framework used to easily create agents with just a few lines of code.
  • Model Context Protocol (MCP): Provides a common language for agents, tools, and data sources to communicate.
  • Agent-to-Agent (A2A) Communication: Allows agents to discover, understand capabilities, and communicate with each other.
  • Agent Core: A purpose-built service for running agent systems at scale securely and efficiently.

Agent Factory Architecture

  • Builder Agent: The core of the agent factory, responsible for taking user requests and creating single agents or multi-agent systems on-demand.
  • Agent Core Integration: The agent factory leverages Agent Core to provide a secure, scalable, and operationally efficient runtime for the agents it creates.
    • Identity: Ensures only authorized users and agents can access the system.
    • Memory: Provides short-term and long-term memory for agents.
    • Code Interpreter: Allows agents to write and execute their own code.
    • Browser Tool: Provides a secure environment for agents to browse the internet and interact with web forms.
    • Gateway: Exposes existing Lambda functions and APIs as MCP tools for agents to use.
    • Observability: Provides visibility into agent actions and behavior for troubleshooting and analysis.

Demonstration

  1. Simple Chatbot: Showed how easy it is to create agents using the Strands SDK, with the ability to switch between different language models.
  2. Web Scraping and Reporting Agent: Demonstrated an agent that can browse the internet, find the latest AWS news, and generate a report to upload to an S3 bucket.
  3. Meta-Tooling Agent: Illustrated an agent that can dynamically create new tools (Python functions) and make them available to other agents.
  4. MCP-Enabled Agent: Showcased an agent that can interact with MCP servers to access documentation and calculate the total cost of ownership for hosting a static website on AWS.
  5. Multi-Agent System: Presented a system with an HR agent, an employee agent, and an MCP server, working together to find employees with the right skills for a machine learning project.
  6. Agent Factory in Action: Demonstrated the builder agent creating and deploying agents on-demand, including a risk analysis agent and an expense reporting agent, all without writing extensive code.

Key Takeaways

  • The agent factory provides a streamlined way to create and deploy agents on-demand, without the need for extensive coding and configuration.
  • Strands SDK, MCP, and A2A protocols enable the creation of powerful, flexible, and collaborative agent systems.
  • Agent Core offers a secure, scalable, and operationally efficient runtime for running agent-based applications in production.
  • The agent factory can dynamically create and deploy agents with custom tools and business logic, tailored to specific user requirements.
  • Multi-agent systems can be easily constructed, where agents with different capabilities can work together to achieve complex goals.

Business Impact

  • The agent factory allows organizations to quickly build and deploy agents to automate a wide range of business tasks, from risk analysis to expense reporting.
  • By abstracting away the complexity of agent creation and deployment, the agent factory empowers business users to request and utilize custom agents without the need for extensive technical expertise.
  • The ability to create multi-agent systems enables the development of more sophisticated and collaborative solutions, addressing complex business challenges.
  • The secure and scalable nature of Agent Core ensures that agent-based applications can be reliably deployed and operated in production environments.

Real-World Applications

  • Financial Services: Agents for risk analysis, portfolio optimization, and regulatory compliance.
  • Human Resources: Agents for employee onboarding, leave management, and talent acquisition.
  • Sales and Marketing: Agents for lead generation, customer engagement, and campaign optimization.
  • IT Operations: Agents for infrastructure monitoring, incident response, and automated remediation.
  • Supply Chain Management: Agents for inventory optimization, logistics planning, and supplier management.

Your Digital Journey deserves a great story.

Build one with us.

Cookies Icon

These cookies are used to collect information about how you interact with this website and allow us to remember you. We use this information to improve and customize your browsing experience, as well as for analytics.

If you decline, your information won’t be tracked when you visit this website. A single cookie will be used in your browser to remember your preference.