Directory Compare FCRS-1.0 About /llms.txt

Serverless Devs

$ s Foundation High Risk
Serverless Devs · Cloud & Infra · Apache-2.0 · macos / linux / windows · Reviewed:

Serverless Devs (s) is an Apache-2.0 multi-cloud serverless developer CLI (1.8k+ stars) supporting Alibaba Cloud Function Compute, AWS Lambda, Tencent Cloud SCF, and Huawei Cloud FunctionGraph. Driven by s.yaml templates, it supports s info, s deploy -y, and multi-account credential aliases via s config.

FCRS-1.0 Score
77 /100
Good
Medium Confidence
Zero-Friction Install
npm install -g @serverless-devs/s
CLI vs MCP Decision CLI Preferred vs MCP

s packages code, resolves s.yaml component plugins, and deploys serverless stacks directly—tasks poorly suited for stateless MCP calls.

At a Glance

Command
$ s
FCRS-1.0 Score
77/100 (Good)
Evidence Tier
Medium Confidence
CLI vs MCP
CLI Preferred vs MCP
Reviewed Date

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Supports -y (--assume-yes), -t template selection, and -a access alias flags for CI/agent automation, though output is mostly YAML/human console formatting.

  • Non-interactive flags -y, -t, and -a across lifecycle commands
  • Output is primarily human-formatted logs and YAML rather than strict --json
Trust & Safety 18 / 25

Separates provider keys via -a <alias> and supports read-only s info, though it lacks a universal --dry-run plan command.

  • Explicit -a <alias> credential isolation in ~/.s/access.yaml
Setup & Portability 13 / 15

Cross-platform TypeScript CLI installable cleanly via npm install -g @serverless-devs/s or npx @serverless-devs/s.

  • Distributed on npm (@serverless-devs/s) and GitHub releases
Utility & Efficiency 12 / 15

Unifies multi-cloud FaaS build, local invoke, info inspection, and deploy across Alibaba Cloud FC, AWS, and Tencent SCF.

  • Component ecosystem covering major APAC and global FaaS providers
Maintenance & Lineage 8 / 10

CNCF-aligned / foundation-hosted Serverless-Devs/Serverless-Devs repository (1.8k+ stars, Apache-2.0).

  • Serverless-Devs/Serverless-Devs under Apache-2.0 (1.8k+ stars)
Docs & Verifiability 8 / 10

Well-documented s.yaml specification and component registry docs at serverless-devs.com.

  • Comprehensive s.yaml spec and CLI docs at docs.serverless-devs.com

Security, Auth & Guardrails

Auth Modes
Config File Env API Key
Credential Storage

Stores provider access keys by alias in ~/.s/access.yaml, managed with s config add -a <alias> and s config get.

Side Effects
Read-Only Local Write Remote Write Destructive Billing Impact
Cost & Quotas

CLI is free (Apache-2.0); deployed FaaS functions and gateways incur cloud vendor billing.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Serverless Devs (s) Agent Rules
- Always pass `-t <template.yaml>` and `-a <access-alias>` explicitly so deployments never hit the wrong account.
- Run `s info` before `s deploy -y` to verify existing cloud state.
- Require user approval before running `s remove` or deploying production templates.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect deployed serverless resource info
s info -t s.yaml

Queries live cloud endpoints and configuration state for the current s.yaml without mutating resources.

List configured provider credential aliases
s config get

Displays configured multi-cloud credential aliases stored in ~/.s/access.yaml.

Controlled Writes & Previews

Deploy a staging serverless template non-interactively
s deploy -t s-staging.yaml -a staging -y

Deploys the s-staging.yaml template using the staging credential alias and -y auto-confirm.

Strengths for Agents

  • + Clean multi-cloud s.yaml workflow with -a <alias> and -t <template> environment separation.
  • + Supports non-interactive -y execution for CI and agent deployments.
  • + Easy installation via npm install -g @serverless-devs/s.

Caveats & Pitfalls

  • ! Single-letter binary s can collide with short shell aliases on some developer machines.
  • ! Lacks a universal --dry-run diff command or consistent --json output across third-party components.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI

Related CLIs in Cloud & Infra

View category hub →
$ telepresence

Connect workstations to Kubernetes service networks and intercept traffic with `--format json`.

$ akamai

Modular Akamai CLI for Edge DNS, Property Manager, EdgeWorkers, and cache purging via `akamai install`.

$ railway

Rust-built Railway PaaS CLI with `--json` status/variables output and `RAILWAY_TOKEN` CI auth.

$ container

Apple Silicon CLI running Linux OCI containers inside per-container lightweight macOS VMs.

$ opa

CNCF policy engine CLI for evaluating, testing, and formatting Rego policies as JSON.

cfn-lint 94/100
$ cfn-lint

Official AWS CloudFormation linter with deterministic `-f json` and SARIF validation.