Cobalt currently has multiple modding APIs using the Lua programming language:

The official API is simpler and relatively limited in its scope, but allows sharing mods on the Steam Workshop.