Currently, you can send outputs and metrics in Python and Shell scripts e.g. Kestra.outputs({'status': response.status_code, 'text': response.text}). It's worth adding equivalent libraries for other script plugins, too.
Additionally, for each language we'll need to guarantee that all logs emitted by that task are captured with the same log level in kestra — this may require similar work to kestra-io/libs#6