đ„AWS AgentCore Agentic Slack Bot - Full Architecture and Codeđ„
aka, go deploy this awesome thing please, it rules
This blog series focuses on presenting complex DevOps projects as simple and approachable via plain language and lots of pictures. You can do it!
These articles are supported by readers, please consider subscribing to support me writing more of these articles <3 :)
Hey all!
Itâs been a while! Iâve been busy migrating Vera, my agentic AI helper, over to AWS AgentCore. AgentCore has a few very cool features that made it attractive for migration, including:
Longer running jobs: Can run for 8 hours! Much longer than Lambdaâs 15 minute hard limit
Avoiding cold starts: Lambda starts from scratch each time (with some exceptions for warm more expert-tier stuff), so having the bot ready to go is helpful
Iâve been building AI bots for enterprise use for a while now, and if youâve been following along, youâve seen the evolution. We started with a genAI Slack bot (https://www.letsdodevops.com/p/solving-aws-bedrocks-enterprise-logging) that could answer questions using RAG and knowledge bases. Then we leveled it up to an agentic Slack bot (https://www.letsdodevops.com/p/building-agentic-slack-bot) that could actually do things - query GitHub, check PagerDuty, search Jira.
Hereâs the thing: that Lambda-based agentic bot? It works great. Seriously. Lambda with the Strands SDK running Claude can handle complex multi-tool workflows without breaking a sweat. If youâre building an agentic bot today and Lambda fits your needs, go for it.
But.
Lambda has a hard 15-minute timeout. For most agentic workflows, thatâs plenty. But what happens when someone asks your bot to analyze a quarterâs worth of incidents, cross-reference them with deployment logs, and generate a report? Or when the agent needs to iterate through dozens of GitHub repos looking for a specific pattern? Those workflows can push past 15 minutes, and when Lambda hits that wall, it hits it hard.
Beyond the timeout, I kept hearing about AWS Bedrock AgentCore and its growing feature set. Memory that persists across conversations? A managed MCP gateway for tool access? Multi-agent orchestration? These arenât things you canât build on Lambda, but theyâre things AgentCore gives you out of the box.
So I decided to migrate. Not because Lambda failed me, but because AgentCore offered a different model - one where my bot isnât a function that spins up and dies, but an application that stays warm, maintains state, and processes requests like a real service.
This is the first article in a series documenting that migration. Weâll cover:
This article: What AgentCore is and why the âliving applicationâ model matters
MCP Gateway - one gateway to rule all your tools
AgentCore Memory - teaching your bot to remember
Guardrails and Knowledge Bases - safety and smarts
Deployment, operations, and lessons learned
Letâs do it.
If you want to skip all this architecture and just see the code, itâs all published here under an MIT license:




