product updateAmazon Web Services

AWS adds metadata filtering to AgentCore Memory, improving agent retrieval accuracy from 40% to 64%

TL;DR

Amazon has added metadata filtering to its AgentCore Memory service for AI agents. In AWS evaluations across 151 questions, the feature improved overall question-answering accuracy from 40% to 64%, with context-dependent questions jumping from 16% to 69% accuracy. The update allows agents to filter memory retrieval by attributes like priority, department, or time range before semantic search runs.

2 min read
0

AWS adds metadata filtering to AgentCore Memory, improving agent retrieval accuracy from 40% to 64%

Amazon has added metadata filtering to its AgentCore Memory service, addressing a core problem in long-running AI agent deployments: semantic search returns contextually irrelevant results when agents accumulate weeks of interaction history.

Performance gains

According to AWS, internal evaluations across a 151-question test set based on long-term memory benchmarks showed overall question-answering accuracy improved from 40% to 64% with metadata filtering enabled. For questions requiring contextual boundaries—time-bounded lookups, priority-based filtering, or department-scoped searches—accuracy jumped from 16% to 69%.

How it works

AgentCore Memory organizes agent memory into namespaces that isolate data by entity (e.g., clients/client-123). The new metadata filtering layer adds attribute-based filters on top of namespace isolation. Teams can now scope retrieval by business dimensions like priority, status, department, or time range before similarity search executes.

The system operates through a three-phase lifecycle:

Configuration phase: Teams declare which metadata keys to index when creating a memory resource. Indexed keys include type (STRING, NUMBER, STRINGLIST), extraction instructions, and optional validation rules like allowed values or min-max ranges.

Ingestion phase: During conversations, string-based key-value pairs attach to events. An LLM extracts structured metadata from conversation content based on schema definitions. When multiple events in a session carry the same key, the system merges values using defined resolution behaviors (e.g., LATEST_VALUE for recency-based resolution).

Retrieval phase: Agents filter memory queries using these indexed metadata fields before semantic search runs.

Enterprise use cases

The update targets multi-agent and multi-tenant architectures. In a customer support scenario, an agent can now filter for "billing issues" with status:open and priority:high from the past 30 days, rather than receiving mixed results spanning technical tickets, sales conversations, and resolved disputes.

For financial services, relationship managers can query "portfolio rebalancing discussions" scoped to high-priority conversations from the last week, distinguishing them from routine inquiries three months ago—even though both are semantically similar.

Technical implementation

Metadata operates across both short-term and long-term memory layers. Short-term memory attaches string-based key-value pairs to events. These tags propagate into long-term memory during extraction and consolidation.

The schema supports validation constraints: allowedValues for STRING and STRINGLIST types, maxItems for STRINGLIST, and min-max ranges for NUMBER types. Non-indexed keys store alongside memory records for informational purposes without query optimization.

AWS notes that sentiment analysis can be defined in the schema without indexing, allowing the LLM to derive values from conversation content without making them filterable dimensions.

What this means

This addresses a scaling problem in production agent deployments. As conversation history grows beyond a few weeks, semantic similarity alone produces too many false positives. The 53% improvement in context-dependent question accuracy (16% to 69%) suggests metadata filtering is necessary infrastructure for agents handling multi-month interaction histories. Teams running customer support, IT helpdesk, or financial advisory agents with accumulated history will see immediate gains by layering business-specific filters over namespace isolation.

Related Articles

product update

Anthropic launches self-hosted Claude Managed Agents for customer cloud accounts and on-premises data centers

Anthropic launched self-hosted Claude Managed Agents on November 12, 2026. Customers can run the full service and its sandboxes in their own cloud account or on-premises data center, with agents, sessions and session history stored on that infrastructure.

product update

Sierra releases Poppy 1.0 personal agent protocol with automatic support for every Shopify store

Sierra released Personal Agent Protocol 1.0, known as Poppy, on November 13, 2026. It adds automatic support for every Shopify store and enablement across Meta's Muse agent, and Sierra says its design partners now number more than 100.

product update

OpenAI launches ChatGPT Wallet so its dots agents can check out for limited U.S. Pro users

OpenAI launched ChatGPT Wallet on Friday, letting its agents, called dots, help users decide what to buy and complete the purchase. It is initially limited to some U.S. ChatGPT Pro subscribers aged 18 and up with a U.S.-issued Visa, Mastercard or American Express.

product update

Claude Duet agent, in research preview for US Pro, Max and Ultra users, is useful but jumpy, The Verge finds

Claude Duet, Anthropic's AI agent for professionals and small business owners, is a research preview limited to US Pro, Max and Ultra subscribers, with a waitlist. In The Verge's hands-on, it connected information across email, Slack and Google Docs, but misjudged urgency and timing.

Comments

Loading...