Skip to main content

Claude Code-style terminal chatbot. File + shell access, web search, URL fetch. Gemini + Groq.

Project description

relay

A Claude Code-style terminal chatbot, powered by Google Gemini, with direct file and shell access.

  ┌─────────────────────────────────────────┐
  │   relay · terminal chat (Gemini)        │
  └─────────────────────────────────────────┘

Install

macOS / Linux (recommended):

brew install casperwhite-commits/tap/cw-relay

Anywhere with Python 3.10+:

pip install cw-relay

Setup

You need a Google Gemini API key — grab a free one at aistudio.google.com.

relay --set-key

(Paste at the hidden prompt — Cmd+V / Ctrl+V works even though nothing visibly happens.)

Or set the GEMINI_API_KEY environment variable, which takes precedence over the stored config.

Use

relay

Type to chat. Relay can read files, search your filesystem, run shell commands, and write files on its own when the conversation calls for it.

Commands

command action
/help show command list
/exit, /quit leave
/clear reset the conversation
/cls clear the screen, keep the conversation
/model <name> switch model (e.g. gemini-2.5-pro)
/system <text> replace the system instruction
/cwd <path> change working directory
/save <path> save the transcript to a file

Tools the assistant uses automatically

list_directory · read_file · glob_files · grep_files · write_file · run_shell · fetch_url · web_search

Safety

Relay gives the model direct shell access on your machine. It will run commands and modify files without asking. Don't point it at machines you don't own, and consider reviewing the conversation as it runs.

License

MIT

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

cw_relay-0.3.5.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

cw_relay-0.3.5-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cw_relay-0.3.5.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for cw_relay-0.3.5.tar.gz
Algorithm Hash digest
SHA256 45f5b5d29d66cd8eab5019675f07f077f40697136dbc9ad88f2754a9ec73b621
MD5 960d826f5f8a839d3788e5cbbda308a0
BLAKE2b-256 aba88ea6caf84d24388ac72e37cfa19b2524874b5a216f1fa941f82fe2f911b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cw_relay-0.3.5-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for cw_relay-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8c916fc5c6c3fccf4ace15ecf0306cd5ee789befd7f72d1a4392ce77f7116e61
MD5 ab5a3643927632e6fe485706df2fc7f1
BLAKE2b-256 a2c1f7b0825f75a946777fe283a6e4df66482fb51f178101b9fbde4fbdc6ab75

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