# Filter by agent
results = m.search("config", filters={"agent_id": "support-bot"})
# Filter by app
results = m.search("preferences", filters={"app_id": "prod"})
# Multiple filters (AND logic)
results = m.search("issues", filters={
"agent_id": "support-bot",
"app_id": "production",
})
# Also works with shorthand parameters
results = m.search("config", agent_id="support-bot", app_id="prod")
# Filter by provenance source
results = m.search("meeting notes", filters={"source": "slack"})
# Filter by custom metadata
results = m.search("bugs", filters={"source": "discord", "channel": "#engineering"})