https://github.com/golergka/clx
Every API as a CLI. Built for AI agents.
https://github.com/golergka/clx
agents api llm mcp openapi rest
Last synced: 5 months ago
JSON representation
Every API as a CLI. Built for AI agents.
- Host: GitHub
- URL: https://github.com/golergka/clx
- Owner: golergka
- License: agpl-3.0
- Created: 2026-01-09T23:39:32.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-10T06:45:58.000Z (6 months ago)
- Last Synced: 2026-01-10T22:09:39.216Z (6 months ago)
- Topics: agents, api, llm, mcp, openapi, rest
- Language: TypeScript
- Homepage:
- Size: 1.48 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# clx
Every API as a CLI. Built for AI agents.
## Quick Start
```bash
npm install -g clx-cli
clx install stripe
stripe auth login
stripe customers list
```
## Why
AI agents already know CLIs. They read `--help`, figure out the flags, and get things done. MCPs add protocol overhead and custom tooling for something curl already solved. clx gives your agent every API as a native command — auth, pagination, and errors handled automatically.
## Usage
```bash
# List Stripe customers
stripe customers list --limit=10
# Create a customer
stripe customers create --email=user@example.com
# Get help at any level
stripe --help
stripe customers --help
stripe customers create --help
# JSON output for piping
stripe customers list | jq '.data[].email'
# Dry-run shows the curl command
stripe customers list --dry-run
```
## APIs
Stripe, GitHub, Petstore (demo).
Missing one? [Open an issue](https://github.com/golergka/clx/issues).
## License
AGPL-3.0