Kernax
Pricing → For Teams → CLI → Security → Docs → Blog →
Request Beta Access →
KERNAX CLI & AUTOMATION

Autonomous AST Agents.

Native in Your Terminal & CI.

Zero config. Instant startup.

Run one-off refactorings, automated code audits, or orchestrate background CI/CD workflows directly from your shell.

curl -fsSL https://kernax.com/install | bash
Requires a Closed Beta account (kernax auth login).
kernax-cli v1.0.1 · ~/workspace/payment-service (main)
AST Active
❯ kernax -p "Audit auth middleware and write Vitest unit tests"
✓ Tree-sitter AST Graph: Resolved 18 symbols across 3 TypeScript files
✓ Hard-Lock Guard: 0 destructive commands detected (safe execution)
✓ AST Context Cache: Scoped payload pruned (-68% tokens)
● Generating Vitest test cases in src/auth.test.ts...
✓ Test suite verified: 14/14 tests passing with zero regressions

Frontier Foundation Models

Orchestrate verified frontier models directly from your terminal with guaranteed non-training endpoints.

kernax-cli · model selector
→ /model
→ /model Kernax Auto (Default · Fast) ✓
/model Claude Sonnet 4.6
/model Claude Opus 4.6
/model GPT-5.2 Codex
/model DeepSeek R1
/model Gemini 3.8 Flash

Zero-Friction SSH, Remote & CI/CD Sync

Run headless on remote Linux servers, AWS EC2, or Hetzner VPS instances sharing the exact same .kernax/rules and MCP configurations.

● ssh dev@hetzner-node-01:~/app
$ kernax ci review --strict
✓ Rules loaded from .kernax/rules
✓ MCP connections: postgres, github
✓ Headless AST diff: 0 regressions detected
Synchronized with Kernax IDE workspace

Automate Repetitive Workflows

Trigger automated code reviews, update documentation, or execute multi-file migrations in headless mode.

kernax-labs / automations
Pipelines Workspaces Actions
✓ Nightly documentation sync $ kernax -p --model "claude-sonnet-4.6" "sync-docs"
✓ Automated security reviews $ kernax review --notify="#security-alerts"
✓ CI/CD failure auto-diagnosis $ kernax ci --auto-fix --strict

Learn more

Frequently Asked Questions

What is Kernax CLI and how does it work? −
Kernax CLI brings the full power of autonomous AI coding agents directly to your terminal. It parses your whole codebase via local Tree-sitter AST, performs surgical line-level edits, and executes shell commands under strict Hard-Lock safety guardrails.
How is Kernax CLI different from Cursor or Claude Code? +
Kernax CLI is engineered around local Tree-sitter AST graph indexing rather than raw file dumping. It features stateless ephemeral routing with enforced data_collection: deny policies, native Model Context Protocol (MCP) server integration, and identical configuration sharing with the desktop Kernax IDE.
How does Headless CLI mode work in CI/CD pipelines? +
You can execute kernax -p "Review PR and fix lints" --dry-run non-interactively in your GitHub Actions or automated deployment pipelines without manual input prompts.
How are permissions and command safety handled? +
For potentially destructive operations, Kernax CLI requests interactive confirmation. In addition, our kernel-level Hard-Lock guard automatically blocks catastrophic commands (such as rm -rf /, unparameterized database drops, or forced git branch resets) before execution.
Can I summarize long terminal sessions or save tokens? +
Yes! You can type /summarize at any point during your CLI session. Kernax's adaptive context compaction engine compresses conversation history into an architectural continuity summary, preserving key decisions while reducing token consumption by up to 70%.

Try Kernax CLI.

Run autonomous coding agents directly in your shell or continuous integration pipelines.

curl -fsSL https://kernax.com/install | bash
Requires a Closed Beta account (kernax auth login).