Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lionai-cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
🦁 Lion
AI coding agent for the terminal. Like Claude Code, but for DeepSeek, Gemini, or any OpenAI-compatible LLM.
Install & Run
npm i -g lionai-cli
lionFirst launch asks for provider and API key. That's it.
Features
- Streaming — responses appear token by token
- Tool-use — reads/writes files, runs commands, searches code
- Sessions — stored in SQLite (
~/.lion/lion.db) - Token tracking — per-request and per-session usage
- Debug mode —
/debugshows exactly what goes to the cloud and back - Zero config — first run wizard handles everything
Commands
| Command | Description |
|---|---|
/debug |
Toggle full request/response transparency |
/sessions |
List saved sessions |
/usage |
Token usage stats |
/new |
Start new session |
/clear |
Clear context |
/config |
Change provider/key |
/help |
Show all commands |
/exit |
Quit |
Providers
Works with any OpenAI-compatible API:
- DeepSeek
- Gemini
- OpenAI
- Custom endpoint (local LLMs via Ollama, LM Studio, etc.)
License
MIT