COBOL
IDENTIFICATION DIVISION.
PROGRAM-ID. BANK-TX.
PROCEDURE DIVISION.
    DISPLAY "PROCESSING...".
ASM
section .text
    global _start
_start:
    mov rax, 1
    mov rdi, 1
TS
export class Guard {
  private state: DomainState;
  validate() { ... }
}
v1.1.9 — Autonomous Agent
THE AI THAT
GUARDS
YOUR CODE
Autonomous. Conversational. Bank-Ready.

Uneven AI runs on your machine — no telemetry, no cloud lock-in. It watches your terminal, fixes errors in real time, audits security continuously and logs everything. Now with a conversational shell, GPU auto-detection and legacy COBOL and Assembly support.

npm install uneven-ai
Quick Start →
100%
Local
0
API Keys
⚡ GPU
Accelerated
WATCHES.
FIXES.
LOGS.

Uneven AI spawns alongside your dev process, reading stdout and stderr in real time. The moment an error appears, it diagnoses the cause, applies a surgical fix and writes a detailed entry to .uneven-ai/log.md — with file, line, column, diff and recommendation.

uneven-ai watch
$ uneven-ai watch --cmd "npm run dev"// Uneven AI v0.11 — local agent active// knowledge base indexed ✓  watching terminal output... ✗ error detected src/auth/service.ts:42:18 TypeError: Cannot read 'id' of undefined ⚙ diagnosing... user object may be null on invalid token ✓ fix applied return user?.id ?? null ✓ logged .uneven-ai/log.md _
WHAT UNEVEN AI
CAN DO

Every power works locally, in real time, configured via a single TypeScript object.

01
💬
CONVERSATIONAL SHELL

Run uneven-ai with no arguments to open a natural-language shell. Type in any language — Uneven understands your intent and routes it to the right command. No flags to memorise. Free tier.

free · any language
02
AUTO FIX

Parses stack traces with file, line and column precision. Supports TS/JS, Python, Rust, Go, Java, PHP, Ruby, COBOL and Assembly. Applies surgical, minimal diffs — never rewrites more than needed.

bank-ready · surgical diff
03
👁
TERMINAL WATCH

Spawns alongside any running process — npm, cargo, python, node, any command. Captures stdout and stderr in real time. Zero CPU overhead when idle.

real-time · zero overhead
04
🔐
PENTESTER MODE

Static and active security scanning with built-in Ethical Guardrails. Proactively blocks malware generation and exploit creation while enforcing strict authorization scopes for active testing.

ethical guardrails · owasp
05
🧠
LOCAL LLM

LLaMA 3.2 runs fully offline with GPU acceleration. On first run, Uneven detects your hardware and installs the optimised binary for NVIDIA CUDA or Apple Metal — no manual steps. Swap to any cloud brain via one config line.

gpu auto-install · offline
06
📚
DOCUMENT INTEL

Indexes PDF, Excel (.xlsx), Word (.docx) and CSV files into a semantic knowledge base alongside your source code. Query business logic and documentation in natural language.

pdf · xlsx · docx · csv
07
📋
FORENSIC AUDIT LOG

Every event is recorded with timestamps, file paths, and code diffs. Forensic activity history stored in structured Markdown — fully auditable and locally kept. Nothing ever leaves your machine.

markdown log · local only
08
🦠
MALWARE SCANNER

Detects reverse shells, obfuscation, crypto mining, compromised dependencies and supply chain attacks. Audits AI-generated code suggestions for maximum safety. CI-compatible exit codes.

uneven scan
09
📊
DATA ANALYST

Natural language → Insights. Connect to PostgreSQL, MySQL, SQLite or MongoDB. 3-Layer Security (Schema Filter, SQL Audit, Result Redaction) ensures sensitive data never reaches the AI or your screen.

3-layer security · nl → sql
10
⚙️
CI/CD PIPELINE

Headless pipeline: TypeScript typecheck → malware scan → test suite. Exit code 0 = pass, 1 = fail. Writes step summaries to GitHub Actions.

