cd /news/ai-agents/strands-harness-frontier-performance… · home topics ai-agents article
[ARTICLE · art-136385] src=strandsagents.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Strands harness: frontier performance with 28% lower token cost

Strands harness, a new general-purpose agent harness released under the Apache 2.0 license, costs 28% less than competing harnesses when using the same Claude or GPT models across six benchmarks, according to its developers. With Fable 5, Strands harness cost 77% less than Claude Code while scoring higher on Terminal Bench 2.1, and its default context management truncates tool results over roughly 1500 tokens and triggers compaction when the context window exceeds 85%. The harness runs on Amazon Bedrock, Anthropic, OpenAI, Google, Ollama, and LiteLLM, and can be deployed on providers including Modal, Cloudflare Containers, Azure Container Apps, Google Cloud Run, Amazon ECS, and Amazon Bedrock AgentCore.

by read4 min views1 publishedSep 21, 2026
Strands harness: frontier performance with 28% lower token cost
Image: source

We noticed builders often wished their Claude Code or Codex setup could run in the cloud because locally their agent idea just “worked” with those harnesses.

But the moment you build your own agent, you’re on your own. It’s tricky wiring up the right primitives just well enough to match that “it just worked” feeling.

Today we’re releasing Strands harness: a fully assembled state-of-the-art agent harness you can easily run locally or deploy to your favorite provider. It’s built to be a general-purpose agent rather than a coding agent. All you need is one line of Python or TypeScript to get it working with your choice of model. Strands harness beats other agent harnesses on cost efficiency while maintaining equal or better accuracy. It’s available under an Apache 2.0 license.

Strands harness costs 28% less when using the same Claude or GPT models across six benchmarks. We found Strands harness showed better token-efficiency and nearly equal benchmark scores compared to Claude Code, Codex, and other popular harnesses. That’s important because we never want to sacrifice accuracy for lower cost. Deepseek Harness proved to be the most token-efficient overall, however, it typically reported the lowest accuracy scores. Our testing setup was distributed benchmarking on EC2 with Harbor.

With Fable 5, Strands harness cost 77% less than Claude Code and scored higher on Terminal Bench 2.1. We’re also pleased to see two other open source harnesses perform similarly well on cost/accuracy against Claude Code.

Strands harness, built on the Strands Harness SDK, contains defaults for prompt caching and context management. Our default context management largely drove the token-efficiency and accuracy: tool results over ~1500 tokens get truncated, summarization (compaction) triggers when the context window hits above 85%, and context recovery runs within the loop if there’s an overflow.

Keep an eye out for a follow-up paper from our researchers regarding these benchmarks. In the meantime, we’re excited everyone gets to use these defaults in Strands harness.

Easy to get started #

Strands harness runs on the latest models across Amazon Bedrock, Anthropic, OpenAI, and Google. Pick one by name, or point it at a local Ollama model:

Out of the box, create_harness() returns an agent that:

  • Runs on a current reasoning model across Amazon Bedrock, Anthropic, OpenAI, Google, Ollama, or LiteLLM.
  • Ships with shell, file (read /write /edit ), and web tools: the primitives a model already knows how to use, rather than a bespoke tool per task.
  • Manages its own context window. It offloads bulky tool results to files and caches the reused parts of each request to save time and cost.
  • Keeps long-term memory across runs, and resumes an earlier conversation when you give it a session ID.
  • Delegates open-ended subtasks to a built-in helper agent, and tracks multi-step work with a checklist.
  • Loads skills if they exist.

Strands harness can be deployed on any provider with a linux container, such as Modal, Cloudflare Containers, Azure Container Apps, Google Cloud Run, Amazon ECS, and Amazon Bedrock AgentCore.

We also have the Strands CLI that allows you to prototype your agent in plain English. Wire up your model provider of choice, then add prompts and tools to watch your agent come to life. Afterwards, you can run /export in the Strands CLI to get a copy of the code in either TypeScript or Python, a very convenient way to keep iterating on Strands harness with your preferred coding agent.

Here we ask the Strands harness agent to “add the Playwright MCP” and then measure latency when a video on a blog post. After seeing the MCP tools accurately work, we simply run /export to get the Strands harness code. You can see the Playwright MCP got added to the boilerplate, making it easy to iterate with a coding agent or adding config to deploy.

What you can build from Strands harness #

The Strands CLI is actually built on top of Strands harness. We unlocked a bunch of ambitious ideas because of how easy it is to prototype any agent. Recently our engineer, Gautam Sirdeshmukh, inspired by agent platforms like Grokbot and Muse, built a desktop app that kicks off Strands harness remotely.

When you’re ready to go deeper, Strands harness is fully customizable. You can easily override any default, swap models, add tools, or gradually replace components all the way down to the Strands Harness SDK. The code is yours.

We’re excited for all kinds of agents that’ll come to life with Strands harness.

Try it out today #

You can easily install Strands harness with pip install strands-harness for Python or npm install @strands-agents/harness for TypeScript.

We believe quickly prototyping with a batteries included harness will create more useful agents. Our team is also in Discord, so come say hi or ask us any question about agents!

── more in #ai-agents 4 stories · sorted by recency
── more on @strands harness 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/strands-harness-fron…] indexed:0 read:4min 2026-09-21 ·