Interface AgenticScopeAccess

All Known Subinterfaces:
SupervisorAgent, UntypedAgent

public interface AgenticScopeAccess
Allow to access the AgenticScope of any agent extending it.
  • Method Details

    • getAgenticScope

      AgenticScope getAgenticScope(Object memoryId)
      Returns the AgenticScope with the given id for this AI service or null if such memory doesn't exist.
      Parameters:
      memoryId - The id of the AgenticScope.
      Returns:
      The AgenticScope with the given memoryId or null if such memory doesn't exist.
    • evictAgenticScope

      boolean evictAgenticScope(Object memoryId)
      Evicts the AgenticScope with the given id.
      Parameters:
      memoryId - The id of the AgenticScope to be evicted.
      Returns:
      true if AgenticScope with the given id existed, and it was successfully evicted, false otherwise.