uneven ci · github actions
SWAP THE
BRAIN.
KEEP THE POWER.

Uneven runs a local LLM by default — zero cloud, zero API key. The brain is pluggable. Swap to any provider via a single config line without changing anything else.

Local LLM
Recommended

Runs LLaMA 3.2 fully on your machine. GPU auto-detected and optimised on first run — NVIDIA CUDA and Apple Metal supported. 100% offline, no API key, no subscriptions. Recommended for privacy.

provider: 'local'
Google Gemini
Best Cloud Choice

Gemini 2.0 Flash & Pro. The best cloud-value brain. Superior performance with minimal cost. Recommended as the primary cloud fallback.

provider: 'gemini'
Ollama
Local Install

Delegates inference to a local Ollama daemon. Supports any model in the Ollama library. Requires Ollama installed on your machine.

provider: 'ollama'
OpenAI
Cloud Brain

GPT-4o and O1 models. Industry standard intelligence. Connect your OpenAI account while keeping your project data local and safe.

provider: 'openai'
Anthropic Claude
Cloud Brain

Claude 3.5 Sonnet and Opus. Exceptional coding reasoning. Best for complex architectural tasks when cloud usage is preferred.

provider: 'claude'
All five providers share identical behavior — file watching, auto-fix, pentester mode and knowledge base run locally regardless of which brain is active. Only the LLM inference changes.
TypeScript
1import { UnevenConfig } from 'uneven-ai'
2
3const config: UnevenConfig = {
4
5  // brain engine
6  brain: {
7    provider: 'local',   // or 'openai' | 'claude' | 'gemini'
8    model: 'llama3.2',
9    temperature: 0.3,
10  },
11
12  // knowledge sources
13  knowledge: {
14    dirs: ['./src', './docs'],
15    files: ['./README.md'],
16    db: { url: process.env.DATABASE_URL },
17    urls: ['https://docs.example.com'],
18  },
19
20  // terminal watcher
21  watch: {
22    terminal: 'npm run dev',
23    autoFix: true,
24    confirmBeforeFix: false,
25  },
26
27  // security analysis
28  pentester: {
29    enabled: true,
30    mode: 'active',
31    target: 'http://localhost:3000',
32    static: { owasp: true, secrets: true, deps: true },
33    bruteforce: { enabled: true, detectRateLimit: true },
34  },
35
36  // log
37  log: {
38    path: './.uneven-ai/log.md',
39    includeDiff: true,
40  },
41
42}
43
44export default config
UP IN
3 STEPS
INSTALL

Install Uneven AI globally or as a dev dependency. The Rust core compiles automatically on first install via napi-rs.

npm install uneven-ai
INITIALIZE

Scaffolds uneven-ai.config.ts, creates .uneven-ai/ folder and downloads the default LLM model (~1.5GB, one time only).

npx uneven-ai init
START

Indexes your knowledge base, spawns alongside your dev process and starts watching. The full agent in one command.

npx uneven-ai start
// System requirements
Node.jsv18+
RAM4GB min · 8GB+
Disk~2GB (model)
OSLinux · macOS · Windows 11
SECURITY
NEVER
SLEEPS

Uneven's Master Series now features **Modular Security Domains**. By isolating business logic from infrastructure, we ensure that sensitive code never leaves your local machine. Every AI suggestion is audited against a defensive constitution to ensure malware and exploits never reach your source code.

⚠ Active mode should only be used on systems you own or have explicit authorization to test.

