hn.today

Show HN: Aclif – Agent CLI framework: one grammar, canonical names across SaaS

aclif.ai25 points16 comments
Screenshot of Show HN: Aclif – Agent CLI framework: one grammar, canonical names across SaaS

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.

Read on aclif.ai16 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Bend

Bend

Bend is a high-speed programming language that emphasizes correctness through proofs and laws, ensuring AI-generated code is error-free. It compiles to native code, runs parallel across multiple cores or GPUs, and verifies AI adherence to rules with rapid type checking and proof systems. (bend-lang.com)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.