Interface AgenticScopeAccess
- All Known Subinterfaces:
SupervisorAgent, UntypedAgent
public interface AgenticScopeAccess
Allow to access the
AgenticScope of any agent extending it.-
Method Summary
Modifier and TypeMethodDescriptionbooleanevictAgenticScope(Object memoryId) Evicts theAgenticScopewith the given id.getAgenticScope(Object memoryId) Returns theAgenticScopewith the given id for this AI service or null if such memory doesn't exist.
-
Method Details
-
getAgenticScope
Returns theAgenticScopewith the given id for this AI service or null if such memory doesn't exist.- Parameters:
memoryId- The id of theAgenticScope.- Returns:
- The
AgenticScopewith the given memoryId or null if such memory doesn't exist.
-
evictAgenticScope
Evicts theAgenticScopewith the given id.- Parameters:
memoryId- The id of theAgenticScopeto be evicted.- Returns:
- true if
AgenticScopewith the given id existed, and it was successfully evicted, false otherwise.
-