Skip to main content

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

Project description

relay

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

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

Install

pip install relay-cli

Python 3.10+ on macOS, Linux, or Windows.

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

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.1.0.tar.gz (7.0 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.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cw_relay-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f2c297628ca3e4b7567c76213cbd840cb5a8279082851dd8fa9db83ee7f5b922
MD5 4626227d7927c03f56e21bd8273bb04d
BLAKE2b-256 2d34dc9296b40ca4c8aa071c2072a1117deabf6f535ec3ffc36f1ffbd1de85c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cw_relay-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5aa84f377c3d236d31a12f4a584bfe7b9bd0c9d677931ccddb41dcbcecde5d7
MD5 8f36fb9aeb94d1753cf924cb83a175de
BLAKE2b-256 bf5929115b314ec652364ede29d67779fd47082c128eb97124c700bdc3359657

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