Kembali ke Beranda
CLI v1.0.8
CORE: RUST ~80k LOC
DECISION: JEV 1.14
RUNTIME: BUN
AUTONOMOUS CODING AGENTv1.0.8 RELEASEMIT LICENSE

NGODEAI CLI

Autonomous Agentic Coding CLI with System One Decision Intelligence, ultra-fast Rust Core (~80,000 LOC), and complete tool sovereignty in your terminal.

▪Zero Prompt Bloat: Decisions resolved in ms via dedicated decision models.
▪Differential TUI: SGR mouse, zero flicker, hairline brand frames.
▪AST Hashline Edits: Cryptographically pinned tags prevent line drift.
▪60+ Models: Gemini 3.8 Flash, Claude 3.7, DeepSeek R1, Ollama.
TERMINAL // INSTALL
bash / zsh / pwsh
bun add -g @ngodeai/coding-agent

Requires Bun runtime (>= 1.1). Installs the sovereign binary globally as ngodeai.

Latest: v1.0.8
Launch:ngodeai
NgodeAI CLI v1.0.8LIVE SYNCED DARI GITHUB & NPMRilis: 29 Oktober 2026

Autonomous Agentic Coding CLI with System One Decision Intelligence...

NATIVE CORE
~80,000
Lines of Native Rust Code in crates/
SYSTEM ONE
< 15ms
Decision Resolution on mercury-decide
MODEL REACH
60+
Providers: Gemini, Claude, OpenAI, DeepSeek
DECISION COST
Rp 0 / $0.00
Free Tier Decision Gating Matrix
[SYS:02] // PRESENTATION LAYER

Live Differential Terminal UI (TUI)

SGR MOUSE · BRAND BOX FRAMES · ZERO FLICKER
terminal_tui_preview.jpeg
100% SCALE
NgodeAI CLI Differential TUI in Action
TUI HIGHLIGHTS

Workspace Sovereignty in the Terminal

NgodeAI CLI renders directly into your terminal screen using an optimized differential buffer. Every interaction preserves scrollback history without ANSI artifacts or rendering tears.

▪───▪Brand Box AestheticsActive

Hairline frame styling with precise corner ticks keeps output structured and readable during dense code inspections.

▪───▪Persistent Status SidebarReal-Time

Right-hand HUD displays active tasks, context tokens, git branch diff status, model provider, and decision confidence.

▪───▪Subagent Swarm HUDMulti-Worker

Dispatches background workers (scout, reviewer) that report back asynchronously without polluting main conversational context.

[SYS:03] // SYSTEM ARCHITECTURE

Six Decoupled Architectural Layers

MODULAR · NATIVE · RESILIENT
LAYER 01Differential TUI

Terminal & Presentation Layer

UI & Interaction

Provides frictionless developer interaction with true zero-flicker rendering, ANSI/SGR mouse handling, strict brand-box aesthetics (`▪───▪`), and persistent live status telemetry.

›CLI / Headless / CI Streaming Mode
›Differential TUI Engine with scrollback preservation
›Live Sidebar: Tasks, Context, Git Diff, Model, Decisions
›Keyboard shortcuts, mouse scrolling, and interactive prompts
LAYER 02Multi-Turn Loop

Agent Orchestration Core

ReAct & State Machine

Autonomous reasoning engine that executes multi-step plans without compounding hallucinated context. Manages execution barriers, subagent swarms, and turn recovery.

›Autonomous Multi-Turn ReAct Loop
›Hierarchical Phase & State Machine Todo Tracker
›SQLite Ledger for session history & recaps
›Context engineering with automatic prune barriers
LAYER 03mercury-decide / jev-1.14

Jev Engineering Decision Brain

System One Intelligence

Converts application states into typed decisions in milliseconds. Eliminates prompt bloat by routing micro-choices away from expensive generative LLMs into calibrated decision models.

›Decision Router & Chain (mercury-decide / jev-1.14)
›Calibrated Probability Distributions [████████░░░░] 0.71
›Mathematical Threshold Matrix (read >= 0.70, write >= 0.85)
›Post-Hoc Conflict Detection & Ground-Truth SQLite Ledger
LAYER 0410 Hardened Tools

Tool System & Execution Engine

Sovereign Workstation Tools

Production-grade execution primitives designed for direct terminal power: surgical hashline patches, persistent PTY streaming, and isolated parallel subagents.

›Tagged hashline surgical edits with AST integrity verification
›Persistent Bash & PTY with job streaming and watchdogs
›Subagent Swarms (scout for research, reviewer for QA)
›Native LSP & DAP client (hover, references, breakpoints)
LAYER 05~80,000 LOC Native

Native Rust Acceleration Core

crates/ Engine

Native performance layer compiled in Rust. Bypasses Node/V8 overhead for compute-intensive tasks like SIMD line matching, regex grep, AST parsing, and token counting.

