Skip to main content

A minimalist CLI tool to connect to OpenRouter and chat with free AI models directly from your terminal.

Project description

Terminal Pilot

A minimalist, interactive CLI tool to connect to OpenRouter and chat with free AI models directly from your terminal.

Installation

You can install Terminal Pilot globally directly from PyPI:

pip install Terminal-Pilot

Configuration

Zero configuration required!

Just run tp start. If you don't have an OpenRouter API key set up, the CLI will interactively ask you for it and securely save it for future sessions.

Usage

Start the interactive assistant from anywhere in your terminal:

tp start

Inside the interactive chat, you can instantly load files into the AI's memory by using the /read command:

? You: /read requirements.md
✓ Loaded requirements.md into memory!
? You: Give me a summary of this project.

Changing Models Mid-Chat

If a model hits a rate limit or you want to switch to a different one, you don't need to exit. Just type /model to hot-swap:

? You: /model
✓ Switched model to: google/gemma-3

Pipe Support (stdin)

You can pipe data directly into the AI to analyze logs, code, or command outputs instantly without opening an interactive chat:

cat error.log | tp ask "Why is this crashing?"
git diff | tp ask "Write a commit message for these changes"
tp ask "What is the command to undo a git commit?"

Optional: Custom Rules

You can inject custom system prompts (personas) by feeding it a text or markdown file:

tp start --rule rules.md

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

terminal_pilot-0.1.4.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

terminal_pilot-0.1.4-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file terminal_pilot-0.1.4.tar.gz.

File metadata

  • Download URL: terminal_pilot-0.1.4.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for terminal_pilot-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e7c8ef9a0fea2830a91d35a434df3de0c79d1fd86fd29c349601fa85d4df65ca
MD5 aafa51e9f4437ceeba98e36cf9e1e95d
BLAKE2b-256 fb5d05a09312560ea8cc7f50d4dd4234afa8473ac16fc081a8deb5edda657f89

See more details on using hashes here.

File details

Details for the file terminal_pilot-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: terminal_pilot-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for terminal_pilot-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 adc5d53c71e39d73007372466395511a1cd6f426ac995e09cbf570657a73be24
MD5 4a72d1592237c72dceb9883d1f41806f
BLAKE2b-256 f69b4cbd6dc7332167bf6a07028c0d2524cca7a0150724ccbafcb44fb33aaacb

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