Package: terminal-agent-x
Terminal-Agent-XEN/中文Features👻 Easy installation and usage with a single command.🎈 Small size, no additional dependencies required.🐼 Supports English and Chinese on Windows CMD, Powershell, Linux shell, etc.🤖 Compatible with GPT-3.5/4, DALL·E, Claude and Gemini APIs or the third parties.Installpipinstallterminal-agent-xConfigYou need to add the following environment variable:exporttax_key=sk-xxxexporttax_base_url=YOUR_BASE_URL# optional, default: https://api.openai.comGet your key fromOpenAIor Claude API key fromAnthropicand set it astax_key.Get StartedYou can use thetax <prompt>to interact with the model, like:$taxwriteapythoncodeforfibonacciUsageModelCommandDescriptionChatGPTtax <prompt>Usegpt-3.5-turboto generate content.ChatGPTtax <prompt> --codeUsegpt-3.5-turboto generate code. If only one line is generated, it will be executed automatically with your permission.GPT-4tax <prompt> -m gpt-4Use GPT-4 to generate content.GPT-4 (Vision)tax -i image_path -m gpt-4-vision-preview <prompt>Upload an image and use GPT-4 Vision Preview to chat.DALL·E 3tax <prompt> -m dalleUse DALL·E 3 to generate image. Currently, only one1024x1024image can be generated at a time.Claudetax <prompt> -m claudeUse Claude to generate content. Use-k your_claude_keyif you have set key in the environment variable. Only support single chat now.Gemini Protax <prompt> -m gemini-proUse Gemini to generate content. Also support-k google_api_key. Only support single chat now.Gemini Pro (Vision)tax -i image_path -m gemini-pro-vision <prompt>Upload an image and use Gemini Vision to chat. Also support-k google_api_key.ModeCommandDescriptionChat withgpt-3.5-turbotax -m gpt-3.5-turbo -cChat withgpt-3.5-turbo.Use a third-party base url and keytax <prompt> -u <base_url> -k <key>The url and key will be use before the environment variable.Save result to filetax <prompt> -o <output_file>Save response to a file.Read prompts from filetax --prompt_file <prompt_file>Read prompt from file, one prompt per line. Please ensure tht you have enough quota.Parallel processingtax -p --prompt_file input.txt -o output.txt --option max_workers=3 --option chat_mode=openaiSet more options for parallel processing. For example,--option max_workers=3means that you can run 3 processes at the same time.Attention!You can see a directive after the generated command that saysDo 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.LicenseGNU General Public License v3.0Development Logs0.1.x0.1.0Implement basic functionsSupport for Windows cmd and Linux shellAdd--fileoption for saving the response to a file0.1.1Add--show_alloption for showing all contents of the response.Add--urloption for users not under GFW.Add support for Windows Powershell0.1.2Add Anthropic Claude API Support. Thanks tojtsang4/claude-to-chatgpt. (deprecated in 0.1.5)Add Support for Chinese on Linux and Windows. (also add a temporary solution for VSCode Terminal on Windows).Add a timeout function.Fix: C++ code block prefix.0.1.3Fix: code block prefix bug (tax will act maybe a little faster).Modify: simplify the code.Test: test for multi-process. Now you can use tax more efficiently in terminal.0.1.4Feat: Add support for reading prompt from file.Feat: Add support for DALL·E.Fix: Resolve the bug of curl command on Windows platform using IPv6 address to access Claude.0.1.5Fix: Change api to a third-party proxy. Affected by GFW's DNS domain pollution, the original proxy is temporarily unavailable.claude-to-chatgptis unavailable.0.1.6Feat: Add support forChaton Linux. Now you can use tax asChatGPT CLI!Feat: Add support for native Anthropic Claude API on Linux Shell, Windows cmd and Powershell.0.1.7Feat: Add support for parallel processing with mode.0.1.8Feat: Add support forgpt-4-vision-previewmodel on all platforms (Beta feature). For example,$tax-ilogo.jpg-mgpt-4-vision-previewwhatisthis?
Thisappearstobealogooremblemforsomethingcalled"Most Creative Learning."Thedesignfeaturesastylizedtriangularshape,possiblyanopticalillusionknownasaPenrosetriangle,...Refactor: Change the way of URL selection and image input.0.1.9Feat: Update DALL·E todall-e-3model.Refactor: Change the name of environment variable fromopenai_keytotax_key. And some options are also changed. Please check the help message for more details.Fix: Fix the bug of--codeoption when generating code to file.