LLM operations
The LLM is the reasoning engine, swappable like a database driver.
let analysis be analyze sales_data for "trends"
let action be decide between ["refund", "replace"] given complaint
let email be generate "email" given ticket with tone = "empathetic"
Providers
synsema run program.syn --provider anthropic
synsema run program.syn --provider openai
synsema run program.syn --provider ollama
Responses are validated automatically: a decide must be one of the given options, with retries and feedback.