Command-line real-time conversation app
Project description
y-cli 🚀
A tiny command-line interface chat application that brings AI conversations to your terminal.
✨ Features
- 📝 All chat data stored in single JSONL files for easy access and sync
- 💬 Interactive chat interface
- 🤖 Support for multiple bot configurations (any base_url/api_key/model combination). Supported api format type:
- 🤔 Support for reasoning model
- Deepseek-r1 reasoning_content output print
- OpenAI o3-mini reasoning_effort configuration
- 🔗 MCP (Model Context Protocol) client support with multiple server configurations
Demo
Interactive chat
Multiple bot configurations
➜ ~ y-cli bot list
Name API Key API Type Base URL Model Print Speed Description OpenRouter Config MCP Servers Reasoning Effort
----------- ----------- ---------- ----------------------------------- ----------------------------------- ------------- ------------- ------------------- ------------- ------------------
default sk-or-v1... N/A https://gateway.ai.cloudflare.co... google/gemini-2.0-flash-001 200 N/A Yes No N/A
claude sk-or-v1... N/A https://gateway.ai.cloudflare.co... anthropic/claude-3.7-sonnet:beta 60 N/A Yes todo N/A
o3-mini sk-or-v1... N/A https://gateway.ai.cloudflare.co... openai/o3-mini 60 N/A Yes No low
ds-chat sk-or-v1... N/A https://gateway.ai.cloudflare.co... deepseek/deepseek-chat 100 N/A Yes No N/A
ds-r1 sk-or-v1... N/A https://gateway.ai.cloudflare.co... deepseek/deepseek-r1 100 N/A Yes tavily N/A
groq-r1-70b sk-or-v1... N/A https://gateway.ai.cloudflare.co... deepseek/deepseek-r1-distill-lla... 1000 N/A Yes No N/A
dify-bot app-2drF... dify https://api.dify.ai/v1 60 N/A No No N/A
Reasoning model & MCP client
Multiple MCP servers
➜ ~ y-cli mcp list
Name Command Arguments Environment
------ --------- --------------------------------------- ---------------------------------------
todo uvx mcp-todo
tavily npx -y tavily-mcp TAVILY_API_KEY=tvly-api-key...
pplx node /Users/mac/src/researcher-mcp/build/... PERPLEXITY_API_KEY=pplx-api-key...
⚡ Quick Start
Prerequisites
Required:
- uv
- OpenRouter API key
Setup Instructions:
-
uv
- Follow the official installation guide
- uv will automatically manage Python installation
-
OpenRouter API key
- Visit OpenRouter Settings
- Create a new API key
- Save it for the initialization step
Run without Installation
uvx y-cli
Install with uv tool
uv tool install y-cli
Initialize
y-cli init
Start Chat
y-cli chat
🛠️ Usage
y-cli [OPTIONS] COMMAND [ARGS]...
Commands
chatStart a new chat conversation or continue an existing onelistList chat conversations with optional filteringshareShare a chat conversation by generating a shareable linkbotManage bot configurations:addAdd a new bot configurationlistList all configured botsdeleteDelete a bot configuration
mcpManage MCP server configurations:addAdd a new MCP server configurationlistList all configured MCP serversdeleteDelete an MCP server configuration
Options
--helpShow help message and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
y_cli-0.3.10.tar.gz
(36.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
y_cli-0.3.10-py3-none-any.whl
(50.8 kB
view details)
File details
Details for the file y_cli-0.3.10.tar.gz.
File metadata
- Download URL: y_cli-0.3.10.tar.gz
- Upload date:
- Size: 36.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
680d3e5fc0f5e60a032c7813b919fba876d3d6f1349e16db18c6037bf14b8730
|
|
| MD5 |
ae34a89d355afe83e04ee7a4230294d7
|
|
| BLAKE2b-256 |
f4242210849f108319b2ffd21f5e8649650e70786804217a609b08a494c607dc
|
File details
Details for the file y_cli-0.3.10-py3-none-any.whl.
File metadata
- Download URL: y_cli-0.3.10-py3-none-any.whl
- Upload date:
- Size: 50.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bac6b1c7d555c752735df8455f771d41c84a7429b087d48c3ae3a556f0145ced
|
|
| MD5 |
faff1d58ce4f2813334dbe8d4417210b
|
|
| BLAKE2b-256 |
ddf1de7c410c7d9077578e240e3a0c96e59956a0b8bfc5f9ad10912d4a452005
|