explaingit

thekaroe-thailand/kobcli

13TypeScriptAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

A command-line tool for interacting with the KOB AI platform from your terminal, with a full-screen interactive interface for asking questions, planning, and generating code, plus one-shot CLI commands and multi-provider model support.

Mindmap

mindmap
  root((kobcli))
    What it does
      Chat with KOB AI
      TUI and CLI modes
      Code generation and run
    TUI Modes
      Ask mode
      Plan mode
      Code mode
    Providers
      DeepSeek
      OpenRouter
      DeepInfra
    Use Cases
      Terminal AI chat
      Code generation
      Account management
    Setup
      npm install
      KOB AI account needed
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Ask the KOB AI platform quick questions from your terminal without opening a browser or GUI.

USE CASE 2

Use Plan mode to get a step-by-step approach before writing code, then switch to Code mode to generate and run it.

USE CASE 3

Stream AI responses token by token as they generate, or fire one-shot questions from shell scripts.

USE CASE 4

Check your API credit balance and list available AI models from multiple providers without leaving the terminal.

Tech stack

TypeScriptBunnpm

Getting it running

Difficulty · easy Time to first run · 5min

Requires a KOB AI account and API key, runs on the Bun runtime.

Non-commercial open source, personal and educational use is free, but commercial use requires written permission from the owner.

In plain English

KOB AI CLI is a command-line tool built by a Thailand-based developer that lets you interact with the KOB AI platform directly from a terminal. It is written in TypeScript and runs on the Bun runtime. You need a KOB AI account and API key to use it, and you can install it globally via npm or run it from the source code. The default experience when you type kob with no arguments is a full-screen interactive terminal interface with three modes: Ask for quick questions, Plan for getting a step-by-step approach before writing code, and Code for generating code and optionally running shell commands automatically. You can switch between these modes with the Tab key or by pressing 1, 2, or 3. For users who prefer single commands, the tool also works as a traditional CLI. You can send a one-shot question, start an interactive back-and-forth chat session, stream a response token by token as it generates, or ask the tool to write code in a specific programming language. Each of these commands accepts options for choosing a provider and model, with support for DeepSeek, OpenRouter, and DeepInfra as backends. Models from OpenAI, Anthropic, Google, Meta, and Qwen are accessible through those providers. There are utility commands as well: check your account credentials and credit balance, list available models filtered by provider, and view available skills. The terminal output uses colors and formatting for readability. The project is structured around a clear separation between the TUI interface and the individual commands, with a shared API client and configuration layer underneath. Adding new commands follows a documented pattern. The license is non-commercial open source, meaning personal and educational use is permitted but commercial use requires written permission from the owner.

Copy-paste prompts

Prompt 1
Show me how to install KOB AI CLI globally with npm and configure my API key so I can start using the `kob` command.
Prompt 2
How do I switch between Ask, Plan, and Code modes in the KOB AI CLI terminal interface, and what is each mode best for?
Prompt 3
Use KOB AI CLI's Code mode to generate a Python script that reads a CSV and plots it with matplotlib, then auto-run the shell commands.
Prompt 4
How do I use KOB AI CLI with OpenRouter as the backend to access an Anthropic model? Show me the --provider and --model flags.
Prompt 5
I want to add a new command to KOB AI CLI following the documented pattern. Show me how to create a 'summarize' command that takes a file path.
Open on GitHub → Explain another repo

← thekaroe-thailand on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.