Breadboard has APIs for two environments: one for the player's view (the browser) and the other for the scripting engine.
Breadboard has a few optional modules that add additional functionality.