Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 1.18 KB

File metadata and controls

65 lines (48 loc) · 1.18 KB

obby-cli

Talk to OpenAI GPT-5 from your terminal via Vercel AI Gateway.

Install

npm i -g obby-cli

Usage

obby "hey, what's up"
obby hello
echo "explain this code" | obby
obby -m openai/gpt-oss-120b "who is rauchg"

If AI_GATEWAY_API_KEY is not set, obby will open the Vercel dashboard and you should create one.

Environment variables:

  • AI_GATEWAY_API_KEY (required)
  • AI_GATEWAY_MODEL (optional, default: openai/gpt-5)

Options:

  • -m, --model — Specify AI model (default: openai/gpt-5)
  • -h, --help — Show help message

Get an API Key: AI Gateway

Configure API key

  • macOS/Linux (zsh):
    echo 'export AI_GATEWAY_API_KEY="YOUR_KEY"' >> ~/.zshrc
    source ~/.zshrc
  • macOS/Linux (bash):
    echo 'export AI_GATEWAY_API_KEY="YOUR_KEY"' >> ~/.bashrc
    source ~/.bashrc
  • fish:
    set -Ux AI_GATEWAY_API_KEY YOUR_KEY
  • Windows (PowerShell):
    setx AI_GATEWAY_API_KEY "YOUR_KEY"
    # open a new terminal for it to take effect

Verify:

obby "cowsay what"

Author

eersnington Obby