Skip to content

stromseng/ais

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIS

Two AI CLI tools: ais (AI Suggest) and aip (AI Prompt).

Warning

This is for my own personal use and learning, currently limited to calling the GitHub Copilot API as I have a free education pack.

ais - AI Suggest

Describe what you want in plain English, get a shell command back. Execute it, copy it, or bail.

$ ais find all png files larger than 1mb
find . -name "*.png" -size +1M
Finds PNG files recursively that exceed 1MB in size

> Execute
  Copy
  Cancel

aip - AI Prompt

Simple AI text generation. Pass a prompt, get a response.

$ aip explain what a monad is in one sentence
$ echo "some text" | aip summarize this

Tech Stack

Built with Effect, Bun, and the Vercel AI SDK.

Copilot

See https://docs.github.com/en/copilot/concepts/billing/copilot-requests for model list and pricing

TODO

  • Add Config service stored in users .config dir.
  • Add aic for chatting?
  • Check out using opencode via agent 2 agent protocol to get structured output or answers

About

A simple helpful AI CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published