In context of UNIX philosophy, something like llm(1) is probably a better option.
https://llm.datasette.io/en/stable/