01Boot

Al Beltran

Software engineer

albeltran.comsys / init
  • Core
  • UI
  • Projects
  • Experience

Skip to content

Libraries

Open-source libraries

Open-source libraries written and maintained by Al Beltran. Each entry has a canonical page on this site and a public GitHub repository.

Questions

What open-source libraries has Al Beltran published?
Al Beltran maintains @altbeltran/safe-action, a TypeScript library for reliable actions used by people and AI agents. The canonical page is https://albeltran.com/libraries/safe-action/ and the source is https://github.com/altbeltran/safe-action (v0.1.0, MIT). It is not on the npm registry yet.
What does @altbeltran/safe-action do?
It runs a TypeScript action and returns a discriminated result: success with data, or a plain error with a stable code. Validation uses Standard Schema, so Zod is optional. It includes retries, per-attempt timeouts, cancellation, process-local idempotency, and toAITool() so the same action can be offered to an AI agent. There are no runtime dependencies.