AI-Powered
Task Automation
sir.sh decomposes high-level instructions into executable workflows using AI. Define once, run anywhere. Built on Laravel Zero.
Everything you need to automate
From simple scripts to complex multi-step workflows, sir.sh handles it all with a powerful yet simple interface.
Layered Configuration
Discovers .sir/ directories from cwd to root. Nearest layer takes precedence with global ~/.sir fallback.
Pack System
Install workflow packs from Git repositories with github:owner/repo shorthand. Share automation without Composer.
Workflow Engine
Define workflows in YAML with variables, templating, loops, conditionals. Dry-run support for safe previewing.
Built-in Tasks
Common operations: git clone, file operations, test running, and more out of the box.
Method System
Extensible method definitions from packs. Shell or exec implementations with JSON schema validation.
AI Agent Interface
MCP-style tool surface for AI assistants. Discover and execute workflows safely with full context.
Simple yet powerful
Built on a clean architecture with LayerResolver, Context, and WorkflowRunner working together to execute your workflows.
LayerResolverDiscovers .sir/ directories from cwd to root
ContextTemplate resolution with {{variable}} and functions
WorkflowRunnerSequential step execution with saveAs support
PackManagerInstall and manage packs from Git
$ sir run deploy โก sir.sh v0.9.x ๐ Resolved layers: 1. /project/.sir 2. ~/.sir โถ Running workflow: deploy [1/3] Shell: echo "Building..." โ Done in 0.2s [2/3] Task: git.clone โ Cloned repo in 1.1s [3/3] Task: tests.auto โ 42 tests passed โ Workflow complete in 4.2s
15 Specifications
Built on a foundation of clear specifications. Every feature has a spec, every spec has tests.
Get started with sir.sh
Clone the repo, run your first workflow. It's that simple.