Adaptive agentic intelligence framework using Strands Agents
AWS•How-to••by Nitin Eusebius and Mani Khanuja•AWS 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.
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.
AI:Bedrock adds OpenAI GPT-6 Sol and GPT-6 Luna and Anthropic Claude Opus 5.5; Strands harness releases under Apache 2.0; SageMaker HyperPod Inference Gateway routes LLM traffic on GPU-aware signals.
AI:AgentCore agents can cut per-turn token use by offloading large JSON to S3, paging tool results on demand, and compacting dictionary outputs into descriptors.
AI:AWS recaps October 2026 AI launches: new models on Bedrock, AgentCore gateway model fallback and Step Functions tools, memory pricing changes, and Bedrock cost breakdowns in billing tools.