getAIState() retrieves current AI state in RSC; accepts optional key parameter for object property access.