CRITICAL
Ethical Safety Guard
Proactively blocks the generation of malware, reverse shells, cracking scripts and credential-theft payloads.
CRITICAL
SQL Injection
Real payload injection against live endpoints, not just code analysis.
CRITICAL
Exposed Secrets
API keys, tokens and passwords hardcoded in source files.
HIGH
Brute Force Exposure
Detects missing rate limiting on authentication endpoints.
HIGH
XSS Reflected
Tests real payloads against routes for reflected cross-site scripting.
MEDIUM
Open Ports
Async port scanning detects unnecessarily exposed services.
MEDIUM
CORS Misconfiguration
Detects overly permissive cross-origin resource sharing policies.
LOW
Missing Security Headers
CSP, HSTS, X-Frame-Options and X-Content-Type-Options audit.
LOW
Vulnerable Dependencies
CVE lookup via npm audit and OSV database on every save.
CRITICAL
Supply Chain Attack
Detects curl | bash patterns in postinstall scripts and typosquatted package names.
HIGH
Reverse Shell / Obfuscation
Detects /dev/tcp, eval(atob()), large String.fromCharCode arrays and crypto mining references in source files.
FULL
CLI
INTERFACE
uneven-ai

Opens the conversational shell. Type in any language — Uneven understands your intent and routes it to the right command. Available on the free tier.

uneven-ai init

Scaffolds uneven-ai.config.ts, creates .uneven/ folder, downloads the default LLM model (~1.5GB, one time only) and auto-detects your GPU (NVIDIA CUDA, Apple Metal) to install the optimised binary.

uneven-ai index

Indexes all configured knowledge sources — local files, database tables and external URLs — into the local vector store.

uneven-ai start

Starts the full agent: terminal watcher, file watcher, knowledge base and pentester if configured. The primary entry point.

uneven-ai watch

Starts only the terminal watcher. Reads stdout/stderr of your dev process in real time. Pass --cmd to specify the process.

uneven-ai ask

Queries the knowledge base directly from the terminal. The agent searches your indexed project, DB and docs to answer. Unlimited queries on all plans.

uneven-ai explain <file>

Explains any file in plain language — purpose, key functions, dependencies and caveats. Free tier.

uneven-ai docs <file>

Generates Markdown documentation for a source file and writes it alongside it. Free tier.

uneven-ai askf <task>

AI writes or edits files to accomplish the described task, running in the background. Pro feature.

uneven-ai review

AI code review of the latest commit. Pass --commit <hash>, --from <ref> or --staged for custom scope. Pro feature.

uneven-ai pentest

Runs the security analysis engine manually. Performs static and/or active testing based on your pentester config.

uneven-ai scan

Scans for malware and compromised dependencies. Detects reverse shells, obfuscation, supply chain attacks and typosquatting. Exit code 1 on critical/high findings (CI-compatible).

uneven-ai analyze

AI data analyst interactive REPL. Natural language → SQL → execute → Excel/dashboard. Pass --db <url> for PostgreSQL, MySQL, SQLite or MongoDB. --package-exe exports as a portable .exe.

uneven-ai ci

Headless CI pipeline: TypeScript typecheck → malware scan → test suite. Exits 0 on pass, 1 on fail. Use --github to write step summaries to GitHub Actions.

uneven-ai remote-shell

Starts a local HTTP/HTTPS server so Discord bots, Slack bots and external scripts can send natural-language messages to Uneven and receive JSON responses. Configure port, bearer-token auth and HTTPS in uneven.config.ts.

uneven-ai log

Displays the current activity log in the terminal. Shows all errors, fixes and security findings.

uneven-ai reset

Clears the knowledge base and re-indexes everything from scratch. Use when the knowledge base is stale.

examples
# install globally$ npm install -g uneven-ai # or use via npx$ npx uneven-ai <command> ────────────────────────── $ uneven-ai// open conversational shell $ uneven-ai watch --cmd "npm run dev"// watch dev server $ uneven-ai ask "how does processPayment work?"// query codebase $ uneven-ai explain src/auth/jwt.ts// explain a file $ uneven-ai review --staged// review staged changes _
// Programmatic API
import { Uneven } from 'uneven-ai'

    const ai = new Uneven(config)

    await ai.init() // index +
      setup
    await ai.watch() // start
      agent
    await ai.pentest() // run
      security
    await ai.ask('...') // query KB
    await ai.stop() // cleanup

    // Events
    ai.on('error-detected', fn)
    ai.on('fix-applied', fn)
    ai.on('pentest-finding', fn)
    ai.on('indexed', fn)