Security by Default
Zero access until declared. Every I/O operation requires explicit capability grants
via require — network, filesystem, database, and shell are all opt-in.
Search across syntax, built-ins, examples, and more.
The language built for AI agents
A complete programming language where security, observability, multi-agent coordination, and LLM integration are first-class primitives. Zero dependencies. Python 3.10+.
intent: "Fetch and analyze customer data"
require net("api.example.com")
require db("./store.db")
task analyze(data)
let trends be analyze data for "patterns"
each trend in trends
log "Found: " + trend
give trends
serve on 8080
route "GET /insights"
let data be fetch("https://api.example.com/data")
give analyze(data)
Built-in primitives that eliminate boilerplate and reduce attack surface — from day one.
Zero access until declared. Every I/O operation requires explicit capability grants
via require — network, filesystem, database, and shell are all opt-in.
Spawn agents with isolated capabilities. Share state via blackboard. Coordinate workflows with signals, channels, and structured message passing.
analyze, decide, generate — LLM operations are
native keywords, not library calls. Switch providers without touching your logic.
serve on PORT with routes, auth, rate limiting, SSE streaming,
templates, and content negotiation — no framework configuration required.
approve, confirm, ask, show — built-in
primitives for human oversight of agent actions. Keep humans in control.
trace, log, measure, checkpoint —
every operation is traceable with rich error diagnostics and structured output.
Syntecnia runs on any system with Python 3.10 or later. No virtual environments, no dependency hell — just install and start building.
From a two-line hello world to a full agent pipeline.
The simplest Syntecnia program. No imports, no boilerplate — just a log
statement and you're running.
log is a built-in, no import needed+syntecnia run hello.syn# The simplest Syntecnia program
log "Hello, world!"
# Variables and expressions
let name be "Syntecnia"
let version be 1
log "Running " + name + " v" + version
An agent that reads a file, uses an LLM to analyze it, and asks for human approval before taking action — all in ~15 lines.
require grants capabilities explicitlyanalyze is a native LLM keywordapprove pauses for human confirmationwhen / otherwise for branchingintent: "Review and act on report data"
require file("./reports/")
require llm("gpt-4o")
let report be read("./reports/latest.txt")
let summary be analyze report for "key risks"
show summary
let ok be approve "Proceed with mitigation plan?"
when ok
log "Executing mitigation steps..."
# ... further actions
otherwise
log "Action cancelled by operator."
Spin up a full HTTP server with typed routes and JSON responses.
No framework, no middleware config — serve on PORT handles it.
serve on PORT starts the HTTP serverroute defines method + path handlersfetch makes HTTP requests nativelygiveintent: "Serve an AI-powered insights API"
require net("api.openai.com")
require net("api.example.com")
task get_insights(query)
let raw be fetch("https://api.example.com/data?q=" + query)
let result be analyze raw for "trends and anomalies"
give result
serve on 8080
route "GET /insights"
give get_insights("default")
route "GET /insights/:q"
give get_insights(params.q)