CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
CMSDK summary

The CMSDK core library is a general-purpose, cross-platform C++ base library. It contains much of the low-level functionality required by Psyclone, and it is equally at home as a standalone toolkit for building distributed client/server applications that never load Psyclone at all. It is released under a BSD open source licence and is free for anyone to use for any purpose, except for those limited by the CADIA clause. For more information about licensing and the CADIA Clause please visit: https://cmlabs.com/licensing. For more about the Psyclone platform please visit: https://cmlabs.com/psyclone

Two ways to use CMSDK

CMSDK serves two audiences, and the guide is split into two tracks accordingly:

  • Using CMSDK in Psyclone — for developers writing components for the Psyclone platform: modules, cranks, PsySpecs, whiteboards and catalogs.
  • Using CMSDK standalone — for developers using CMSDK as a standalone, general-purpose C++ library: building client/server/gateway applications directly on its messaging, networking and request-fabric primitives, with no Psyclone involved.

Both tracks share the same library, and the same building and linking instructions:

Note
Teaching an LLM about CMSDK? See the single-file CMSDK LLM Reference Guide — a dense, code-verified Markdown reference covering both tracks, every subsystem, gotchas and a quick-reference appendix.

Reference highlights

The most-used classes are cmlabs::PsyAPI and cmlabs::PsySpace (Track 1) and cmlabs::DataMessage (both tracks). Beyond those:

For an updated version of this documentation and more information please visit: https://cmsdk.cmlabs.com/

To download the latest version of the CMSDK library please visit: https://cmlabs.com/download