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

Demo

Interactive chat

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

demo

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

Optional:

  1. Cloudflare account (for cloud storage)

Setup Instructions:

  1. uv

  2. OpenRouter API key

  3. Cloudflare setup (optional)

    • Create a Cloudflare account if you don't have one
    • Set up KV namespace and R2 bucket
    • Check docs/CLOUDFLARE_STORAGE.md for detailed instructions

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
  • daemon Manage the MCP daemon:
    • start Start the MCP daemon
    • stop Stop the MCP daemon
    • status Check daemon status
    • log View daemon logs
    • restart Restart the daemon
  • prompt Manage prompt configurations:
    • add Add a new prompt configuration
    • list List all configured prompts
    • delete Delete a prompt 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.12.tar.gz (55.5 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.12-py3-none-any.whl (79.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: y_cli-0.3.12.tar.gz
  • Upload date:
  • Size: 55.5 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.12.tar.gz
Algorithm Hash digest
SHA256 9005ae6609c1fd383ecfd342e23f63c70930de8d07b0ccce2082c81ff869efde
MD5 373a3f2695941b64266e06126f24729f
BLAKE2b-256 76efd4d0a96f804fd7f58f115876bd6c6ca4777ffd73a09e2e9e6fd0c69573fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: y_cli-0.3.12-py3-none-any.whl
  • Upload date:
  • Size: 79.7 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f2aaa934550b590c90d3a5e5c74e9eba9e072afe643b2abfdc70b0966957223b
MD5 6bfd4488ddc6dd46c2fc5a79332f2af4
BLAKE2b-256 15106110d234af168c7846d9692d31c4e49c200016ccc1e888d244665a6aae86

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