Skip to content
maf-cachebench: Benchmark of Microsoft Agent Framework compaction strategies' prompt-cache costs

maf-cachebench: Benchmark of Microsoft Agent Framework compaction strategies' prompt-cache costs

First seen 29 Nov 2026, 18:51 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 29, 2026 at 18:52 UTC
  • •maf-cachebench 0.9.2 is an experimental, independent PyPI benchmark for Microsoft Agent Framework compaction strategies.
  • •It measures prompt-cache hit costs and information loss across twenty compaction strategies on the same conversation.
  • •The package is not affiliated with or endorsed by Microsoft.
  • •No security vulnerability, exploitation, or threat actor is reported in either source.
  • •Releases before 1.0 may change or remove APIs, and importing the package emits an experimental warning.

An independent Python package named maf-cachebench, version 0.9.2, was published to PyPI on 2026-11-29. It benchmarks twenty compaction strategies for the Microsoft Agent Framework, measuring each strategy's cost in provider prompt-cache hits and the facts it loses while compacting conversation history.

The package states it is experimental, that APIs may change before 1.0, and that it is not affiliated with or endorsed by Microsoft.

Its approach plants facts in tool results, runs a conversation under each strategy, then asks for those facts back from the compacted context. Strategies are ranked on cost behind an accuracy bar.

Two harnesses are provided: cachebench replays scripted transcripts for cross-provider comparison, and cachebench_live drives a real agent with live replies and tool calls for within-model comparison.

A companion GitHub documentation page describes installation, provider selection, command-line options and reading results, and states that the advisor, recall and summary commands accept a restricted subset of strategies. This cluster concerns AI agent tooling performance and cost, not a security vulnerability or attack.

No CVEs, indicators of compromise, or exploitation are reported.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-29
maf-cachebench 0.9.2 published to PyPI
The package was listed on PyPI as an experimental benchmark for Microsoft Agent Framework compaction strategies.
Pypi

More articles in this cluster (4)

Following this threat?

Track Microsoft in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Is this package a security threat to my systems?
Neither source reports a vulnerability, malware, or attack; the package is a benchmarking tool for agent framework compaction costs.
Is this package affiliated with Microsoft?
No. The PyPI listing states it is independent and not affiliated with or endorsed by Microsoft.
Is it safe to use in production?
The package describes itself as experimental, with APIs that may change or be removed before version 1.0.