The document discusses how to build APIs to control hardware using Electric Imp agents. It covers:
1) Using HTTP handlers to handle incoming requests and send responses;
2) Parsing request data like the method, path, headers and body;
3) Building APIs to get and set hardware states by sending messages from the agent to the device;
4) Storing current device states in the agent and returning them via API responses.