Skip to main content

A terminal agent for terminal users.

Project description

Terminal-Agent-X

EN / 中文

Install

pip install terminal-agent-x

Config

You need to add the environment variable OpenAI_KEY to the path.

# On Linux
vim ~/.bashrc
# add this line to the end of the file
export OpenAI_KEY=sk-xxx
# save and execute
source ~/.bashrc

# For Windows, you can google how to set environment variables on Windows.

Use python -c "import os;print(os.environ.get('OpenAI_KEY'))" for testing.

You can get your OpenAI_KEY from OpenAI.

Get Started

You can use the tax <prompt> to interact with the model, like this:

tax write a python code for fibonacci

Use tax -h to get more information.

Support

I have tested on Windows 10/11(cmd) and Ubuntu 22.04, it should work on other platforms.

Current version does not support Windows Powershell, or run on Windows systems early than Windows 10. For these users, you can install curl on Windows to use this tool.

Attention

You can see a directive after the generated command that says

Do you want to execute the command? (y/n)

Please execute it or not at your own discretion. I am not responsible for the consequences of generated commands.

License

GNU General Public License v3.0

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-agent-x-0.1.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

terminal_agent_x-0.1.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file terminal-agent-x-0.1.0.tar.gz.

File metadata

  • Download URL: terminal-agent-x-0.1.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for terminal-agent-x-0.1.0.tar.gz
Algorithm Hash digest
SHA256 43236056cbd95795683d24ce64f26645468a979fa7c751998fa201a441cc3b5f
MD5 59a9368c0fc2a88db0d97908109402ef
BLAKE2b-256 842e387135dfe8dfefc4ad972f3fa4ec38e942feafba4315cf898daf033468af

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for terminal_agent_x-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 779976ace98d608b5ba86170885b0c93f93548e22dcc130886d326523b3f09c1
MD5 eb0d60c50ba6543874df9f7a10caf6cc
BLAKE2b-256 99a88af1236f55057ef85e8e3c23eb7b2f6eb51c0bb953d1f38c85dea222b42a

See more details on using hashes here.

Provenance

Supported by

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