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 compatible with OpenAI chat completion streaming format)
- 🤔 Deepseek-r1 reasoning content support for enhanced AI responses
- 🔗 MCP (Model Context Protocol) client support with multiple server configurations
Demo
Interactive chat
Multiple bot configurations
➜ ~ y-cli bot list
Name API Key Base URL Model Print Speed Description OpenRouter Config MCP Servers
------- ----------- ------------------- ------------------- ------------- ------------- ------------------- -------------
default sk-or-v1... https://gateway.... anthropic/claude... 60 N/A Yes todo, tavily
gemini sk-or-v1... https://gateway.... google/gemini-2.... 60 N/A Yes No
ds-chat sk-or-v1... https://gateway.... deepseek/deepsee... 60 N/A Yes No
ds-r1 sk-or-v1... https://gateway.... deepseek/deepsee... 60 N/A Yes No
qc-r1 QC-3cce2... https://maas.qc-... DeepSeek-R1 60 N/A No No
Reasoning content
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.9.tar.gz
(35.2 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.9-py3-none-any.whl
(48.0 kB
view details)
File details
Details for the file y_cli-0.3.9.tar.gz.
File metadata
- Download URL: y_cli-0.3.9.tar.gz
- Upload date:
- Size: 35.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03543416af129e61e68e876ea4f3520cd93e23160706152259028eb8cb6bd9c5
|
|
| MD5 |
1bd1a5c0bedd0993c7ec77d00fe134c0
|
|
| BLAKE2b-256 |
73647af6cd27c067ba23fb7eecddee83bd3542fef6e445d7a1a2e5954d8b1832
|
File details
Details for the file y_cli-0.3.9-py3-none-any.whl.
File metadata
- Download URL: y_cli-0.3.9-py3-none-any.whl
- Upload date:
- Size: 48.0 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 |
60e693c76e21b8c6b7b178aa618ddc3cc09a59ad06eb85c4317ff3bc3ed4532e
|
|
| MD5 |
9a1e7c7efe8218b3db3a436570e7b6c2
|
|
| BLAKE2b-256 |
62d3a1671ff85e7b7e5ffefa14e6c99c7255d1df2ffa3ecceb27047dee2119bd
|