I built a CLI that lets me use AI directly from my terminal
dev.to·2d·
Discuss: DEV
🛡️CLI Security
Preview
Report Post

I’ve been building Xandai-CLI because I wanted AI help without leaving the terminal or wiring up cloud APIs.

The idea is simple: one CLI where I can run shell commands, edit files, and ask questions in the same place — using local models (Ollama / LM Studio).

Repo: https://github.com/XandAI-project/Xandai-CLI

What Xandai-CLI does

Xandai-CLI is an interactive terminal tool that mixes:

normal shell commands

natural language prompts

file creation and editing

optional multi-step “agent” behavior

You type at the xandai> prompt, and it figures out whether you meant a command, a question, or a task.

Examples:

xandai> git status xandai> explain what this repo does xandai> create a python script to parse this log file

Everything …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help