{"id":20284419,"url":"https://github.com/artyom/llmcli","last_synced_at":"2026-05-12T09:36:15.172Z","repository":{"id":245971239,"uuid":"818987011","full_name":"artyom/llmcli","owner":"artyom","description":"A command-line interface tool for interacting with Large Language Models through AWS Bedrock","archived":false,"fork":false,"pushed_at":"2025-09-29T20:42:29.000Z","size":161,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T10:04:02.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/artyom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-06-23T12:59:43.000Z","updated_at":"2025-09-29T20:42:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ef73a98b-f776-4b0c-964f-a2fc8a9dedb8","html_url":"https://github.com/artyom/llmcli","commit_stats":null,"previous_names":["artyom/llmcli"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/artyom/llmcli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fllmcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fllmcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fllmcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fllmcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/artyom","download_url":"https://codeload.github.com/artyom/llmcli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/artyom%2Fllmcli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32932859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T09:19:52.626Z","status":"ssl_error","status_checked_at":"2026-05-12T09:17:33.438Z","response_time":102,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":"2024-11-14T14:19:40.628Z","updated_at":"2026-05-12T09:36:15.138Z","avatar_url":"https://github.com/artyom.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# llmcli\n\nllmcli is a command-line interface tool for interacting with Large Language Models (LLMs) through AWS Bedrock. It allows users to send prompts and receive responses from AI models directly from the terminal.\n\n## Usage\n\nBasic usage:\n\n```\nllmcli \"Your prompt here\"\n```\n\nFor more detailed information on available options, run:\n\n```\nllmcli -h\n```\n\n## Requirements\n\n- AWS account with Bedrock access and at least one [model that supports ConverseStream (or Converse) API and system prompt](https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html) enabled.\n  Configure which model to use with `LLMCLI_MODEL` environment variable (example: `us.amazon.nova-micro-v1:0`).\n- Properly configured AWS credentials.\n  This tool tries to use AWS profile named “llmcli”, and falls back to default AWS credentials if profile is not found.\n\n## Examples\n\nPassing input via stdin:\n\n```\ngit diff | llmcli \"Write a commit message for this change\"\n```\n\nAttaching files (`-f` can be used multiple times to attach more than one file):\n\n```\nllmcli -f document.mkd \"Please give me a summary of this document\"\n```\n\nAnalyzing images:\n\n```\nllmcli -f image.jpg \"Describe what you see in this image. Your response would be used verbatim as an 'alt' element text for this image.\"\n```\n\n## Advanced features\n\nThis tool allows preprocessing of attachments using external tools, enabling basic customization of attachment handling.\nThe main use case for this is to integrate it with tools that fetch remote resources.\n\nFor example, if you have a tool named `url-to-text`, that takes page url as an argument and outputs plain text from this page on its stdout, you can then call it like so:\n\n```\nurl-to-text https://en.wikipedia.org/wiki/Linux | llmcli \"When did the first version of Linux come out?\"\n```\n\nIf you find yourself doing that kind of calls often, you can configure a callback command instead:\n\nCreate a file in the [config directory](https://pkg.go.dev/os#UserConfigDir) at `llmcli/att-handlers.json` path with the following content:\n\n```json\n[\n    {\"prefix\":\"https://\", \"cmd\":[\"url-to-text\", \"${ARG}\"]}\n]\n```\n\nThis file configures llmcli to invoke `url-to-text` program to handle “attachments” that start with `https://` prefix, passing that url as the first positional argument to the program (the `${ARG}` placeholder value).\n\nThen you can pass the url as if it was an attachment to `-f` flag:\n\n```\nllmcli -f https://en.wikipedia.org/wiki/Linux \"When did the first version of Linux come out?\"\n```\n\nThis call would be equivalent to an earlier example, but llmcli would take care of calling `url-to-text` program itself.\n\n\n## Contributing\n\nWhile I appreciate interest in this project, please note that I'm not actively seeking outside contributions at this time.\nThis tool was developed for a specific use case, and I aim to keep its scope focused.\nYou're welcome to fork the repository for your own needs.\nThank you for understanding.\n\n## License\n\nISC License, see LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fllmcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fartyom%2Fllmcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fartyom%2Fllmcli/lists"}