Home / Companies / Fern / Blog / Post Details
Content Deep Dive

We built a CLI generator for agents and humans

Blog post from Fern

Post Details
Company
Date Published
Author
Alex McKinney
Word Count
988
Company Posts That Month
10
Language
English
Hacker News Points
-
Summary

Fern's CLI generator enables the creation of a fully functional command-line interface (CLI) using the same API specifications as its other SDK generators, supporting OpenAPI and soon GraphQL, AsyncAPI, and gRPC. Designed with Rust for efficiency, it provides a single, statically linked binary that can be installed across platforms such as macOS, Linux, and Windows. This tool is beneficial for both humans and agents, offering features like machine-readable schemas and validation against common agent errors, and it can operate as both a CLI and a server for shell-less clients. The generator simplifies the complex task of building a CLI by automatically syncing with API changes, eliminating the need for manual code generation, and distributing through popular package managers like npm and Homebrew.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
MCP 4 7,098 726 186 +16%