Synsema docsENES

CLI

One static binary. The core commands:

synsema run program.syn        # execute (exits when the program finishes)
synsema test program.syn       # run `test` blocks (a file or a directory)
synsema check program.syn      # parse only — no execution (fast)
synsema serve program.syn      # stay alive for HTTP / crons / agents
synsema repl                   # interactive REPL
synsema conform --swarm app.syn  # post-run state dump (blackboard + agents) as JSON
synsema daemon start app.syn   # background daemon (see Deploy)

Useful flags

FlagCommandEffect
--flatrunparse a .fsyn (flat document) file
--explainrunrich error report on stderr (source context, call stack, suggestions)
--format jsonrun --explainstructured diagnostics for tools/agents
--provider <name>runforce the LLM provider (anthropic/openai/minimax/deepseek)
--sandboxrun / testhost ceiling stdout,time — run untrusted code (see Capabilities)
--cap-set "<list>"run / testtailored host ceiling (name or name=scope); mutually exclusive with --sandbox
--env-file <path> / --no-env-filealloverride / disable .env loading
--port / --domain / --tls-auto / --bind / --secureservedeployment knobs (see Deploy)

Exit codes

0 on success; 1 on a parse error, a runtime error, or if any spawned agent ended in ERROR. Plain run prints the stable one-liner Runtime error: file:line:col: msg; add --explain for the rich report. (For measuring exit codes in a shell, don't pipe before echo $? — redirect instead.)