zing-ai
v0.0.2
Published
A terminal-based AI chat agent.
Maintainers
Readme
zing (zing-ai)
A terminal-based AI chat agent powered by Ink + React, supporting OpenAI, Anthropic, and Google models.
Install
- With npm:
npm i -g zing-ai - With pnpm:
pnpm add -g zing-ai - With yarn:
yarn global add zing-ai
Usage
- Launch:
zing - With initial prompt:
zing --prompt "Hello" - Choose model:
zing --model claude-3-5-sonnet
Short flags:
-p, --promptInitial prompt-m, --modelModel id
Config
Set API keys in a local env file. The CLI auto-loads .env.local from the current working directory.
OPENAI_API_KEY=...ANTHROPIC_API_KEY=...GOOGLE_GENERATIVE_AI_API_KEY=...
Tip: Set DEBUG=* to enable verbose logs.
Requirements
- Node.js >= 20
- macOS clipboard image paste is supported; other OSes skip image paste gracefully.
Development
- Build:
pnpm -C packages/cli build - Dev (watch):
pnpm -C packages/cli dev - Format check + type check:
pnpm -C packages/cli test
The publish bundle contains only the compiled dist/ output.
