feat: Phase 18 - Agent Tagging Infrastructure #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Implements Phase 18 of v2.1 Multi-Agent Ecosystem milestone, adding multi-agent support to agent-memory:
Changes
Proto Schema (
proto/memory.proto)optional string agent = 8to Event messageagent_filterto TeleportSearchRequest, VectorTeleportRequest, HybridSearchRequest, RouteQueryRequestagentto RetrievalResultNew Crate:
memory-adaptersAgentAdaptertrait withagent_id(),display_name(),normalize(),load_config()RawEventstruct for raw event data before normalizationAdapterConfigfor adapter-specific settingsAdapterErrorfor error handlingmemory-types
Event.agent: Option<String>with#[serde(default)]TocNode.contributing_agents: Vec<String>with_agent(),with_contributing_agent()memory-daemon CLI
--agent/-afilter onteleport search,teleport vector-search,teleport hybrid-search--agent/-afilter onretrieval routememory-retrieval
StopConditions.agent_filterfor query filteringmemory-service
Test plan
cargo test -p memory-types— 61 tests passcargo test -p memory-adapters— 19 tests passcargo test -p memory-retrieval— 53 tests passcargo clippy— No warningsRequirements Coverage
🤖 Generated with Claude Code