{"id":35212304,"url":"https://github.com/leosolar8/aix","last_synced_at":"2026-04-29T19:02:10.356Z","repository":{"id":269158729,"uuid":"731313199","full_name":"LEOSOLAR8/aix","owner":"LEOSOLAR8","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-27T16:08:16.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-07T04:15:12.106Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LEOSOLAR8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-13T19:57:10.000Z","updated_at":"2025-11-27T16:08:21.000Z","dependencies_parsed_at":"2024-12-21T13:15:16.297Z","dependency_job_id":null,"html_url":"https://github.com/LEOSOLAR8/aix","commit_stats":null,"previous_names":["lssandes/aix","leosolar8/aix"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/LEOSOLAR8/aix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LEOSOLAR8%2Faix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LEOSOLAR8%2Faix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LEOSOLAR8%2Faix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LEOSOLAR8%2Faix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LEOSOLAR8","download_url":"https://codeload.github.com/LEOSOLAR8/aix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LEOSOLAR8%2Faix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32439301,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-29T19:35:17.369Z","updated_at":"2026-04-29T19:02:10.350Z","avatar_url":"https://github.com/LEOSOLAR8.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n AIx\n\u003cbr\u003e\n\u003c/h1\u003e\n\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-_red.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://goreportcard.com/badge/github.com/projectdiscovery/aix\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/projectdiscovery/aix\"\u003e\u003c/a\u003e\n\u003ca href=\"https://pkg.go.dev/github.com/projectdiscovery/aix/pkg/aix\"\u003e\u003cimg src=\"https://img.shields.io/badge/go-reference-blue\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/projectdiscovery/aix/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/release/projectdiscovery/aix\"\u003e\u003c/a\u003e\n\u003ca href=\"https://twitter.com/pdiscoveryio\"\u003e\u003cimg src=\"https://img.shields.io/twitter/follow/pdiscoveryio.svg?logo=twitter\"\u003e\u003c/a\u003e\n\u003ca href=\"https://discord.gg/projectdiscovery\"\u003e\u003cimg src=\"https://img.shields.io/discord/695645237418131507.svg?logo=discord\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n  \u003ca href=\"#help-menu\"\u003eUsage\u003c/a\u003e •\n  \u003ca href=\"#examples\"\u003eRunning AIx\u003c/a\u003e •\n  \u003ca href=\"https://discord.gg/projectdiscovery\"\u003eJoin Discord\u003c/a\u003e\n\n\u003c/p\u003e\n\n\u003cpre align=\"center\"\u003e\n\u003cb\u003e\n\tAIx is a cli tool to interact with Large Language Models (LLM) APIs.\n\u003c/b\u003e\n\u003c/pre\u003e\n\n![image](https://user-images.githubusercontent.com/8293321/227775051-440d4ed5-f30e-4ec5-bf1d-10310840ab54.png)\n\n## Features\n- **AMA with AI** over **CLI**\n- **Query LLM APIs** (OpenAI)\n- Supports **GPT-3.5 and GPT-4.0** models\n- Configurable with OpenAI API key\n- Flexible output options\n\n## Installation\nTo install aix, you need to have Golang 1.19 installed on your system. You can download Golang from [here](https://go.dev/doc/install). After installing Golang, you can use the following command to install aix:\n\n\n```bash\ngo install github.com/projectdiscovery/aix/cmd/aix@latest\n```\n\n## Prerequisite\n\n\u003e **Note**: Before using aix, make sure to set your [OpenAI API key](https://platform.openai.com/account/api-keys) as an environment variable `OPENAI_API_KEY`.\n\n```bash\nexport OPENAI_API_KEY=******\n````\n\n## Help Menu\nYou can use the following command to see the available flags and options:\n\n```console\nAIx is a cli tool to interact with Large Language Model (LLM) APIs.\n\nUsage:\n  ./aix [flags]\n\nFlags:\nINPUT:\n   -p, -prompt string[]  prompt to query (input: stdin,string,file)\n\nMODEL:\n   -g3, -gpt3  use GPT-3.5 model (default true)\n   -g4, -gpt4  use GPT-4.0 model\n\nCONFIG:\n   -ak, -openai-api-key string    openai api key token (input: string,file,env)\n   -t, -temperature string        openai model temperature\n   -tp, -topp string              openai model top-p\n   -sc, -system-context string[]  system message to send to the model (optional) (string,file)\n   -s, -stream                    stream output to stdout (markdown rendering will be disabled)\n\nUPDATE:\n   -up, -update                 update aix to latest version\n   -duc, -disable-update-check  disable automatic aix update check\n\nOUTPUT:\n   -o, -output string  file to write output to\n   -j, -jsonl          write output in json(line) format\n   -v, -verbose        verbose mode\n   -silent             display silent output\n   -nc, -no-color      disable colors in cli output\n   -version            display project version\n   -nm, -no-markdown   skip rendering markdown response\n```\n\n## Examples\n\nYou can use aix to interact with LLM (OpenAI) APIs to query anything and everything in your CLI by specifying the prompts. Here are some examples:\n\n### Example 1: Query LLM with a prompt\n\n```bash\naix -p \"What is the capital of France?\"\n```\n\n### Example 2: Query with GPT-4.0 model\n```bash\naix -p \"How to install Linux?\" -g4\n```\n\n### Example 3: Query LLM API with a prompt with STDIN input\n\n```console\necho list top trending web technologies | aix\n\n   ___   _____  __\n  / _ | /  _/ |/_/\n / __ |_/ /_\u003e  \u003c \n/_/ |_/___/_/|_|  Powered by OpenAI\n\n   projectdiscovery.io\t\t  \n\n[INF] Current aix version v0.0.1 (latest)\n1. Artificial Intelligence (AI) and Machine Learning (ML)\n2. Internet of Things (IoT)\n3. Progressive Web Apps (PWA)\n4. Voice search and virtual assistants\n5. Mobile-first design and development\n6. Blockchain and distributed ledger technology\n7. Augmented Reality (AR) and Virtual Reality (VR)\n8. Chatbots and conversational interfaces\n9. Serverless architecture and cloud computing\n10. Cybersecurity and data protection\n11. Mobile wallets and payment gateways\n12. Responsive web design and development\n13. Social media integration and sharing options\n14. Accelerated Mobile Pages (AMP)\n15. Content Management Systems (CMS) and static site generators\n\nNote: These technologies are constantly changing and evolving, so this list is subject to change over time.\n```\n\n### Example 4: Query LLM API with a prompt and save the output to a file in JSONLine format.\n```console\naix -p \"What is the capital of France?\" -jsonl -o output.txt | jq .\n\n   ___   _____  __\n  / _ | /  _/ |/_/\n / __ |_/ /_\u003e  \u003c \n/_/ |_/___/_/|_|  Powered by OpenAI\n\n   projectdiscovery.io\t\t  \n\n[INF] Current aix version v0.0.1 (latest)\n{\n  \"timestamp\": \"2023-03-26 17:55:42.707436 +0530 IST m=+1.512222751\",\n  \"prompt\": \"What is the capital of France?\",\n  \"completion\": \"Paris.\",\n  \"model\": \"gpt-3.5-turbo\"\n}\n```\n\n### Example 5: Query LLM API in verbose mode\n```console\naix -p \"What is the capital of France?\" -v\n\n   ___   _____  __\n  / _ | /  _/ |/_/\n / __ |_/ /_\u003e  \u003c \n/_/ |_/___/_/|_|  Powered by OpenAI\n\n   projectdiscovery.io\t\t  \n\n[INF] Current aix version v0.0.1 (latest)\n[VER] [prompt] What is the capital of France?\n[VER] [completion] The capital of France is Paris.\n```\n\nFor more information on the usage of aix, please refer to the help menu with the `aix -h` flag.\n\n## Acknowledgements\n\n- [OpenAI](https://platform.openai.com/docs/introduction) for publishing LLM APIs.\n- [sashabaranov](https://github.com/sashabaranov) for building and maintaining [go-openai](https://github.com/sashabaranov/go-openai) library.\n\n--------\n\n\u003cdiv align=\"center\"\u003e\n\n**aix** is made with ❤️ by the [projectdiscovery](https://projectdiscovery.io) team and distributed under [MIT License](LICENSE.md).\n\n\n\u003ca href=\"https://discord.gg/projectdiscovery\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/projectdiscovery/nuclei-burp-plugin/main/static/join-discord.png\" width=\"300\" alt=\"Join Discord\"\u003e\u003c/a\u003e\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleosolar8%2Faix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleosolar8%2Faix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleosolar8%2Faix/lists"}