v1.2.0 · one agentic mode what's new

Give it a goal.
It finishes the job.

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
  • MIT licensed
  • Linux · macOS · Windows
  • No Node.js required
jack — ~/project antigravity

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.

Agentic mode
1
Permission tiers
3
Provider types
2
Prebuilt binaries
5

/ install

One command. Then you have an agent.

Use the standalone binary and skip Node.js entirely, or install the package with npm. Both put the jack command on your PATH.

Recommended

Standalone binary

Linux, macOS and Windows. No runtime, no package manager, no build step.

Architecture
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

Agent first. Everything else follows.

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.

01

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.

02

Any provider

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.

03

Layered permissions

Read-only commands run automatically. Anything that changes your system asks first. Destructive patterns are blocked in code — even with --allow-write.

04

Skills on demand

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.

05

Token-thrifty

Command output is trimmed head and tail before it returns to the model. Identical commands reuse the previous result, and /compact summarises long sessions.

06

OAuth2 sign-in

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.

07

Modern TUI

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.

08

One file, everywhere

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

The loop, not a chat box.

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.

the loop ~/project

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.

  1. 01

    Understand

    JACK reads before it writes: ls, cat, grep, git diff. These read-only commands come from a built-in allowlist and run without asking.

  2. 02

    Act

    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.

  3. 03

    Verify

    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.

  4. 04

    Report

    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.

Three permission tiers

Classification happens on every command, per shell segment. The default is always the safest answer.

auto

Read-only

Runs without a prompt when every segment is on the allowlist and there is no redirection, substitution or destructive option.

  • ls -la
  • cat src/index.ts
  • git diff
  • grep -rn "TODO" src
ask

Everything else

Shows the command and waits for confirmation. Non-TTY sessions deny it automatically and tell the model to ask you to run it yourself.

  • npm test
  • git commit -m "…"
  • sed -i 's/a/b/' file.ts
  • mkdir build
block

Destructive

Blocked 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/sda1
  • dd 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

Start with a goal, not a menu.

Run jack for the interactive REPL, pass a task directly, or use the one-shot mode for scripts and CI.

Launch flags

CommandWhat 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.

Bring your own endpoint

Antigravity is the default. For everything else, give JACK an OpenAI-compatible base_url, an API key and the model list:

jack provider add
  • OpenAI
  • OpenRouter
  • Groq
  • Ollama
  • vLLM
  • LM Studio
  • Internal gateway

Test it with jack provider test. Keys are stored in plain text in a 0600 config file — treat that file like a password.

Teach it your workflow

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

Everything is one slash away.

Type / to see matching commands under the prompt. Use ↑↓ to select, Tab to complete, Enter to run.

CommandDescription
/modelPick a model for the active provider.
/providerList or switch providers. The menu also adds and tests OpenAI-compatible endpoints.
/skillList installed skills and load one into the current context.
/allowShow the allowlist. /allow add|rm <program> extends it.
/compactSummarise the session history to free up tokens.
/clearClear the screen and history without summarising.
/cd <path>Change the working directory inside the session.
/tokenShow Antigravity token quota information.
/helpShow the full help menu.
/exitLeave JACK. /quit works too.

Removed in 1.2.0: /mode, /ask, /plan, /exec, /chat and /quiz. JACK is always the agent now.

/ faq

Before you hand it the keys.

Do I need Node.js?

No. The standalone binaries are self-contained for Linux, macOS and Windows. Node.js 18+ is only needed if you install through npm.

Where does JACK store config and credentials?

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.

Can it run something dangerous on its own?

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.

Where does my code go?

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.

Does it work in CI or over SSH?

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.

How do I update or remove it?

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

Your terminal has a new teammate.

Free, open source, MIT licensed. Install once and give it a goal.