How It Works
CORE FEATURES
No Build Step
Publish functions instantly as UTF-8 text and JSON manifests. No Docker builds, no CI wait times, just code to execution.
Capability Security
Strict allowlists for network egress and side effects. The runtime blocks filesystem access and process spawning by default.
Unified Fabric
A single execution engine for HTTP calls, recurring schedules, and Cadence Activities. One pool, multiple triggers.
Immutable Aliasing
Every publish creates an immutable version. Use aliases to promote versions between environments with zero downtime.
Runtime Parity
The CLI uses the exact same cs-js runtime as the server. If it works on your machine, it works in the cluster.
Deep Observability
Automatic persistence of activation records and user logs. Query results and audit trails via the control plane API.
Agent Workflow
# 1. Initialize (creates function.js + manifest.json)
$ cs fn init reconcile --runtime cs-js
# 2. Test locally (runs in the local sandbox)
$ cs fn test reconcile --event ./event.json
# 3. Upload code as a Draft (This sends function.js to cloud)
$ cs fn draft upload reconcile --path .
> Draft created: drf_01J2...
# 4. Publish immutable version from Draft
$ cs fn publish reconcile --draft drf_01J2... --memory-mb 128
# 5. Point 'prod' alias to version 42
$ cs fn alias set reconcile prod --version 42
✔ Success. Function promoted to production._
Benchmark & Density
sous balances aggressive isolation with low-overhead execution. Designed to run thousands of short-lived functions with predictable latency.
Cold Start vs Complexity
RUNTIMEsous (cs-js) maintains sub-50ms cold starts by avoiding heavy container overhead, using lightweight process isolation.
Memory Footprint per Function
DENSITYTechnical FAQ
What is the "No Build Step" promise?
How does capability-based security work?
capabilities (e.g., network egress to a specific domain) in its manifest. By default, the sandbox blocks all filesystem access, process spawning, and private network ranges.
Why use codeQ as a buffer?
How does sous latency compare to AWS Lambda?
Is there parity between local and remote environments?
cs CLI uses the exact same cs-js runtime semantics and host APIs as the server. This "Runtime Parity" ensures that if a function passes locally via cs fn test, it will behave identically in the cluster.