›ngode-natives: SIMD fast search, ripgrep regex engine, git tree
›ngode-ast: Tree-sitter syntax validation & structure extraction
›ngode-vfs: Sandboxed and virtual filesystem abstractions
›ngode-predict: Native tokenizer & speculative inference
LAYER 0660+ AI Providers

LLM & Model Gateway

System Two Synthesis

High-throughput model gateway connecting the agent directly to best-in-class generative models with unified streaming, thinking effort controls, and zero markup.

›NgodeAI Model Gateway with transparent token pricing
›Google Gemini 3.8 Flash & 2.5 Pro
›Anthropic Claude 3.7 Sonnet (Thinking High / Medium / Low)
›OpenAI GPT-4o, o3-mini, o1 · DeepSeek V3 / R1 · Local Ollama
[SYS:04] // DECISION INTELLIGENCE

Jev Engineering: The 100x Decision Paradigm

SYSTEM ONE (DECIDE) VS SYSTEM TWO (SYNTHESIZE)
THE ARCHITECTURAL SHIFT

Stop Asking Generative LLMs to Make Micro-Decisions

Traditional agentic workflows force an expensive, slow generative LLM to answer every micro-question ("Should I open this file?", "Is this hit relevant?", "Should I ask the user for confirmation?") inside conversational prompt context. This causes severe prompt bloat, high token costs, and compounding reasoning drift.

01 //Separation of Decisions from Synthesis

System One models (mercury-decide, jev-1.14) output calibrated numerical distributions in milliseconds. System Two (Gemini, Claude) is reserved solely for complex code generation.

02 //Programmatic State Mapping

Workspace state (goals, rules, candidate files) is serialized into typed JSON inputs. Jev evaluates all options concurrently in a single call and returns calibrated probability distribution bars.

03 //Calibrated Mathematical Gating Matrix

Rigorous probability thresholds according to action risk: read >= 0.70, write >= 0.85, and irreversible actions require human confirmation.

04 //Post-Hoc Conflict Detection

Predictions are continually verified against actual outcomes. If code execution disagrees with an approved action, a divergence conflict is recorded in the SQLite ledger (/decisions conflicts).

05 //Drastic Efficiency Gains

High-frequency checks run with zero token cost (Rp 0 / $0.00000 Free Tier) on mercury-decide, preserving 100% of your LLM context window for code.

madewithjev.com // ARCHITECTURE PAPERRead Paper
Jev Engineering Architecture Paper
INTERACTIVE JEV GATE SIMULATORLIVE TELEMETRY
Jev Model Score:0.88
0.00Threshold: 0.701.00
Gate Evaluation:AUTO-APPROVED
[SYS:05] // CAPABILITIES

Hardened Engineering Features

SEVEN SOVEREIGN CAPABILITIES
01 // PERFORMANCE

Native Rust Performance

SIMD line search, ripgrep regex engine, git tree inspection, and directory traversal running natively in Rust via @ngodeai/natives.

02 // PROVIDERS

60+ AI Model Providers

Built-in zero-latency support for Google Gemini (3.8 Flash / 2.5), Anthropic Claude, OpenAI, DeepSeek, Groq, Cerebras, OpenRouter, and local Ollama/vLLM endpoints.

03 // CODE EDITING

Tagged Hashline Surgical Edits

Edits are pinned with cryptographic tags and verified with AST syntax checks — eliminating line drift, duplicate code insertions, and corrupted git diffs.

04 // SWARMS

Parallel Subagent Swarms

Spawn specialized independent workers (scout for read-only exploration, reviewer for code audits, task for execution) that report back without context bloat.

05 // TERMINAL UI

Differential Terminal UI

Custom rendering with clean scrollback preservation, SGR mouse interaction, zero redraw flicker, and distinct ▪───▪ box frames.

06 // CODE INTELLIGENCE

Built-In LSP & DAP Protocols

Native code intelligence across TypeScript, Python, Rust, Go, C++, and Java — resolving symbol definitions, references, hover types, and debugging breakpoints.

[SYS:06] // COMMAND REFERENCE

Practical Usage Examples

CLI COMMANDS & INTERACTIVE MODES

Launch the full interactive differential terminal interface inside any project directory.

INPUT INVOCATION
ngodeai
TERMINAL TELEMETRY OUTPUTDIFF_STREAM_OK
▪─────────────────────────────────────────────────────────────────────────────▪
│  NgodeAI CLI v1.0.8  │  Model: gemini-3.8-flash  │  Decisions: mercury-decide  │
▪─────────────────────────────────────────────────────────────────────────────▪
> Working directory: /workspace/project (branch: main)
> Jev Decision Brain: ONLINE (Thresholds: R>=0.70, W>=0.85)

