saflib-workflows is two things:
- An npm package for doing routine coding work with LLMs reliably.
- An experiment in automating routine work with LLMs generally.
This library came about while exploring using LLMs in web development. It is a simple, portable way to get coding agents to follow a plan reliably with automated supervision. It uses developer-provided code templates, prompts, and validation checks to guide and contain the agent. These workflows are specific and tailored to your project, preferences, and stack.
The library provides:
- A way to define routine software development tasks in TypeScript.
- Tools to test and run these workflows, including a CLI and functions.
- Dedicated integrations with headless CLI agents (as of writing, only Cursor CLI).
This library is written in conjunction with my web framework, which has many workflow examples.
See the dedicated docs for more information.
Quick links: