Wave

Backend for the Wave agent. The API is described in docs/api.md.