Jaiph is an open-source composable scripting language and runtime for defining and orchestrating AI agent workflows. Version 0.7.0 is the latest stable release, with ongoing development and breaking changes expected. Jaiph allows users to write `.jh` files that combine prompts, rules, scripts, and workflows into executable pipelines. The CLI parses source into an AST, validates references at compile time, and the Node workflow runtime interprets the AST directly. Key differentiators include a dedicated language for AI workflows, built-in test runner, sandboxing, and reporting capabilities. Jaiph is designed to be installed via npm or a curl script, and includes a CLI for running, testing, formatting, and reporting on workflows.
npm install jaiphNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Define a workflow with a script, rule, and prompt in Jaiph language.
Pin exact version in package.json and check changelog before upgrades.
Use 'jaiph/parser', 'jaiph/runtime', etc. instead of 'jaiph'.
Always provide a workflow file or task argument.
Add '#!/usr/bin/env jaiph' as the first line of .jh files.
Use ES module imports (import) or async import() dynamic imports.
Use correct import path: import { parse } from 'jaiph/parser';Run 'jaiph run workflow.jh' in the terminal, not via API.
Ensure .jh file starts with '#!/usr/bin/env jaiph' and install jaiph globally.
Check that the imported file exists and the path is correct relative to the source file.