Building AI agents for business support using Amazon Bedrock AgentCore
Summary
AWS Generative AI Innovation Center (GenAIIC) collaborated with Works Human Intelligence (WHI) to develop two AI agents for business support using Amazon Bedrock AgentCore, achieving up to a 97% cost reduction and improved operational efficiency. The Commuting Allowance Agent, which automates application approvals, migrated from a monolithic LangGraph/Amazon ECS setup to AgentCore Runtime, enabling individual sub-agent launches and multi-tenancy with Amazon DynamoDB and Amazon Cognito. The Browser Operation Agent, designed to interact with WHI's "COMPANY" HR system, was built using Strands Agents. This agent initially achieved an 88% token reduction through prompt caching and optimized conversation history. Further cost optimization for the Browser Operation Agent involved using Amazon Bedrock's prompt caching, refining sub-agent prompts, and switching from Claude Sonnet 4.5 to Haiku 4.5, reducing cost per process from \$14.5 to \$0.4. This collaboration streamlined development and enabled WHI to focus on business logic.
Key takeaway
For AI Engineers or MLOps Engineers building or optimizing AI agents for business process automation, you should consider Amazon Bedrock AgentCore and Strands Agents. Migrating to this managed service can significantly reduce operational costs by up to 97% and streamline development efforts. Leverage features like prompt caching and evaluate cost-effective models such as Haiku to optimize your agent's behavior and resource consumption. This approach allows you to focus on core business logic rather than infrastructure management.
Key insights
Amazon Bedrock AgentCore and Strands Agents enable significant cost reduction and operational efficiency for AI agent development in business support.
Principles
- Modularize agents for scalability.
- Optimize prompts and models for cost.
- Use managed services for observability.
Method
The Browser Operation Agent workflow involves searching for optimal operation templates, creating a manual, operating the browser to check information, proposing changes, and executing them upon user approval.
In practice
- Migrate monolithic agents to AgentCore Runtime.
- Implement prompt caching for LLM calls.
- Evaluate models like Haiku for cost savings.
Topics
- Amazon Bedrock AgentCore
- AI Agents
- Strands Agents
- Cost Optimization
- Prompt Caching
- HR Automation
- Large Language Models
Code references
Best for: AI Engineer, MLOps Engineer, AI Architect
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.