  To cater for the diverse experiment requirements at the High Energy Photon
Source (HEPS) with often limited human resources, Bluesky is chosen as the
basis for our software framework, Mamba. In our attempt to address Bluesky's
lack of integrated GUIs, command injection with feedback is chosen as the main
way for the GUIs to cooperate with the CLI; a RPC service is provided, which
also covers functionalities unsuitable for command injection, as well as
pushing of status updates. In order to fully support high-frequency
applications like fly scans, Bluesky's support for asynchronous control is
being improved; to support high-throughput experiments, Mamba Data Worker (MDW)
is being developed to cover the complexity in asynchronous online data
processing for these experiments. To systematically simplify the specification
of metadata, scan parameters and data-processing graphs for each type of
experiments, an experiment parameter generator (EPG) will be developed;
experiment-specific modules to automate preparation steps will also be made.
The integration of off-the-shelf code in Mamba for domain-specific needs is
under investigation, and Mamba GUI Studio (MGS) is being developed to simplify
the implementation and integration of GUIs.
