This project is a tool (soon) and an application to control a NXT Brick from Lego, over Bluetooth (and eventually USB, but it's not supported yet). This is only for Mac OS X.
LegOSX-Direct allows to control a LegoNXT robot through direct commands using the native USB and Bluetooth libraries of Mac OSX. It has a minimal GUI to illustrate interaction.