Skip to main content

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

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

r1

asciicast

MCP client

mcp

asciicast

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:

  1. uv
  2. OpenRouter API key

Setup Instructions:

  1. uv

  2. OpenRouter API key

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

  • chat Start a new chat conversation or continue an existing one
  • list List chat conversations with optional filtering
  • share Share a chat conversation by generating a shareable link
  • bot Manage bot configurations:
    • add Add a new bot configuration
    • list List all configured bots
    • delete Delete a bot configuration
  • mcp Manage MCP server configurations:
    • add Add a new MCP server configuration
    • list List all configured MCP servers
    • delete Delete an MCP server configuration

Options

  • --help Show help message and exit

Project details


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.5.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

y_cli-0.3.5-py3-none-any.whl (43.6 kB view details)

Uploaded Python 3

File details

Details for the file y_cli-0.3.5.tar.gz.

File metadata

  • Download URL: y_cli-0.3.5.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for y_cli-0.3.5.tar.gz
Algorithm Hash digest
SHA256 13e348718905f012566fcc8567492cbc1b118e5d4a1808262ff7f18402f4b149
MD5 48d3fcf7518761d979e6e3cae569d523
BLAKE2b-256 878715bef878bd2896415b6513027f2165c2f4a40554fc9710f73ba77edd5f2a

See more details on using hashes here.

File details

Details for the file y_cli-0.3.5-py3-none-any.whl.

File metadata

  • Download URL: y_cli-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 43.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for y_cli-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 22a7c711158e4809a18b66088c6bbe0db452a09461367b8f999116c28c250e0e
MD5 19c76e504bcb5727d1b0674d6565399a
BLAKE2b-256 1d6c6a1eb7d94723a7f014904b9f358273f0e6f09c5276999554b94290fc0bfa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page