aclif is a command-line framework that gives AI agents a single, consistent toolset across many SaaS platforms: one grammar, one JSON envelope, and one error vocabulary. It lazy-loads command definitions on demand so an agent can reach the full API surface of every provider without inflating the model context or consuming tokens continuously. Commands expose introspection (discover, learn, schema, examples, dry-run) that return before execution and require no credentials or API quota, and every command carries declared safety metadata (mutability, blast radius, reversibility, idempotency), dry-run and confirm modes, and audit hooks. Alias sets and tenant catalogs map provider-specific object and field names to canonical names so the same record is addressable across Salesforce, ServiceNow, DocuSign and others; error classifiers can name failures and supply corrected inputs ready to resend.
The runtime is embeddable and runs the same command classes in three modes: spawned by an agent (local credentials), executed by a host application at design time (model never holds credentials), or served by a long-lived gateway that resolves vault-backed credentials, enforces policy, attributes every call to a user, and centralizes audit and canonical naming. The CLI ships as a Node 22+ binary, is extensible via provider translations and JSON manifests, supports building custom vendor CLIs, and is MIT licensed.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.