Agentic by default
One goal in. JACK plans the steps, inspects files, runs the commands and verifies the outcome — no mode switching, no copy-pasting context into a chat box.
v1.2.0 · one agentic mode what's new
JACK-Agent is an agentic AI CLI for developers. It reads your project, runs the commands it needs — with your permission — checks the output, and keeps going until the task is actually done.
curl -fsSL https://raw.githubusercontent.com/prastya-dev/jack-agent/main/scripts/install.sh | bash
AI CLI [ v1.2.0 ] · gemini-3.5-flash-extra-low · ~/project
Ketik /help untuk daftar perintah.
$ jack "fix the failing auth test"
· looking at the auth module
$ grep -rn "refreshToken" src/auth auto
$ npm test -- auth ask
✓ 12 tests passed
· done — token is refreshed once now (5 steps · 2 commands)
antigravity · 18.2k / 32k tokens · ~/project
Illustrative session. JACK runs real commands inside your working directory.
/ install
Use the standalone binary and skip Node.js entirely, or install the package with npm.
Both put the jack command on your PATH.
Linux, macOS and Windows. No runtime, no package manager, no build step.
curl -fsSL https://raw.githubusercontent.com/prastya-dev/jack-agent/main/scripts/install.sh | bash
Installs to /usr/local/bin (asks for sudo if needed), adds
a Run JACK Here file-manager action and an app launcher.
/ features
No chat mode, no exec mode, no quiz mode. Since 1.2.0 every input is a task, and JACK is built around finishing it safely inside your terminal.
One goal in. JACK plans the steps, inspects files, runs the commands and verifies the outcome — no mode switching, no copy-pasting context into a chat box.
Google Antigravity works out of the box. Add any OpenAI-compatible endpoint — OpenRouter, Groq, Ollama, vLLM, LM Studio, your internal gateway — plus an optional fallback.
Read-only commands run automatically. Anything that changes your system asks first. Destructive patterns are blocked in code — even with --allow-write.
Install a folder with a SKILL.md using jack skill add. Only the name and description stay in the prompt; the body loads when the skill is actually used.
Command output is trimmed head and tail before it returns to the model. Identical commands reuse the previous result, and /compact summarises long sessions.
Sign in to Antigravity through the browser with PKCE. Tokens refresh before they expire. API keys for OpenAI-compatible providers live in a 0600 config file.
Slash suggestions as you type, Tab completion, fixed 10-row pickers for long lists, and a status bar that always shows provider, model and working directory.
Standalone builds for Linux, macOS and Windows — x64 and arm64 where it matters. No Node.js. Linux and Windows also get Run JACK Here in the context menu.
/ how it works
Every turn is a small, visible step: inspect, propose, execute, read the result. You can watch the command before it runs and stop anything you do not want.
1 · understand
$ ls -la auto
$ cat package.json auto
2 · act — one command per turn
$ npm install ask
? run this command? [y/N] y
3 · verify
$ npm test ask
✓ 34 tests passed
4 · report
· installed the missing dependency and verified
the suite. 3 steps, 2 commands run.
JACK reads before it writes: ls, cat, grep, git diff. These read-only commands come from a built-in allowlist and run without asking.
It proposes exactly one command per turn. Anything outside the allowlist waits for your yes. In a non-interactive session the answer is always no — JACK never guesses.
It reads stdout, stderr and the exit code. Failed twice? It changes approach or stops and asks. The default budget is 12 steps — no infinite loops, no surprise build farms.
You get a two-to-three sentence summary, the files that changed and the commands that ran. Nothing is hidden, and nothing was approved silently.
Classification happens on every command, per shell segment. The default is always the safest answer.
Runs without a prompt when every segment is on the allowlist and there is no redirection, substitution or destructive option.
ls -lacat src/index.tsgit diffgrep -rn "TODO" srcShows the command and waits for confirmation. Non-TTY sessions deny it automatically and tell the model to ask you to run it yourself.
npm testgit commit -m "…"sed -i 's/a/b/' file.tsmkdir buildBlocked in code, regardless of the answer in the session. The allowlist cannot contain these patterns and --allow-write does not bypass them.
rm -rf /mkfs.ext4 /dev/sda1dd if=/dev/zero of=/dev/sda:(){ :|:& };:
One explicit exception: jack -p "…" --allow-write auto-approves
write commands only on the one-shot path. It is ignored in the interactive REPL, is never stored in config,
and still cannot run a destructive pattern.
/ usage
Run jack for the interactive REPL, pass a task directly, or use the
one-shot mode for scripts and CI.
| Command | What it does |
|---|---|
jack |
Start the agentic REPL in the current directory. |
jack "<goal>" |
Open the REPL and send the task immediately. |
jack -p "<goal>" |
One-shot: run the task, print the answer, exit. Made for scripts, cron and CI. |
jack -p "<goal>" --allow-write |
One-shot with write commands auto-approved. Destructive patterns stay blocked. |
jack --provider <name>jack --model <name> |
Override provider or model for this session only. |
jack model |
Pick the active model from a list — same as /model, before you start. |
jack provider list|use|add|test|rm |
Manage providers, including OpenAI-compatible endpoints. |
jack skill list|add|rm |
Install skills from a git URL or a local folder. |
jack login / jack logout |
Re-authenticate or clear Antigravity credentials. |
jack update |
Check GitHub Releases and update to the latest version. |
jack uninstall [--purge] |
Remove JACK. --purge also removes config, credentials and skills. |
jack --setup |
Add OS integrations: app launcher entry on Linux, “Run JACK Here” context menu on Windows. |
jack --version / jack --help |
Print the version or the full usage text and exit. |
Without arguments in a pipe, cron job or CI, JACK reads stdin as the task and prints plain text. Confirmations are denied in non-TTY sessions — by design.
Antigravity is the default. For everything else, give JACK an OpenAI-compatible
base_url, an API key and the model list:
jack provider add
Test it with jack provider test. Keys are stored in plain text in a 0600 config file — treat that file like a password.
A skill is one folder with a SKILL.md file:
---
name: deploy-vps
description: How we deploy this service to the VPS.
---
1. Run the test suite.
2. Build and push the image.
3. Deploy with systemd, then smoke-test.
jack skill add ./skills/deploy-vps
Only the name and description enter every prompt. Load the body with /skill deploy-vps or let the model call it when relevant.
/ commands
Type / to see matching commands under the prompt. Use
↑↓ to select, Tab to complete, Enter to run.
| Command | Description |
|---|---|
/model | Pick a model for the active provider. |
/provider | List or switch providers. The menu also adds and tests OpenAI-compatible endpoints. |
/skill | List installed skills and load one into the current context. |
/allow | Show the allowlist. /allow add|rm <program> extends it. |
/compact | Summarise the session history to free up tokens. |
/clear | Clear the screen and history without summarising. |
/cd <path> | Change the working directory inside the session. |
/token | Show Antigravity token quota information. |
/help | Show the full help menu. |
/exit | Leave JACK. /quit works too. |
Removed in 1.2.0: /mode, /ask,
/plan, /exec, /chat
and /quiz. JACK is always the agent now.
/ faq
No. The standalone binaries are self-contained for Linux, macOS and Windows. Node.js 18+ is only needed if you install through npm.
In ~/.config/jack/config.json on Linux and macOS, and %APPDATA%\jack\config.json on Windows. On POSIX systems the file is created with mode 0600. An old jckw config folder is migrated automatically on first run.
Not silently. Read-only commands from the allowlist run automatically; everything else needs a yes. Destructive patterns such as rm -rf /, mkfs, dd if= and fork bombs are blocked in code. In non-interactive sessions, confirmations are denied rather than assumed.
Commands run locally in your working directory. The prompts and command output JACK sends back to the model go to the provider you selected. Output is trimmed before it leaves the machine, but a remote provider still receives context — choose a local OpenAI-compatible endpoint if that matters.
Yes. Use jack -p "<goal>" for a non-interactive one-shot, or pipe a task with no arguments. There is no TUI in non-TTY mode, confirmations are denied, and destructive patterns stay blocked. Add --allow-write only when that one-shot task genuinely needs to write.
Run jack update to check GitHub Releases and replace the binary. Run jack uninstall to remove JACK and the context-menu entry, or jack uninstall --purge to also delete config, credentials and installed skills.
/ get started
Free, open source, MIT licensed. Install once and give it a goal.