[01/03] Discovery Phase
  [x] Scouted 14 source files across src/modules/
  [x] AST index generated in 4.2ms (Rust SIMD)
[02/03] Implementation Phase
  -> Editing src/modules/auth.ts (tag #A1F4) [approved: 0.94]
[SYS:07] // TOOL SOVEREIGNTY

Built-in Hardened Tool Suite

TEN SOVEREIGN WORKSPACE TOOLS
ToolEngine / BackendDecision Gating MatrixCapability & Scope
$readRust SIMD + Native VFSConfidence >= 0.70Range-aware reader for source code, images, PDF documents, archives, and SQLite tables.
$editTree-sitter AST + RustConfidence >= 0.85Surgical hashline patcher with cryptographic snapshot tags and collision detection.
$writeRust Native VFSConfidence >= 0.85Atomic file writer and new module generator with zero destructive overwrites.
$bashPersistent PTY DaemonConfidence >= 0.85Persistent shell execution with PTY support, job streaming, and background process control.
$grepRipgrep Regex Engine Auto-ApprovedUltra-fast regex search backed by the native Rust ripgrep engine with multiline parsing.
$globRust Directory Walk Auto-ApprovedGitignore-aware, high-speed file tree exploration with depth controls.
$taskReAct Swarm CoordinatorConfidence >= 0.85Spawns parallel worker subagents (scout, reviewer, task) for deep multi-file execution.
$evalBun / Python SubprocessConfidence >= 0.85Sandboxed Python and JavaScript (Bun) REPL for scratchpad calculations and scripts.
$todoIn-Memory State Machine Auto-ApprovedDeterministic phased task tracker for complex multi-step execution state machines.
$askDifferential TUI PromptHuman Gated (1.00)Interactive human-in-the-loop clarification dialog with gated decision recording.
[SYS:08] // CONFIGURATION & ENVIRONMENT

Local-First State & Environment

DIRECTORY: ~/.ngodeai/
LOCAL WORKSPACE DIRECTORY~/.ngodeai/
~/.ngodeai/agent/config.yml

Global CLI configuration, default model selection, reasoning budget, and tool permissions.

~/.ngodeai/cache/decisions.db

High-speed SQLite database storing every Jev decision score, confidence bar, and post-hoc conflict record.

~/.ngodeai/agent/history.db

Session histories, turn checkpoints, compressed recaps, and token telemetry logs.

~/.ngodeai/logs/

Daily rotating audit logs, stream buffers, and background daemon telemetry.

ENVIRONMENT VARIABLES.env / EXPORT
VariableScope / Provider
NGODEAI_API_KEYPrimary API key for NgodeAI Gateway & free Jev decision models.
GEMINI_API_KEY / GOOGLE_API_KEYDirect API key for Google Gemini 3.8 Flash & 2.5 Pro.
ANTHROPIC_API_KEYDirect API key for Anthropic Claude 3.7 & 3.5 Sonnet.
OPENAI_API_KEYDirect API key for OpenAI GPT-4o, o3-mini, and o1.
DEEPSEEK_API_KEYDirect API key for DeepSeek V3 and DeepSeek R1.
NGODEAI_CONFIG_DIRCustom directory path (defaults to ~/.ngodeai).
NGODEAI_PROFILENamed configuration profile to activate per project.
[SYS:09] // REPOSITORY STRUCTURE

Monorepo Crates & Packages

TYPESCRIPT RUNTIME + NATIVE RUST CRATES
NgodeAI-CLI/
├── packages/
│   ├── coding-agent/     # Core CLI entrypoint, commands, and runtime orchestration
│   ├── ai/               # Multi-provider LLM client, streaming, and native decision wires
│   ├── catalog/          # Model registry, provider descriptors, and KDL compat rules
│   └── agent/            # Autonomous agent state machine and execution loop
├── crates/
│   ├── ngode-natives/    # Rust crate for SIMD search, ripgrep, and git inspection
│   ├── ngode-builtins/   # Embedded shell tools and cross-platform POSIX utilities
│   ├── ngode-ast/        # Tree-sitter AST queries and code structure extractors
│   ├── ngode-vfs/        # Virtual and sandboxed filesystem abstraction
│   └── ngode-predict/    # Speculative local inference and fast tokenization
└── assets/               # Brand visual assets, icons, and architecture diagrams
OPEN-SOURCE LICENSE & ATTRIBUTIONMIT LICENSE

NgodeAI CLI is open-source software licensed under the MIT License. NgodeAI is derived from and builds upon the foundational architecture of Oh My Pi (OMP), originally created by Stencil Labs, Inc. and Mario Zechner under the MIT License.

Copyright (c) 2026 NgodeAI (https://ngodeai.net)
Copyright (c) 2024-2026 Stencil Labs, Inc. (https://stencil.so)
Copyright (c) 2024-2026 Mario Zechner
Built with ♥ by NgodeAI for developers.