clai
Open-source terminal agent that reads repos, edits files and runs commands via many models.
Tested on Linux
Use it
Linux x86_64
You need first
- Runtimes:
Node.js 22 or later
install clai via npm install -g @pentoshi/clai
npm install -g @pentoshi/clai
Check that it works
cd /tmp/testrepo && timeout 60 clai --quiet "explain this repository and identify its entrypoint" 2>&1The output should contain “index.js is the entrypoint”.
First thing to try
clai scope new --targets 127.0.0.1 --exclude 127.0.0.2 --name "test" 2>&1; echo "scopenew2 done"; clai scope show 2>&1; cat ~/.clai/scope.json 2>&1
clai scope add --targets example.com 2>&1; clai scope show 2>&1Run clai --mode agent --quiet "<your request>" in your project folder to start.
What it does
- Edit files and review diffsTested
How to use it
- Open a terminal in your project folder.
- Run
clai --mode agent --quiet "<your request>"to create files and show the diff.
- Run commands and testsNot tested
- Perform authorized security testingNot shown working
How far pickfit got
Linux x86_64
- Installs
- Starts
- 1 of 3 features work
- Works offline
macOS and Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- explain repository and identify its entrypoint
- add health endpoint and run tests
- review diff for bugs
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 1 Nov 2026
- Version 5.1.5