AI Cloud Architect

Adaptive agentic intelligence framework using Strands Agents

AWSHow-to by Nitin Eusebius and Mani KhanujaAWS Artificial Intelligence Blog

The Adaptive Agentic Intelligence Framework (AAIF), built with Strands Agents, handles routine tasks locally with small language models and routes complex requests to cloud models through Amazon Bedrock. This post walks through building AAIF with local SLMs through Ollama and Amazon Bedrock, using an Internet of Things monitoring scenario.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

A walkthrough builds an agent with Strands Agents that sends routine requests to local small models via Ollama and complex ones to Amazon Bedrock models.

Who it is for

Architects and developers building agents on AWS who want to cut API costs and run some tasks offline or at the edge.

Key points

  • Example uses llama3.2:1b as the local orchestrator and llama3.2-vision for camera analysis.
  • The Bedrock model ID is left as a placeholder in the code samples.
  • The post says about 80 percent of traffic may stay local; this is an estimate, not a measured result.
  • Amazon Bedrock Guardrails can be attached to the cloud path; the same policies can be applied to the local tier via the ApplyGuardrail API.