Interface-agnostic context and state-aware agent. Conceived for SiriProxy