- y-cli 🚀
Content
y-cli 🚀
A tiny command-line interface chat application that brings AI conversations to your terminal.
Check out y-gui for a web-based version of y-cli.
✨ Features
- 📝 Flexible storage options:
- Local JSONL files for easy access and sync
- Cloudflare KV and R2 for cloud storage and backup
- 💬 Interactive chat interface with tool execution visualization
- 🤖 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) integration:
- Client support with multiple server configurations (stdio/SSE)
- Persistent daemon
- Custom prompt configurations
- 🧐 Simple "Deep Research" mode by prompt configuration
Demo


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 None N/A Yes No N/A
claude sk-or-v1... N/A https://gateway.ai.cloudflare.co... anthropic/claude-3.7-sonnet:beta None N/A Yes todo N/A
o3-mini sk-or-v1... N/A https://gateway.ai.cloudflare.co... openai/o3-mini None N/A Yes No low
ds-chat sk-or-v1... N/A https://gateway.ai.cloudflare.co... deepseek/deepseek-chat-v3-0324:free None N/A Yes tavily N/A
dify-bot app-2drF... dify https://api.dify.ai/v1 None N/A No No N/A
Multiple MCP servers
➜ ~ y-cli mcp list
Name Type Command/URL Arguments/Token Environment Auto-Confirm
-------------- ------ ------------------- ----------------- -------------- --------------
brave-search sse https://router.m... brave_web_s...
todo stdio uvx mcp-todo
exa-mcp-server stdio npx exa-mcp-server EXA_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
daemonManage the MCP daemon:startStart the MCP daemonstopStop the MCP daemonstatusCheck daemon statuslogView daemon logsrestartRestart the daemon
promptManage prompt configurations:addAdd a new prompt configurationlistList all configured promptsdeleteDelete a prompt configuration
Options
--helpShow help message and exit
📚 Documentation
Visit the deepwiki page for comprehensive project documentation and guides.
Recommend Clients
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
HyperChatHyperChat is a Chat client that strives for openness, utilizing APIs from various LLMs to achieve the best Chat experience, as well as implementing productivity tools through the MCP protocol.
CursorThe AI Code Editor
chatmcpChatMCP is an AI chat client implementing the Model Context Protocol (MCP).
ChatWiseThe second fastest AI chatbot™
A Sleek AI Assistant & MCP Client5ire is a cross-platform desktop AI assistant, MCP client. It compatible with major service providers, supports local knowledge base and tools via model context protocol servers .
Cherry Studio🍒 Cherry Studio is a desktop client that supports for multiple LLM providers.
Cline – #1 on OpenRouterAutonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
Roo Code (prev. Roo Cline)Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor.
MCP PlaygroundCall MCP Server Tools Online
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Continue⏩ Create, share, and use custom AI code assistants with our open-source IDE extensions and hub of models, rules, prompts, docs, and other building blocks
MCP ConnectEnables cloud-based AI services to access local Stdio based MCP servers via HTTP requests
BACHAI-TWITTER-API45Twitter的一些api mcp
ZedCode at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Refact.aiOpen-source AI Agent for VS Code and JetBrains that autonomously solves coding tasks end-to-end.
y-cli 🚀A Tiny Terminal Chat App for AI Models with MCP Client Support
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
LutraLutra is the first MCP compatible client built for everyone