Skip to content
scottgl edited this page May 5, 2026 · 4 revisions

skelm — TypeScript Framework for Secure, Agentic Workflows

skelm is a TypeScript-first framework for authoring, running, and operating secure, agentic, long-running workflows. Build workflows as typed TypeScript modules with default-deny permissions, multi-backend agents, MCP-native integration, and a self-hosted gateway.


Quick Links

Getting Started

Core Concepts

Security

Backends, Agents, Skills

State & Storage

Observability

Gateway & Operations

Recipes & Patterns

  • Recipes Index — Email triage, ticket-to-PR, coding agent, HTTP enrichment, OTel exporter

API Reference

  • API Reference — Builder functions, control flow builders, types

Project


Installation Quick Start

# Install globally
npm install -g skelm

# Initialize a new project
skelm init my-bot && cd my-bot

# Run your first workflow
skelm run workflows/hello.workflow.ts --input '{"name":"world"}'

Key Features

Feature Description
Default-Deny Security Every agent step declares allowed tools, executables, MCP servers, network egress, and filesystem roots
TypeScript-Native Workflows are real .ts modules — refactor, test, type-check, version like any other code
Multi-Backend Agents Opencode, ACP (Copilot, Claude Code, Gemini), OpenAI, Anthropic, Pi — provider SPI for custom ones
MCP-Native Model Context Protocol servers are first-class registry citizens, lifecycle-managed by the gateway
Long-Running Gateway Hosts workflows over HTTP + SSE, drives the scheduler, owns the trust boundary
Local-First SQLite by default; Postgres + vault drivers for production. No managed cloud, no telemetry

Three Tenets (in priority order)

  1. Security — Default-deny everywhere. A backend that cannot enforce a declared permission fails at step start instead of bypassing it. The gateway is the single trust boundary.
  2. Maintenance — A small core, a narrow public surface, no DSL. Workflows are TypeScript modules.
  3. Robustness — Typed context end-to-end. Explicit error semantics. Deterministic event log. Durable wait/resume. Persistent state and per-agent workspaces.

Next Steps

Clone this wiki locally