AI CLI
by tryAGI
AI CLI is a console utility that brings AI capabilities to your terminal. It's powered by agents and MCP, enabling you to perform various tasks using AI.
Last updated: N/A
What is AI CLI?
AI CLI is a command-line interface that allows users to leverage AI for tasks such as text summarization, release note generation, changelog creation, code documentation generation, and performing actions using MCP servers directly from their terminal.
How to use AI CLI?
To use AI CLI, first install it globally using dotnet tool install --global tryagi.ai --prerelease
. Then, set your OpenAI API key as an environment variable: set OPENAI_API_KEY = <your_api_key>
. You can then use the ai
command with various flags to specify tools, directories, providers, models, and input. For example, ai --tools filesystem git --directories "/Users/havendv/GitHub/tryAGI/" --provider openrouter --model free-fast --input "Please create new repo with name
Doin
/Users/havendv/GitHub/tryAGI/ dir and git init it."
Key features of AI CLI
Text summarization
Release note generation
Changelog generation
Code documentation generation
MCP server actions
Filesystem and Git integration
GitHub issue auto-labeling
Use cases of AI CLI
Automating documentation tasks
Generating release notes and changelogs
Summarizing large text files
Automating GitHub issue labeling
Scripting AI-powered actions in the terminal
FAQ from AI CLI
Where can I report bugs?
Where can I report bugs?
Report bugs at https://github.com/tryAGI/AI/issues
Where can I suggest ideas and ask general questions?
Where can I suggest ideas and ask general questions?
Use the discussions forum at https://github.com/tryAGI/AI/discussions
Where can I get real-time support?
Where can I get real-time support?
Join the Discord server at https://discord.gg/Ca2xhfBf3v
What API keys are needed?
What API keys are needed?
You'll need an OpenAI API key and potentially a GitHub token for certain features.
How do I install AI CLI?
How do I install AI CLI?
Use the command dotnet tool install --global tryagi.ai --prerelease