Skip to main content

PoYo CLI

Run the CLI without a global installation:
The examples below use the shorter poyo command. Install it globally first, or replace poyo with npx -y @poyoapi/cli:

Authentication

Credential priority is:
  1. --api-key
  2. POYO_API_KEY
  3. System keyring
  4. Local config fallback
Prefer the environment or keyring so the key does not enter shell history.

Discover models

Chat

Stream chat tokens:
Supported protocol values are openai-chat, openai-responses, anthropic, and gemini. Text is printed incrementally by default; use --format jsonl to preserve raw SSE event JSON.

Generation

run submits and waits. submit returns immediately unless --wait is provided.

stdio MCP

See Choose MCP tools before exposing category or model-specific tools.

Output

Use --format table|json|jsonl|csv and optionally --output FILE.