xLink is a system for managing context information and marshalling service queries and data flow. The repeated re-invention of context management systems remains a perennial phenomenon in context aware and ubiquitous computing. Often, these systems are integrated into applications to accommodate the low level requirements of the underlying devices. We hope to address this issue by providing a framework that allows a clean, API-based separation of device, context, and service management functionalities without curtailing the capabilities of any segment. xLink is designed to allow commodity ubiquitous computing devices, particularly devices with highly constrained computational capabilities, to interface directly at a low level to the context management framework, while still providing a clean and versatile service Application Programming Interface (API) that allows applications maximum expressive freedom. .