All commands executed by the infrastructure have to respect a format to be recognized as a valid command.

All commands have to be sent to the standard output stream and have to begin with a command token: TECHIO>

Commands respects the GNU long option syntax (arguments name prefixed with double hyphen --).


TECHIO> message --channel "out" hello world!

All other values sent to the standard output and standard error stream are interpreted as message command.

Available commands

  • annotate: Annotate the client code editor with margin marker and an associated message.
  • message: Prints a STRING message to a channel.
  • open: Opens an HTTP communication with the runner through a client
  • redirect-streams: Redirects the standard streams (output stream and error stream) to a OUT_CHANNEL.
  • success: Defines the success/fail status of a run.
  • terminal: Opens a terminal to interact with the runner.

Create your playground on
This playground was created on, our hands-on, knowledge-sharing platform for developers.
Go to
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
Online Participants