AskOra - one CLI to talk to OpenAI, Ollama, and more (without losing your mind)

Posted by Severe-Wedding7305@reddit | Python | View on Reddit | 0 comments

What My Project Does:
AskOra is a Python CLI that lets you send prompts to multiple AI providers (OpenAI, Ollama, etc.) using the same syntax. It returns structured JSON responses including output, tokens used, and execution time. Works both sync and async.

Target Audience:
Developers who want a simple, unified CLI for experimenting with AI models. Good for scripts, testing, or tinkering with AI without installing a dozen different tools.

Comparison:
Unlike installing separate CLIs for each AI provider, AskOra lets you use one command for all. It also provides structured outputs and supports async calls, which most other CLIs don’t.

Quick Example:

askora --type openai --key YOUR_KEY --model gpt-4o-mini --prompt "Write me a haiku"

For Ollama (local model):

askora --type ollama --base-url http:/localhost:11434 --model codellama --prompt "Are you a good coder"

Links:

Try it out, break it, and give feedback!